示例#1
0
文件: Form1.cs 项目: brunopass/uai
 private void button4_Click(object sender, EventArgs e)
 {
     Services.Usuario usuario = new Services.Usuario();
     try
     {
         if (usuario.isLogged())
         {
             AlquilerForm alquiler = new AlquilerForm();
             alquiler.ShowDialog();
         }
     }
     catch (Exception error)
     {
         MessageBox.Show(error.Message, "Error");
         SignIn signIn = new SignIn();
         signIn.ShowDialog();
     }
 }
示例#2
0
        private void label11_Click(object sender, EventArgs e)
        {
            AlquilerForm alquiler = new AlquilerForm();

            alquiler.ShowDialog();
        }
示例#3
0
        private void button4_Click(object sender, EventArgs e)
        {
            AlquilerForm alquilerForm = new AlquilerForm();

            alquilerForm.ShowDialog();
        }