private void frmKonfigurimArtikujsh_Load(object sender, EventArgs e)
        {
            this.LexoInformacione();

            this.PicturePath = "";
            //gridArtikujt.Size = new Size(619, 428);
            this.AddConditionalFormatting();
            gridArtikujt.BringToFront();
            this.BllokoKerkimin();

            Doc = new Janus.Windows.GridEX.GridEXPrintDocument();
        }
        private void MbushGridenArtikujt()
        {
            InputController data = new InputController();
            DataSet         ds   = data.KerkesaRead("ShfaqArtikujt");

            this.gridArtikujt.DataSource = ds.Tables[0];

            Doc                = new Janus.Windows.GridEX.GridEXPrintDocument();
            Doc.GridEX         = gridArtikujt;
            Doc.PageHeaderLeft = MDIAdminTjeter.emriRes + Environment.NewLine + "Artikujt në Bar Restorant";
            Doc.DefaultPageSettings.Landscape   = true;
            Doc.PageHeaderFormatStyle.Font      = new Font(new FontFamily("Tahoma"), 11, FontStyle.Bold);
            Doc.PageHeaderFormatStyle.ForeColor = Color.Navy;
        }
Example #3
0
        private void frmMenu_Load(object sender, EventArgs e)
        {
            Doc             = new Janus.Windows.GridEX.GridEXPrintDocument();
            this.Doc.GridEX = gridArka;
            Doc.DefaultPageSettings.Landscape   = false;
            Doc.PageHeaderFormatStyle.Font      = new Font(new FontFamily("Tahoma"), 11, FontStyle.Bold);
            Doc.PageHeaderFormatStyle.ForeColor = Color.Navy;
            Doc.PageHeaderLeft = MDIAdminTjeter.emriRes +
                                 Environment.NewLine + "Gjendja e arkës për datën " + DateTime.Now.ToString("dd.MM.yyyy");

            DateTime[] v = new DateTime[1];
            v[0] = DateTime.Now;
            calendar.SelectedDates = v;
            calendar.CurrentDate   = System.DateTime.Today;
            LexoInformacione();
            //kontrollo ketu nqs eshte programi i hotelit
            //per te shfaqur modulet e duhur
        }
Example #4
0
        private void frmKontrolloSkorte_Load(object sender, EventArgs e)
        {
            Doc             = new Janus.Windows.GridEX.GridEXPrintDocument();
            this.Doc.GridEX = grida;
            Doc.DefaultPageSettings.Landscape   = false;
            Doc.PageHeaderFormatStyle.Font      = new Font(new FontFamily("Tahoma"), 11, FontStyle.Bold);
            Doc.PageHeaderFormatStyle.ForeColor = Color.Navy;
            Doc.PageHeaderLeft = MDIAdminTjeter.emriRes + Environment.NewLine + "Inventari për artikujt";


            this.LexoInformacione();

            this.MbushKomboKategorite();
            AddConditionalFormatting();

            this.BllokoKerkimin();
            this.MbushGriden();
        }
        private void frmShpenzimetMujore_Load(object sender, EventArgs e)
        {
            this.LexoInformacione();

            this.MbushKomboViti();
            this.MbushKomboMuaji();

            this.StartoKomboViti();
            this.StartoKomboMuaji();

            this.MbushGridenShpenzimeMujore();

            this.BllokoKerkimin();

            Doc             = new Janus.Windows.GridEX.GridEXPrintDocument();
            this.Doc.GridEX = grida;
            Doc.DefaultPageSettings.Landscape   = false;
            Doc.PageHeaderFormatStyle.Font      = new Font(new FontFamily("Tahoma"), 11, FontStyle.Bold);
            Doc.PageHeaderFormatStyle.ForeColor = Color.Navy;
        }