private void btnAddJob_Click(object sender, EventArgs e) { Screens.monewjob open = new Screens.monewjob("new"); open.ShowDialog(); Backend.Save(); startComponents(); }
protected void Grid_MouseDoubleClick(object sender, DataGridViewCellEventArgs e) { String ID = (sender as DataGridView).Rows[e.RowIndex].Cells[0].Value.ToString(); Screens.monewjob open = new Screens.monewjob("Update", null, Int32.Parse(ID)); open.ShowDialog(); startComponents(); }