예제 #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.BillBLL.BLLBill_TKeys BillKey = new HPS.BLL.BillBLL.BLLBill_TKeys();
            BillKey.BillID_int = (Int32)this.BillGridView.CurrentRow.Cells["colBillID_int"].Value;
            BillEntityForm Bill = new BillEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.BillGridView.DataSource, BillKey);

            Bill.ShowDialog();
        }
예제 #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            BillEntityForm Bill = new BillEntityForm((DataTable)this.BillGridView.DataSource);

            Bill.ShowDialog();
        }