Esempio n. 1
0
        public frmYeniRezervasyon(int uyeID)
        {
            InitializeComponent();

            MaterialSkinManager skinManager = MaterialSkinManager.Instance;

            skinManager.AddFormToManage(this);
            skinManager.Theme       = MaterialSkinManager.Themes.LIGHT;
            skinManager.ColorScheme = new ColorScheme(Primary.BlueGrey700, Primary.BlueGrey900, Primary.Blue500, Accent.Orange700, TextShade.WHITE);

            _rezervasyonBLL    = new RezervasyonBLL();
            _rezervasyonTipBLL = new RezervasyonTipBLL();
            _odaBLL            = new OdaBLL();
            gbMusteri.Visible  = false;
            _uyeID             = uyeID;
        }
Esempio n. 2
0
        public frmYoneticiPaneli()
        {
            _rezervasyonTipBLL = new RezervasyonTipBLL();
            _odaBLL            = new OdaBLL();
            _musteriBLL        = new MusteriBLL();
            _uyeBLL            = new UyeBLL();
            _rezervasyonBLL    = new RezervasyonBLL();

            InitializeComponent();

            MaterialSkinManager skinManager = MaterialSkinManager.Instance;

            skinManager.AddFormToManage(this);
            skinManager.Theme       = MaterialSkinManager.Themes.LIGHT;
            skinManager.ColorScheme = new ColorScheme(Primary.BlueGrey700, Primary.BlueGrey900, Primary.Blue500, Accent.Orange700, TextShade.WHITE);
        }
        public frmYeniRezervasyonOnay(List <Musteri> musteriler, List <Rezervasyon> rezervasyonlar, int hesaplananOda, int uyeID)
        {
            InitializeComponent();
            MaterialSkinManager skinManager = MaterialSkinManager.Instance;

            skinManager.AddFormToManage(this);
            skinManager.Theme       = MaterialSkinManager.Themes.LIGHT;
            skinManager.ColorScheme = new ColorScheme(Primary.BlueGrey700, Primary.BlueGrey900, Primary.Blue500, Accent.Orange700, TextShade.WHITE);

            hesaplananOdaSayisi = hesaplananOda;
            _uyeID = uyeID;

            musteriList     = musteriler;
            rezervasyonList = rezervasyonlar;

            _rezervasyonTipBLL     = new RezervasyonTipBLL();
            _odaBLL                = new OdaBLL();
            _musteriBLL            = new MusteriBLL();
            _rezervasyonBLL        = new RezervasyonBLL();
            _musteriRezervasyonBLL = new MusteriRezervasyonBLL();
        }