コード例 #1
0
        private void toolStripMenuFarms_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_AnimalsCard = new Tools.btn();
            btn_AnimalsCard.button1.Text   = "تعريف منتج";
            btn_AnimalsCard.button1.Image  = imageList48.Images["ItemAnimals_48.png"];
            btn_AnimalsCard.button1.Click += new EventHandler(btn_AnimalsCard_Click);
            fpnl_SubMenue.Controls.Add(btn_AnimalsCard);

            Tools.btn btn_StoreWithdraw = new Tools.btn();
            btn_StoreWithdraw.button1.Text   = "صرف مشتودعات";
            btn_StoreWithdraw.button1.Image  = imageList48.Images["StockW_48.png"];
            btn_StoreWithdraw.button1.Click += new EventHandler(btn_StoreWithdraw_Click);
            fpnl_SubMenue.Controls.Add(btn_StoreWithdraw);

            Tools.btn btn_Tat3eemWithdraw = new Tools.btn();
            btn_Tat3eemWithdraw.button1.Text   = "صرف تطعيم";
            btn_Tat3eemWithdraw.button1.Image  = imageList48.Images["Tat3eem_48.png"];
            btn_Tat3eemWithdraw.button1.Click += new EventHandler(btn_Tat3eemWithdraw_Click);
            fpnl_SubMenue.Controls.Add(btn_Tat3eemWithdraw);

            Tools.btn btn_Alarms = new Tools.btn();
            btn_Alarms.button1.Text   = "التنبيهات";
            btn_Alarms.button1.Image  = imageList48.Images["Alarm_48.png"];
            btn_Alarms.button1.Click += new EventHandler(btn_Alarms_Click);
            fpnl_SubMenue.Controls.Add(btn_Alarms);

            Tools.btn btn_FarmSettings = new Tools.btn();
            btn_FarmSettings.button1.Text   = "إعدادات";
            btn_FarmSettings.button1.Image  = imageList48.Images["Settings_48.png"];
            btn_FarmSettings.button1.Click += new EventHandler(btn_FarmSettings_Click);
            fpnl_SubMenue.Controls.Add(btn_FarmSettings);
        }
コード例 #2
0
        private void التقاريرToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Rep = new Tools.btn();
            btn_Rep.button1.Text   = "التقارير";
            btn_Rep.button1.Image  = imageList48.Images["Rep_48.png"];
            btn_Rep.button1.Click += new EventHandler(btn_Rep_Click);
            fpnl_SubMenue.Controls.Add(btn_Rep);
        }
コード例 #3
0
        private void إعداداتToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Backup = new Tools.btn();
            btn_Backup.button1.Text   = "حفظ وإسترجاع نسخة إحتياطية";
            btn_Backup.button1.Image  = imageList48.Images["Backup_48.png"];
            btn_Backup.button1.Click += new EventHandler(btn_Backup_Click);
            fpnl_SubMenue.Controls.Add(btn_Backup);
        }
コード例 #4
0
        private void السياراتToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_PayIn = new Tools.btn();
            btn_PayIn.button1.Text   = "سندات القبض";
            btn_PayIn.button1.Image  = imageList48.Images["PayIn_48 (2).png"];
            btn_PayIn.button1.Click += new EventHandler(btn_PayIn_Click);
            fpnl_SubMenue.Controls.Add(btn_PayIn);

            Tools.btn btn_PayOut = new Tools.btn();
            btn_PayOut.button1.Text   = "سندات الصرف";
            btn_PayOut.button1.Image  = imageList48.Images["PayOut_48 (2).png"];
            btn_PayOut.button1.Click += new EventHandler(btn_PayOut_Click);
            fpnl_SubMenue.Controls.Add(btn_PayOut);
        }
コード例 #5
0
        private void toolStripMenuContacts_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Ven = new Tools.btn();
            btn_Ven.button1.Text   = "الموردون";
            btn_Ven.button1.Image  = imageList48.Images["Ven_48.png"];
            btn_Ven.button1.Click += new EventHandler(btn_Ven_Click);
            fpnl_SubMenue.Controls.Add(btn_Ven);

            Tools.btn btn_Cust = new Tools.btn();
            btn_Cust.button1.Text   = "العملاء";
            btn_Cust.button1.Image  = imageList48.Images["Cust_48.png"];
            btn_Cust.button1.Click += new EventHandler(btn_Cust_Click);
            fpnl_SubMenue.Controls.Add(btn_Cust);
        }
コード例 #6
0
        private void الفروعToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Sal = new Tools.btn();
            btn_Sal.button1.Text   = "فاتورة مبيعات";
            btn_Sal.button1.Image  = imageList48.Images["Sales_48.png"];
            btn_Sal.button1.Click += new EventHandler(btn_Sal_Click);
            fpnl_SubMenue.Controls.Add(btn_Sal);

            Tools.btn btn_Sre = new Tools.btn();
            btn_Sre.button1.Text   = "ارجاع مبيعات";
            btn_Sre.button1.Image  = imageList48.Images["Sal_48.png"];
            btn_Sre.button1.Click += new EventHandler(btn_Sre_Click);
            fpnl_SubMenue.Controls.Add(btn_Sre);
        }
