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

            fThem.UpdateEventHandler += fLop_UpdateEventHandler;
            fThem.ShowDialog();
        }
Exemplo 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();
            }
        }