示例#1
0
 internal static void CreateAndShowDialog(GrblCore core)
 {
     using (SaveOptionForm f = new SaveOptionForm())
     {
         if (f.ShowDialog() == DialogResult.OK)
         {
             core.SaveProgram(f.CBHeader.Checked, f.CBFooter.Checked, f.CBBetween.Checked, (int)f.UDCount.Value);
         }
     }
 }
示例#2
0
 private void MnAdvancedSave_Click(object sender, EventArgs e)
 {
     SaveOptionForm.CreateAndShowDialog(Core);
 }