示例#1
0
        private void renameSessionToolStripMenuItem_Click(object sender, EventArgs e)
        {
            dlgRename form = new dlgRename(m_Session);

            if (form.ShowDialog() == DialogResult.OK)
            {
                this.TabText = form.textBox1.Text;
            }
        }
示例#2
0
 private void renameSessionToolStripMenuItem_Click(object sender, EventArgs e)
 {
     dlgRename form = new dlgRename(m_Session);
     if (form.ShowDialog() == DialogResult.OK)
     {
         this.TabText = form.textBox1.Text;
     }
 }