Exemplo n.º 1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (this.textBox1.Text == "reception123" && this.textBox2.Text == "123")
     {
         Form newform = new ReciptionDashboard();
         newform.Show();
     }
     else
     {
         MessageBox.Show("Invalid credentials", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
     }
 }
Exemplo n.º 2
0
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form newform = new ReciptionDashboard();

            newform.Show();
        }