Esempio n. 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();
 }
Esempio n. 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();
        }