Пример #1
0
 public Affinity()
 {
     CurrentForm = this;
     InitializeComponent();
     Form1.CurrentForm.metroLabel85.Text = "Loading...";
     LoadingState(true);
     SetFormColor();
     metroButton2.DialogResult = DialogResult.Cancel;
     metroButton1.DialogResult = DialogResult.OK;
     Task.Delay(1000).ContinueWith(delegate
     {
         SetProcessor_Info();
     });
     SetTree(WMI_Processor_Information.GetCpuNumberOfLogicalProcessors());
 }
Пример #2
0
 public Affinity()
 {
     CurrentForm    = this;
     Prompt.AppPath = AppPath;
     InitializeComponent();
     Form1.CurrentForm.metroLabel85.Text = "Loading...";
     LoadingState(true);
     SetFormColor();
     metroButton2.DialogResult = DialogResult.Cancel;
     metroButton1.DialogResult = DialogResult.OK;
     Task.Delay(1000).ContinueWith(delegate
     {
         SetProcessor_Info();
     });
 }