예제 #1
0
 public definingForm(string DisplayLabelText, Conf.Definition DefinitionType, Criticals Criticals = null, Definition OriginalDefinition = null)
 {
     this.DisplayLabelText = DisplayLabelText;
     this.Criticals = Criticals;
     this.IsEditing = (OriginalDefinition != null);
     this.OriginalDefinition = OriginalDefinition;
     this.DefinitionType = DefinitionType;
     InitializeComponent();
 }
예제 #2
0
 //Display the options dialog to certain conf options
 private void optionsToolStripMenuItem_Click(object sender, EventArgs e)
 {
     optionsForm Form = new optionsForm(Conf);
     Form.ShowDialog();
     Conf = Form.Conf;
     Utilities.RunOnStartup(!Conf.RunOnStartup);
     Properties.Settings.Default.Save();
 }
예제 #3
0
 private Definition showDefiningForm(string displayText, Conf.Definition Definition, Criticals Criticals = null, Definition Original = null)
 {
     definingForm Form = new definingForm(displayText, Definition, Criticals, Original);
     Form.ShowDialog();
     if (Form.IsFinished)
         return Form.ReturnDefinition;
     else
         return null;
 }