Exemple #1
0
        private void btnAdd_Click(object sender, EventArgs e)
        {
            GUI_CTDX ctdx = new GUI_CTDX(TK, ctl.createPDX(TK.MATK), "Add");

            this.Hide();
            ctdx.ShowDialog();
            this.Close();
        }
Exemple #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            PHIEUDEXUAT PDX  = db.PHIEUDEXUATs.Find(lstDX.SelectedRows[0].Cells[0].Value);
            GUI_CTDX    ctdx = new GUI_CTDX(TK, PDX, "Edit");

            this.Hide();
            ctdx.ShowDialog();
            this.Close();
        }