private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "")
     {
         MySqlOperations.Insert_Update_Delete(MySqlQueries.Insert_Materialy, null, textBox1.Text, comboBox1.Text, numericUpDown1.Value.ToString().Replace(',', '.'));
         Load_Table();
         Clear();
     }
     else
         MessageBox.Show("Проверьте, все ли поля заполнены.", "Прежупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning);
 }
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "" && textBox3.Text != "" && textBox4.Text != "")
     {
         MySqlOperations.Insert_Update_Delete(MySqlQueries.Insert_Sotrudniki, null, textBox1.Text, textBox3.Text, textBox4.Text, comboBox1.Text, maskedTextBox1.Text);
         Load_Table();
         Clear();
     }
     else
     {
         MessageBox.Show("Проверьте, все ли поля заполнены.", "Прежупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "")
     {
         MySqlOperations.Insert_Update_Delete(MySqlQueries.Insert_Izdeliya, null, textBox1.Text);
         Load_Table();
         textBox1.Text = "";
     }
     else
     {
         MessageBox.Show("Проверьте, все ли поля заполнены.", "Прежупреждение", MessageBoxButtons.OK, MessageBoxIcon.Warning);
     }
 }