Beispiel #1
0
 public compilerForm(Source DefaultSource, Criticals Criticals = null)
 {
     InitializeComponent();
     this.DefaultSource = DefaultSource;
     this.ReferencedAssemblies = DefaultSource.ReferencedAssemblies;
     this.Criticals = Criticals;
 }
Beispiel #2
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();
 }
 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;
 }