Exemple #1
0
 private void mniEditTeam(object sender, RoutedEventArgs e)
 {
     try
     {
         ShowTeams st = new ShowTeams();
         st.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("ShowTeams " + ex.Message);
     }
 }
Exemple #2
0
 private void mniNewArtist(object sender, RoutedEventArgs e)
 {
     try
     {
         NewArtist na = new NewArtist();
         na.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("NewArtist " + ex.Message);
     }
 }
Exemple #3
0
 private void btnGateFinancial_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         GateFinancial gf = new GateFinancial();
         gf.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("GateFinancial " + ex.Message);
     }
 }
Exemple #4
0
 private void mniChangePrice(object sender, RoutedEventArgs e)
 {
     try
     {
         Prices p = new Prices();
         p.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("Prices " + ex.Message);
     }
 }
Exemple #5
0
 private void mniArtistTimeLine(object sender, RoutedEventArgs e)
 {
     try
     {
         Timeline tl = new Timeline();
         tl.Show();
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("Timeline " + ex.Message);
     }
 }
Exemple #6
0
 private void login()
 {
     if (Misc.CalculateMD5(pswPass.Password) == Misc.users[cmbUser.SelectedIndex].PassWord)
     {
         Misc.logging("Bejelentkezés: " + Misc.users[cmbUser.SelectedIndex].Name);
         Choose ch = new Choose();
         ch.Show();
         Misc.firstStart = false;
         this.Close();
     }
     else
     {
         MessageBox.Show("Jelszó nem megfelelő!");
     }
 }
Exemple #7
0
 private void btnCustonPlantNum_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (txtPlateNum.Text != "")
         {
             Misc.createEntryPermit(txtPlateNum.Text.ToUpper());
         }
         else
         {
             MessageBox.Show("Adjon meg rendszámot!");
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show("Nem tudtam megnyitni az ablakot!" + Environment.NewLine + ex.Message);
         Misc.logging("GateFinancial " + ex.Message);
     }
 }