public KeywordAddForm(List <Keyword> parentKeywords, BaseKeywordAddForm parent) : base(parent)
 {
     InitializeComponent();
     InitialYValue   = 185;
     FormType        = FormType.Keyword;
     _parentKeywords = parentKeywords;
     UpdateOutputFileSuggestions(OutputFile, FormType);
     ActiveControl = KeywordNameLabel;
 }
 public SettingsAddForm(BaseKeywordAddForm parent) : base(parent)
 {
     if (RobotAutomationHelper.Log)
     {
         Console.WriteLine(@"SettingsAddForm Constructor");
     }
     InitializeComponent();
     InitialYValue = 120;
     FormType      = FormType.Settings;
     SetupsSettingsAddForm();
 }
Beispiel #3
0
 public RobotAutomationHelper(BaseKeywordAddForm parent) : base(parent)
 {
     InitializeComponent();
     ActiveControl = TestCaseNameLabel;
     InitialYValue = 90;
     settingsToolStripMenuItem.Visible   = false;
     librariesToolStripMenuItem.Visible  = false;
     variablesToolStripMenuItem.Visible  = false;
     runOptionsToolStripMenuItem.Visible = false;
     OutputLabel.Visible = false;
     OutputFile.Visible  = false;
 }
Beispiel #4
0
 public TestCaseAddForm(BaseKeywordAddForm parent) : base(parent)
 {
     if (RobotAutomationHelper.Log)
     {
         Console.WriteLine(@"TestCaseAddForm [Constructor]");
     }
     InitializeComponent();
     InitialYValue = 140;
     FormType      = FormType.Test;
     UpdateOutputFileSuggestions(OutputFile, FormType);
     ActiveControl = TestCaseNameLabel;
 }
 public NameAndOutputForm(FormType type, BaseKeywordAddForm parent, Keyword keyword) : base(parent)
 {
     InitializeComponent();
     NameAndOutputToTestCaseFormCommunication.Save = false;
     UpdateOutputFileSuggestions(OutputFile, type);
     _parentType = type;
     UpdateSaveButtonState();
     FormType         = FormType.NameAndOutput;
     ThisFormKeywords = new List <Keyword>
     {
         new Keyword("", "", keyword)
     };
 }
 public ParamAddForm(BaseKeywordAddForm parent) : base(parent)
 {
     InitializeComponent();
     FormType = FormType.Params;
 }
 public BaseKeywordAddForm(BaseKeywordAddForm parentForm)
 {
     _formParent = parentForm;
 }