예제 #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.GoodBLL.BLLGood_TKeys GoodKey = new HPS.BLL.GoodBLL.BLLGood_TKeys();
            GoodKey.GoodID_int = (Int32?)this.GoodGridView.CurrentRow.Cells["colGoodID_int"].Value;
            GoodEntityForm Good = new GoodEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.GoodGridView.DataSource, GoodKey);

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

            Good.ShowDialog();
        }