コード例 #1
0
 private void Setup_Click(object sender, EventArgs e)
 {
     if (!MUI.Running)
     {
         try
         {
             MUI.SimulatorID = 2;
             MUI.CurrentSim  = UltSim;
             int CombLevel = Convert.ToInt32(CombinationLevel.Text);
             if (CombLevel > 0 && CombLevel < 91)
             {
                 MUI.SimSetupButton(CombLevel, MUI.CurrentSim);
             }
         }
         catch
         {
             UltLogBox.AppendText("Error parsing combination level" + Environment.NewLine);
         }
     }
     else
     {
         UltLogBox.AppendText("Cannot change Simulator while running" + Environment.NewLine);
     }
 }
コード例 #2
0
 public void LogInformation(string Text)
 {
     UltLogBox.AppendText(Text + Environment.NewLine);
 }