private void btn_new_fiscal_year_Click(object sender, EventArgs e) { FiscalYearAdd fya = new FiscalYearAdd(); fya.ShowDialog(); this.Close(); }
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) { id = Convert.ToInt32(dataGridView1.CurrentRow.Cells["col_id"].Value.ToString()); FiscalYearAdd fya = new FiscalYearAdd(); // fya.id = id; fya.Show(); }