public MainWindow() { InitializeComponent(); hangulClockIcon.Source = UIKit.GetLogoImage(); hangulClockCurrentVersion.Content = $"현재 설치된 버전 : {VersionKit.HANGULCLOCK_VERSION}"; // checkUpdate(); }
private async void Window_Loaded(object sender, RoutedEventArgs e) { WindowTitlebar.AttachTitlebar(this, mainContent, CloseButton_MouseDown, MinimizeButton_MouseDown); this.MouseDown += MainWindow_MouseDown; logo.Source = UIKit.GetLogoImage(); dashboardTab.loadInitData(); clockSettingTab.loadInitData(); wallpaperSettingTab.loadInitData(); commentSettingTab.loadInitData(); await Task.Delay(1000); background.Source = BackgroundWallpaper.GetRandomDefaultImage(); pageController.ShowPage(dashboardTab); }