private void button3_Click(object sender, EventArgs e)
        {
            //this.Hide();
            this.Hide();
            clientes clifrm = new clientes();

            clifrm.Show();
        }
示例#2
0
        private void button8_Click(object sender, EventArgs e)

        {
            if (string.IsNullOrWhiteSpace(textBox11.Text) == true || string.IsNullOrWhiteSpace(textBox22.Text) == true || string.IsNullOrWhiteSpace(textBox33.Text) == true || string.IsNullOrWhiteSpace(maskedTextBox11.Text) == true || string.IsNullOrWhiteSpace(textBox66.Text) == true)
            {
                MessageBox.Show("No se permiten campos vacios");
            }

            else
            {
                contactos co = new contactos();
                MessageBox.Show(co.edit((Convert.ToInt32(textBox11.Text)), textBox22.Text, textBox33.Text, maskedTextBox11.Text, 1, (Convert.ToInt32(textBox66.Text))));
                this.Hide();
                clientes clifrm = new clientes();
                clifrm.Show();
            }
        }
        private void button1_Click(object sender, EventArgs e)
        {
            clientes frm3 = new clientes();

            frm3.Show();
        }