private void open_StackForm(bool edit = false) { int id = staskBindingSource.Position; var form = new StackForm(id, edit); form.ShowDialog(); this.staskTableAdapter.Fill(this.autoScladDataSet.stask); staskBindingSource.Position = id; }
private void button4_Click(object sender, EventArgs e) { var form = new StackForm(); form.ShowDialog(); }