Esempio n. 1
0
        private void tsmenuTimPhongTrong_Click(object sender, EventArgs e)
        {
            TimPhongTrongForm timPhongTrongForm = new TimPhongTrongForm("TiepTanForm");

            timPhongTrongForm.StartPosition = FormStartPosition.CenterScreen;

            timPhongTrongForm.Show();
        }
Esempio n. 2
0
        private void btnTimPhongTrongDeSuaPhongDat_Click(object sender, EventArgs e)
        {
            TimPhongTrongForm timPhongTrongForm = new TimPhongTrongForm("SuaVaXoaPhongDaDatForm");

            timPhongTrongForm.GetCurrentRowFromDataGridView = new Action <string, string, string, string>(PassData);

            timPhongTrongForm.StartPosition = FormStartPosition.CenterScreen;

            timPhongTrongForm.Show();
        }