Movie4You.NewUser.button1_Click C# (CSharp) Method

button1_Click() private method

private button1_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
        private void button1_Click(object sender, EventArgs e)
        {
            if(textBox1.Text == "" || textBox2.Text == ""|| textBox3.Text == "" || textBox4.Text == "" ||
               textBox5.Text == "" || textBox6.Text == "" || textBox7.Text == "" || textBox8.Text == "" || textBox9.Text == "")
            {
                MessageBox.Show("UzupeĊ‚nij wszystkie pola");
            }
            else
            {
                this.Close();
            }
        }