57 lines
1.0 KiB
C#
57 lines
1.0 KiB
C#
using Microsoft.Win32;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Net;
|
|
using System.Text;
|
|
using System.Text.Json;
|
|
using System.Threading.Tasks;
|
|
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
using System.Windows.Media;
|
|
|
|
namespace Valheim_Mod_Sync_Desktop
|
|
{
|
|
|
|
public partial class Ladescreen : Window
|
|
{
|
|
|
|
public Ladescreen()
|
|
{
|
|
|
|
InitializeComponent();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void SetProgress(int progress)
|
|
{
|
|
// Aktualisiere die Fortschrittsanzeige
|
|
ProgressBar.Value = progress;
|
|
}
|
|
|
|
public void SetProgressName(string progressName)
|
|
{
|
|
// Aktualisiere die Fortschrittsanzeige
|
|
ProgressName.Text = progressName;
|
|
}
|
|
|
|
|
|
//Header Move
|
|
private void header_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
|
|
{
|
|
this.DragMove();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|