Esempio n. 1
0
        private void btnThemLop_Click(object sender, EventArgs e)
        {
            var fThem = new fLop(null);

            fThem.UpdateEventHandler += fLop_UpdateEventHandler;
            fThem.ShowDialog();
        }
Esempio n. 2
0
        private void btnSuaLop_Click(object sender, EventArgs e)
        {
            Lop lop = lopBindingSource.Current as Lop;

            if (lop != null)
            {
                var fSua = new fLop(lop);
                fSua.UpdateEventHandler += fLop_UpdateEventHandler;
                fSua.ShowDialog();
            }
        }