private void mainAddVersBtn_Click(object sender, EventArgs e) { newUpdatePage = new NewUpdatePage(this); DataGridView dgv = newUpdatePage.getVersionGrid(); dgv.DataSource = Database.GetVersionList(); dgv.Columns[2].Visible = false; dgv.Columns[0].Visible = false; newUpdatePage.Show(); this.Hide(); }
private void mainMenuBtn2_Click(object sender, EventArgs e) { this.Hide(); newUpdatePage.Show(); }
private void mainAddVersBtn_Click(object sender, EventArgs e) { newUpdatePage = new NewUpdatePage(this); DataGridView dgv = newUpdatePage.getVersionGrid(); dgv.DataSource = Database.GetVersionList(); dgv.Columns[2].Visible = false; dgv.Columns[0].Visible = false; newUpdatePage.Show(); this.Hide(); }