Beispiel #1
0
        private void button_Them_Click(object sender, EventArgs e)
        {
            QLSP q = new QLSP("");

            q.show += new QLSP.ShowDTGV_QLSP(ShowDTGV);
            q.ShowDialog();
        }
Beispiel #2
0
        private void button_Sua_Click(object sender, EventArgs e)
        {
            DataGridViewSelectedRowCollection r = DGV_QLSP.SelectedRows;

            if (r.Count == 1)
            {
                QLSP f = new QLSP(r[0].Cells["MaSP"].Value.ToString());
                f.show += new QLSP.ShowDTGV_QLSP(ShowDTGV);
                f.ShowDialog();
            }
            else
            {
                MessageBox.Show("Vui lòng click vào 1 Row");
            }
        }