private void mni_EditDoc_Click(object sender, System.EventArgs e) { frm_EditDocument frm_editdocument = new frm_EditDocument(); frm_editdocument.EditType = "EDIT"; frm_editdocument.ShowDialog(); }
private void mni_CreateDoc_Click(object sender, System.EventArgs e) { frm_EditDocument frm_newdocument = new frm_EditDocument(); frm_newdocument.EditType = "INS"; frm_newdocument.ShowDialog(); }