private void btnSave_Click(object sender, EventArgs e) { MetaqueryGenerator.BL.DatabaseManagement dbManagement = new BL.DatabaseManagement(); decimal confidence, support; int maxArity; decimal.TryParse(numericConfidence.Text, out confidence); decimal.TryParse(numericSupport.Text, out support); int.TryParse(numericMaxArity.Text, out maxArity); if (dbManagement.Create(txtDbName.Text, txtConnectionString.Text, support, confidence, maxArity)) { if (MQGenerator.IsAutoRunJobs) { MQGenerator.StartDBProcess(); } ShowMessage("DB Initialized successfuly"); txtDbName.Text = ""; } }
private void btnStartDBProcess_Click(object sender, EventArgs e) { MQGenerator.StartDBProcess(); ShowMessage("Start DB Process Job run successfuly"); }