Example #1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.ProvinceBLL.BLLProvince_TKeys ProvinceKey = new HPS.BLL.ProvinceBLL.BLLProvince_TKeys();
            ProvinceKey.Province_int = (Int32?)this.ProvinceGridView.CurrentRow.Cells["colProvince_int"].Value;
            ProvinceEntityForm Province = new ProvinceEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.ProvinceGridView.DataSource, ProvinceKey);

            Province.ShowDialog();
        }
Example #2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            ProvinceEntityForm Province = new ProvinceEntityForm((DataTable)this.ProvinceGridView.DataSource);

            Province.ShowDialog();
        }