예제 #1
0
 private static void Callback()
 {
     if (tmpGrind != null && tmpGrind.Run())
     {
         Main.MainForm.Invoke(new MethodInvoker(delegate
         {
             Main.MainForm.lGrindLoadProfile.Text = "Profile: Loaded";
             _Engine = tmpGrind;
             IsWaitingForGeneration = false;
         }));
     }
 }
예제 #2
0
 private static void Callback()
 {
     if (tmpGrind != null && tmpGrind.Run())
     {
         GuiCore.MainForm.Invoke(new MethodInvoker(delegate
         {
             string tmpProfileNameString = "none";
             if (Path.GetFileNameWithoutExtension(Settings.Settings.LastProfileFileName) != string.Empty)
             {
                 tmpProfileNameString = Path.GetFileNameWithoutExtension(Settings.Settings.LastProfileFileName);
             }
             GuiCore.MainForm.lGrindLoadProfile.Text = $"Profile: { Path.GetFileNameWithoutExtension(Settings.Settings.LastProfileFileName) } loaded";
             _Engine = tmpGrind;
         }));
     }
 }