private void InsertConstant(object sender, EventArgs e) { frmConstant Constant = new frmConstant(); if (DialogResult.OK == Constant.ShowDialog()) { rtbClassGenerator.SelectedText = Constant.Constants; } Constant.Close(); }
private void ConstantMenu_Click(object sender, EventArgs e) { frmConstant f = new frmConstant(); f.ShowDialog(); if (f.IsSave == "Y") { // SetTextColor(); LoadData(); } }