Пример #1
0
 public FormOdaEkle()
 {
     InitializeComponent();
     _db = new OtelRezervasyonDBEntities();
     txtOdaNo.KeyPress     += Helper.OnlyNumber;
     txtOdaFiyati.KeyPress += Helper.OnlyNumber;
 }
 public FormRezerveEdenEkle(RezervasyonVM rezervasyonVM)
 {
     InitializeComponent();
     txtTcKimlikNo.KeyPress       += Helper.OnlyNumber;
     txtAd.KeyPress               += Helper.LetterOnly;
     txtSoyad.KeyPress            += Helper.LetterOnly;
     txtTelefon.KeyPress          += Helper.OnlyNumber;
     txtTcKimlikNoFiltre.KeyPress += Helper.OnlyNumber;
     _db            = new OtelRezervasyonDBEntities();
     _rezervasyonVM = rezervasyonVM;
 }
        public FormKonaklayanEkle()
        {
            InitializeComponent();
            txtTcKimlikNo.KeyPress       += Helper.OnlyNumber;
            txtAd.KeyPress               += Helper.LetterOnly;
            txtSoyad.KeyPress            += Helper.LetterOnly;
            txtTelefon.KeyPress          += Helper.OnlyNumber;
            txtTcKimlikNoFiltre.KeyPress += Helper.OnlyNumber;

            _db = new OtelRezervasyonDBEntities();
        }
Пример #4
0
 public FormOdaSec()
 {
     InitializeComponent();
     txtToplamKisiSayisi.KeyPress += Helper.OnlyNumber;
     _db = new OtelRezervasyonDBEntities();
 }
Пример #5
0
 public FormRezervasyonGoruntule()
 {
     InitializeComponent();
     txtTcKimlikNoFiltre.KeyPress += Helper.OnlyNumber;
     _db = new OtelRezervasyonDBEntities();
 }