private void тОToolStripMenuItem_Click(object sender, EventArgs e) { frmAdmin frm = new frmAdmin(); dsTableAdapters.ServiceTableAdapter ta = new dsTableAdapters.ServiceTableAdapter(); ta.Fill(ds.Service); frm.dgvAdmin.DataSource = ds.Service; frm.dgvAdmin.Update(); frm.ShowDialog(); ta.Update(ds.Service); }
private void работникиВакансииToolStripMenuItem_Click(object sender, EventArgs e) { frmAdmin frm = new frmAdmin(); dsTableAdapters.V_WTableAdapter ta = new dsTableAdapters.V_WTableAdapter(); ta.Fill(ds._V_W); frm.dgvAdmin.DataSource = ds._V_W; frm.dgvAdmin.Update(); frm.ShowDialog(); ta.Update(ds._V_W); }
private void автобусыМаршрутыToolStripMenuItem_Click(object sender, EventArgs e) { frmAdmin frm = new frmAdmin(); dsTableAdapters.B_TTableAdapter ta = new dsTableAdapters.B_TTableAdapter(); ta.Fill(ds._B_T); frm.dgvAdmin.DataSource = ds._B_T; frm.dgvAdmin.Update(); frm.ShowDialog(); ta.Update(ds._B_T); }
private void должностиToolStripMenuItem_Click(object sender, EventArgs e) { frmAdmin frm = new frmAdmin(); dsTableAdapters.VacationTableAdapter ta = new dsTableAdapters.VacationTableAdapter(); ta.Fill(ds.Vacation); frm.dgvAdmin.DataSource = ds.Vacation; frm.dgvAdmin.Update(); frm.ShowDialog(); ta.Update(ds.Vacation); }
private void toolbtnReport_Click(object sender, EventArgs e) { frmAdmin frm = new frmAdmin(); frm.ShowDialog(); }