Example #1
0
        private void btnDuan_Click(object sender, EventArgs e)
        {
            Quanlyduan frmda = new Quanlyduan();

            frmda.Show();
            this.Hide();
        }
Example #2
0
        private void hopdongToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Quanlyduan frmda = new Quanlyduan();

            frmda.TopLevel = false;
            pnlMain.Controls.Add(frmda);
            frmda.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            frmda.Dock            = DockStyle.Fill;
            frmda.Show();
        }