Exemplo n.º 1
0
        private void EditButton_Click(object sender, EventArgs e)
        {
            HPS.BLL.CountryBLL.BLLCountry_TKeys CountryKey = new HPS.BLL.CountryBLL.BLLCountry_TKeys();
            CountryKey.CountryID_int = (Int32?)this.CountryGridView.CurrentRow.Cells["colCountryID_int"].Value;
            CountryEntityForm Country = new CountryEntityForm(BaseEntityForm1.enmState.Edit, (DataTable)this.CountryGridView.DataSource, CountryKey);

            Country.ShowDialog();
        }
Exemplo n.º 2
0
        private void NewButton_Click(object sender, EventArgs e)
        {
            CountryEntityForm Country = new CountryEntityForm((DataTable)this.CountryGridView.DataSource);

            Country.ShowDialog();
        }