コード例 #1
0
 public static void KMSActivate()
 {
     if (mainW.windows_option.IsChecked == true)
     {
         Thread win = new Thread(() =>
         {
             ActWin.WinActivate();
             CheckActivateState();
         });
         win.Start();
     }
     else if (mainW.office_option.IsChecked == true)
     {
         Thread office = new Thread(() =>
         {
             ActOffice.OfficeActivate();
         });
         office.Start();
     }
 }
コード例 #2
0
 private void Office_option_Checked(object sender, RoutedEventArgs e)
 {
     ActOffice.OfficeEnv();
 }