Exemple #1
0
        private void kháchHàngToolStripMenuItem_Click(object sender, EventArgs e)
        {
            foreach (Form form in MainPanel.Controls)
            {
                form.WindowState = FormWindowState.Minimized;
            }
            KhachHang f = new KhachHang();

            f.Show();
            f.Left     = 0;
            f.Top      = 0;
            f.TopLevel = false;
            MainPanel.Controls.Add(f);
        }
Exemple #2
0
        private void mntsKhachHang_Click(object sender, EventArgs e)
        {
            KhachHang kh = new KhachHang();

            kh.Show();
        }