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); } }
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); } }
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); } }
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); } }
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); } }
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ő!"); } }
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); } }