private void button1_Click(object sender, EventArgs e) { Presentational.Form1 F1 = new Presentational.Form1(); F1.ShowDialog(); refreshData(); }
private void button2_Click(object sender, EventArgs e) { int?id = getId(); if (id != null) { Presentational.Form1 F1 = new Presentational.Form1(id); F1.ShowDialog(); refreshData(); } }