示例#1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.BoxingBLL.BLLBoxing_TKeys BoxingKey = new HPS.BLL.BoxingBLL.BLLBoxing_TKeys();
            BoxingKey.BoxingID_int = (Int32?)this.BoxingGridView.CurrentRow.Cells["colBoxingID_int"].Value;
            BoxingEntityForm Boxing = new BoxingEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.BoxingGridView.DataSource, BoxingKey);

            Boxing.ShowDialog();
        }
示例#2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            BoxingEntityForm Boxing = new BoxingEntityForm((DataTable)this.BoxingGridView.DataSource);

            Boxing.ShowDialog();
        }