예제 #1
0
파일: Form1.cs 프로젝트: vanndhall/eMOs
        private void Open_Button_Click(object sender, EventArgs e)
        {
            Close();
            Raport raport = new Raport();

            raport.Show();
        }
예제 #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (txtLogin.Text == "raporty2017")
     {
         MessageBox.Show("Zalogowany!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Raport raport = new Raport();
         raport.Show();
         Close();
     }
     else
     {
         MessageBox.Show("Nieprawidłowe hasło, spróboj ponownie!", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
         Close();
     }
 }