コード例 #7
0
        private void toolStripMenuItem1_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Pur = new Tools.btn();
            btn_Pur.button1.Text   = "استلام مشتريات";
            btn_Pur.button1.Image  = imageList48.Images["Pur_48 (2).png"];
            btn_Pur.button1.Click += new EventHandler(btn_Pur_Click);
            fpnl_SubMenue.Controls.Add(btn_Pur);

            Tools.btn btn_Pre = new Tools.btn();
            btn_Pre.button1.Text   = "ارجاع مشتريات";
            btn_Pre.button1.Image  = imageList48.Images["Pur_48.png"];
            btn_Pre.button1.Click += new EventHandler(btn_Pre_Click);
            fpnl_SubMenue.Controls.Add(btn_Pre);
        }
コード例 #8
0
        private void الحساباتToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_Acc = new Tools.btn();
            btn_Acc.button1.Text   = "دليل الحسابات";
            btn_Acc.button1.Image  = imageList48.Images["Acc_48.png"];
            btn_Acc.button1.Click += new EventHandler(btn_Acc_Click);
            fpnl_SubMenue.Controls.Add(btn_Acc);

            Tools.btn btn_JorB = new Tools.btn();
            btn_JorB.button1.Text   = "بناء القيود";
            btn_JorB.button1.Image  = imageList48.Images["JorB_48.png"];
            btn_JorB.button1.Click += new EventHandler(btn_JorB_Click);
            fpnl_SubMenue.Controls.Add(btn_JorB);

            Tools.btn btn_Jor = new Tools.btn();
            btn_Jor.button1.Text   = "قيود اليومية";
            btn_Jor.button1.Image  = imageList48.Images["Jor_48.png"];
            btn_Jor.button1.Click += new EventHandler(btn_Jor_Click);
            fpnl_SubMenue.Controls.Add(btn_Jor);

            Tools.btn btn_ST = new Tools.btn();
            btn_ST.button1.Text   = "كشف حساب";
            btn_ST.button1.Image  = imageList48.Images["ST_48.png"];
            btn_ST.button1.Click += new EventHandler(btn_ST_Click);
            fpnl_SubMenue.Controls.Add(btn_ST);

            //Tools.btn btn_TB = new Tools.btn();
            //btn_TB.button1.Text = "ميزان المراجعة";
            //btn_TB.button1.Image = imageList48.Images["TB_48.png"];
            //btn_TB.button1.Click += new EventHandler(btn_TB_Click);
            //fpnl_SubMenue.Controls.Add(btn_TB);

            Tools.btn btn_AccSettings = new Tools.btn();
            btn_AccSettings.button1.Text   = "إعدادات";
            btn_AccSettings.button1.Image  = imageList48.Images["Settings_48.png"];
            btn_AccSettings.button1.Click += new EventHandler(btn_AccSettings_Click);
            fpnl_SubMenue.Controls.Add(btn_AccSettings);
        }
コード例 #9
0
        private void المستودعاتToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fpnl_SubMenue.Controls.Clear();

            Tools.btn btn_ItemCard = new Tools.btn();
            btn_ItemCard.button1.Text   = "تعريف صنف";
            btn_ItemCard.button1.Image  = imageList48.Images["ItemCard_48.png"];
            btn_ItemCard.button1.Click += new System.EventHandler(btn_ItemCard_Click);
            fpnl_SubMenue.Controls.Add(btn_ItemCard);

            Tools.btn btn_Open = new Tools.btn();
            btn_Open.button1.Text   = "رصيد افتتاحي";
            btn_Open.button1.Image  = imageList48.Images["Open_48.png"];
            btn_Open.button1.Click += new EventHandler(btn_Open_Click);
            fpnl_SubMenue.Controls.Add(btn_Open);

            Tools.btn btn_ItemEdit = new Tools.btn();
            btn_ItemEdit.button1.Text   = "تعديل أرصدة الأصناف";
            btn_ItemEdit.button1.Image  = imageList48.Images["ItemsEdit_48.png"];
            btn_ItemEdit.button1.Click += new EventHandler(btn_ItemsEdit_Click);
            fpnl_SubMenue.Controls.Add(btn_ItemEdit);
        }
コード例 #10
0
        void btn_FarmSettings_Click(object sender, EventArgs e)
        {
            #region desighn
            Form f = new Form();
            f.RightToLeft     = RightToLeft.Yes;
            f.Size            = new Size(800, 150);
            f.StartPosition   = FormStartPosition.CenterScreen;
            f.FormBorderStyle = FormBorderStyle.FixedToolWindow;
            f.Text            = ((Control)sender).Text;

            FlowLayoutPanel fp = new FlowLayoutPanel();
            fp.Dock = DockStyle.Fill;

            Tools.btn btn_Farms = new Tools.btn();
            btn_Farms.Size           = new Size(100, 100);
            btn_Farms.button1.Text   = "الحظائر";
            btn_Farms.button1.Click += new EventHandler(btn_Farms_Click);

            Tools.btn btn_Cat = new Tools.btn();
            btn_Cat.Size           = new Size(100, 100);
            btn_Cat.button1.Text   = "الفئات";
            btn_Cat.button1.Click += new EventHandler(btn_Cat_Click);

            Tools.btn btn_Types = new Tools.btn();
            btn_Types.Size           = new Size(100, 100);
            btn_Types.button1.Text   = "الأنواع";
            btn_Types.button1.Click += new EventHandler(btn_Types_Click);

            fp.Controls.Add(btn_Farms);
            fp.Controls.Add(btn_Cat);
            fp.Controls.Add(btn_Types);
            f.Controls.Add(fp);
            #endregion

            f.ShowDialog();
        }