Exemplo n.º 1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            if (File.Exists(@"./SaveDefaultPath.txt"))
            {
                initLoded = true;
                initSuccess = true;

                
                defaultPath = File.ReadAllText(@"./SaveDefaultPath.txt");
                //run();
                Refresh(defaultPath);
            }
            else
            {
                SettingView settingView = new SettingView(this);
                settingView.ShowDialog();  
            }               
          
        }
Exemplo n.º 2
0
 private void settingBtn_Click(object sender, RoutedEventArgs e)
 {
     SettingView settingView = new SettingView(this);
     this.Opacity = 0.3;
     settingView.ShowDialog();
 }