Example #1
0
 /// <inheritdoc />
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public FrmGenerator(Settings settings, ServerEnvironment environment)
     : this()
 {
     this.settings    = settings ?? throw new ArgumentNullException(nameof(settings));
     this.environment = environment ?? throw new ArgumentNullException(nameof(environment));
     serverComm       = null;
     frmGenCommand    = null;
 }
Example #2
0
        private void btnGenerateCmd_Click(object sender, EventArgs e)
        {
            // show the command form
            if (frmGenCommand == null)
            {
                frmGenCommand = new FrmGenCommand(serverComm, environment.ErrLog);
            }

            frmGenCommand.ShowDialog();
        }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the class.
 /// </summary>
 public FrmGenerator(Settings settings, ServerEnvironment environment)
     : this()
 {
     this.settings    = settings ?? throw new ArgumentNullException("settings");
     this.environment = environment ?? throw new ArgumentNullException("environment");
     serverComm       = null;
     frmGenData       = null;
     frmGenEvent      = null;
     frmGenCommand    = null;
 }