Пример #1
0
 private void SaveManagerFormButton_Click(object sender, EventArgs e)
 {
     string query = "insert into ManagerTable (ManagerName, ManagerPosition) values (\'" + inputFullNameManager.Text + "\', \'" + inputPositionManager.Text + "\')";
     Database.executeQuery(query);
     ManagerTableForm managerTableForm = new ManagerTableForm();
     managerTableForm.Show();
     this.Close();
 }
Пример #2
0
        private void SaveManagerFormButton_Click(object sender, EventArgs e)
        {
            string query = "insert into ManagerTable (ManagerName, ManagerPosition) values (\'" + inputFullNameManager.Text + "\', \'" + inputPositionManager.Text + "\')";

            Database.executeQuery(query);
            ManagerTableForm managerTableForm = new ManagerTableForm();

            managerTableForm.Show();
            this.Close();
        }