예제 #1
0
        protected override void tambahBtn_Click(object sender, EventArgs e)
        {
            var frm = new FrmOutlet();

            frm.Listener = this;
            frm.ShowDialog();
        }
예제 #2
0
        protected override void EditBtn_Click(object sender, EventArgs e)
        {
            Outlet outlet = (Outlet)outletBindingSource.Current;

            if (outlet == null)
            {
                return;
            }

            var frm = new FrmOutlet(outlet);

            frm.Listener = this;
            frm.ShowDialog();
        }