Example #1
0
 private void meniu_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
 {
     if (e.ClickedItem.Name.Equals("iesire"))
     {
         Calatorie.CloseMain();
     }
     if (e.ClickedItem.Name.Equals("admin"))
     {
         Administrare adm = new Administrare();
         adm.Show();
         this.Hide();
     }
     else if (e.ClickedItem.Name.Equals("turisti"))
     {
         Turist turist = new Turist();
         turist.Show();
         this.Hide();
     }
 }
Example #2
0
 private void Turist_FormClosed(object sender, FormClosedEventArgs e)
 {
     Calatorie.CloseMain();
 }
Example #3
0
 private void Lista_croaziere_FormClosed(object sender, FormClosedEventArgs e)
 {
     Calatorie.CloseMain();
 }
Example #4
0
 private void Operatii_FormClosed(object sender, FormClosedEventArgs e)
 {
     Calatorie.CloseMain();
 }
Example #5
0
 private void Administrare_FormClosed(object sender, FormClosedEventArgs e)
 {
     Calatorie.CloseMain();
 }