Example #1
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;
 }
Example #2
0
        private void btnGenerateData_Click(object sender, EventArgs e)
        {
            // show the data generator form
            if (frmGenData == null)
            {
                frmGenData = new FrmGenData(serverComm, environment.ErrLog);
            }

            frmGenData.ShowDialog();
        }