private void SaveManagerFormButton_Click(object sender, EventArgs e) { string query = "insert into ManagerTable (ManagerName, ManagerPosition) values (\'" + inputFullNameManager.Text + "\', \'" + inputPositionManager.Text + "\')"; Database.executeQuery(query); ManagerFormTable managerTableForm = new ManagerFormTable(); managerTableForm.Show(); this.Close(); }
private void LookAtManagersbutton_Click(object sender, EventArgs e) { ManagerFormTable managerFormTable = new ManagerFormTable(); managerFormTable.ShowDialog(); }