private void btnNotepad_Click(object sender, EventArgs e) // 按鈕:Notepad { splitContainer3.Panel1.Controls.Clear(); Form12_Notepad fn = new Form12_Notepad(); fn.TopLevel = false; splitContainer3.Panel1.Controls.Add(fn); fn.Show(); //MessageBox.Show("施工中"); }
// ==================================================檔案 private void 新增ToolStripMenuItem_Click(object sender, EventArgs e) { Form12_Notepad fn = new Form12_Notepad(); fn.Show(); }
// ==================================================ToolStrip 按鈕 private void 新增NToolStripButton_Click(object sender, EventArgs e) { Form12_Notepad fn = new Form12_Notepad(); fn.Show(); }