private void tsbtnAddNewWord_Click(object sender, EventArgs e) { frmWord frm = new frmWord(); frm.MdiParent = this; frm.Show(); frm.wordControlDocumentNew21.CreatNewDocument2(); }
private void button9_Click(object sender, EventArgs e) { frmWord frm = new frmWord(); frm.Show(); frm.wordControlDocumentNew21.CreatNewDocument2(); //if (frm.ShowDialog() == DialogResult.OK) //{ //} //frm.Dispose(); }