private void DuplicateSB_Click(object sender, EventArgs e) { Sheduler.ShedulerData form = new Sheduler.ShedulerData("copy", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value)); form.ShowDialog(); manager.Save(); manager.CloseContext(); manager = new ContextManager(); Fill(); }
private void EditSB_Click(object sender, EventArgs e) { Sheduler.ShedulerData form = new Sheduler.ShedulerData("edit", Convert.ToInt32(DataGV.SelectedRows[0].Cells["ID"].Value)); form.ShowDialog(); manager.Save(); manager.CloseContext(); manager = new ContextManager(); Fill(); }
private void NewSB_Click(object sender, EventArgs e) { Sheduler.ShedulerData form = new Sheduler.ShedulerData("new", null); form.ShowDialog(); Fill(); }