private void tümBilgileriGösterToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         DuyuruEkle duyuruGoster = new DuyuruEkle(Convert.ToDateTime(metroGrid1.SelectedCells[7].Value), metroGrid1.SelectedCells[0].Value.ToString(), 2);
         duyuruGoster.Show();
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }
 private void tileItem1_ItemClick(object sender, DevExpress.XtraEditors.TileItemEventArgs e)
 {
     try
     {
         DuyuruEkle duyuruekle = new DuyuruEkle();
         duyuruekle.Show();
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }
 private void düzenleToolStripMenuItem_Click(object sender, EventArgs e)
 {
     try
     {
         if (metroGrid1.SelectedCells.Count > 0)
         {
             DuyuruEkle duyuruDuzenle = new DuyuruEkle(Convert.ToDateTime(metroGrid1.SelectedCells[7].Value), metroGrid1.SelectedCells[0].Value.ToString(), 1);
             duyuruDuzenle.Show();
         }
         else
         {
             HotelWarningForm.Show(string.Format(Localization.DuzenlemekicinDuyuruSec, "\n"), Localization.Tamam, 1);
         }
     }
     catch (Exception ex)
     {
         HotelWarningForm.Show(ex.ToString(), Localization.Tamam, 1);
     }
 }