private void tileItem6_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
 {
     try
     {
         OdaTanimlama odatanimlama = new OdaTanimlama();
         odatanimlama.Show();
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }
Exemplo n.º 2
0
 private void düzenleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (metroGrid1.SelectedCells.Count > 0)
         {
             OdaTanimlama bilgiDuzenle = new OdaTanimlama(metroGrid1.SelectedCells[0].Value.ToString());
             bilgiDuzenle.Show();
         }
         else
         {
             HotelWarningForm.Show(Localization.duzenlemekIcınOdaSec, Localization.Tamam, 1);
         }
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }