Example #1
0
        private void yesbut_Click(object sender, EventArgs e)
        {
            int id = Convert.ToInt32(textBox2.Text);

            try
            {
                DeleterStyle(connection, id, "`rezume`", "`User` =", "`soiskateli`", "`id_users` =");
                string sql = "DELETE FROM `soiskateli` WHERE `soiskateli`.`id_users` = " + id.ToString();
                connection.Close();
                OpenServer();
                MySqlCommand command2 = new MySqlCommand(sql, connection);
                command2.ExecuteReader();
                MessageBox.Show("Собеседование назначено!", "Отлично!", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1);
            }
            catch
            {
                MessageBox.Show("ОШИБКА!", "ПЛОХО!", MessageBoxButtons.OK, MessageBoxIcon.Error, MessageBoxDefaultButton.Button1);
            }
            RefresherOrb();
            Add.Show();
            Refresh.Show();
            Take.Show();
            Otmena.Hide();
            textBox2.Hide();
            yesbut.Hide();
            label.Hide();
        }
Example #2
0
 public GodFormActivated()
 {
     InitializeComponent();
     Strtr();
     Otmena.Hide();
     textBox2.Hide();
     label.Hide();
 }
 private void Sender_Click(object sender, EventArgs e)
 {
     Sender.Hide();
     Otmena.Show();
     label.Show();
     Poslat.Show();
     Rezume.Hide();
     textBox.Show();
 }
Example #4
0
 private void Otmena_Click(object sender, EventArgs e)
 {
     Add.Show();
     Refresh.Show();
     Take.Show();
     Otmena.Hide();
     textBox2.Hide();
     yesbut.Hide();
     label.Hide();
 }
 public FindJobAlready()
 {
     InitializeComponent();
     Strtr();
     axWindowsMediaPlayer1.Hide();
     Otmena.Hide();
     label.Hide();
     Poslat.Hide();
     textBox.Hide();
 }
 private void Otmena_Click(object sender, EventArgs e)
 {
     Rezume.Show();
     Poslat.Hide();
     Sender.Show();
     Otmena.Hide();
     label.Hide();
     Poslat.Hide();
     textBox.Hide();
 }