public Form8_Money_Personal() { InitializeComponent(); FontClass fontclass = new FontClass(); List <Control> allControls = fontclass.GetAllControls(this); List <Control> alltextBox = fontclass.GetAllTextBox(this); allControls.ForEach(k => k.Font = mostaan.GlobalVariable.headerlistFONTsupecSmall); alltextBox.ForEach(k => k.Font = mostaan.GlobalVariable.headerlistFONTsmall); alltextBox.ForEach(x => x.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textBox20_KeyDown)); header.Font = mostaan.GlobalVariable.headerlistFONT; this.MaximizeBox = false; this.CenterToScreen(); //panel1.PanelElement.Shape = new RoundRectShape(); //panel1.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; //panel1.PanelElement.PanelFill.BackColor = Color.White; header.Font = GlobalVariable.headerlistFONTBold; label2.Font = GlobalVariable.headerlistFONTsmall; label77.Font = GlobalVariable.headerlistFONTsmall; label3.Font = GlobalVariable.headerlistFONTsmall; label18.Font = GlobalVariable.headerlistFONTsmall; label17.Font = GlobalVariable.headerlistFONTsmall; label12.Font = GlobalVariable.headerlistFONTsmall; panel2.PanelElement.Shape = new RoundRectShape(); panel2.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; panel2.PanelElement.PanelFill.BackColor = Color.White; panel3.PanelElement.Shape = new RoundRectShape(); panel3.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; panel3.PanelElement.PanelFill.BackColor = Color.Violet; radPanel1.PanelElement.Shape = new RoundRectShape(); radPanel1.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel1.PanelElement.PanelFill.BackColor = Color.White; radPanel2.PanelElement.Shape = new RoundRectShape(); radPanel2.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel2.PanelElement.PanelFill.BackColor = Color.White; radPanel3.PanelElement.Shape = new RoundRectShape(); radPanel3.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel3.PanelElement.PanelFill.BackColor = Color.Violet; radPanel4.PanelElement.Shape = new RoundRectShape(); radPanel4.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel4.PanelElement.PanelFill.BackColor = Color.White; radPanel5.PanelElement.Shape = new RoundRectShape(); radPanel5.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel5.PanelElement.PanelFill.BackColor = Color.White; radPanel6.PanelElement.Shape = new RoundRectShape(); radPanel6.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel6.PanelElement.PanelFill.BackColor = Color.White; radPanel7.PanelElement.Shape = new RoundRectShape(); radPanel7.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel7.PanelElement.PanelFill.BackColor = Color.White; radPanel8.PanelElement.Shape = new RoundRectShape(); radPanel8.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel8.PanelElement.PanelFill.BackColor = Color.White; radPanel9.PanelElement.Shape = new RoundRectShape(); radPanel9.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel9.PanelElement.PanelFill.BackColor = Color.White; radPanel10.PanelElement.Shape = new RoundRectShape(); radPanel10.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel10.PanelElement.PanelFill.BackColor = Color.White; radPanel1.PanelElement.Shape = new RoundRectShape(); radPanel1.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel1.PanelElement.PanelFill.BackColor = Color.White; radPanel13.PanelElement.Shape = new RoundRectShape(); radPanel13.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel13.PanelElement.PanelFill.BackColor = Color.Blue; radPanel14.PanelElement.Shape = new RoundRectShape(); radPanel14.PanelElement.PanelFill.GradientStyle = GradientStyles.Solid; radPanel14.PanelElement.PanelFill.BackColor = Color.Gray; label1.Font = GlobalVariable.headerlistFONTsupecSmall; label4.Font = GlobalVariable.headerlistFONTsupecSmall; label5.Font = GlobalVariable.headerlistFONTsupecSmall; label6.Font = GlobalVariable.headerlistFONTsupecSmall; label7.Font = GlobalVariable.headerlistFONTsupecSmall; label8.Font = GlobalVariable.headerlistFONTsupecSmall; label9.Font = GlobalVariable.headerlistFONTsupecSmall; label10.Font = GlobalVariable.headerlistFONTsupecSmall; label11.Font = GlobalVariable.headerlistFONTsupecSmall; if (GlobalVariable.shenasnameID != "") { Model.shenasname item = dbcontext.shenasnames.FirstOrDefault(x => x.ID == GlobalVariable.shenasnameID); DrasmiT.Text = item.DrasmiT.ToString(); DrasmiHPR.Text = item.DrasmiHPR.ToString(); DrasmiHPD.Text = item.DrasmiHPD.ToString(); DgharartamamT.Text = item.DgharartamamT.ToString(); DgharartamamHPR.Text = item.DgharartamamHPR.ToString(); DgharartamamHPD.Text = item.DgharartamamHPD.ToString(); DghararsaatT.Text = item.DghararsaatT.ToString(); DghararsaatHPR.Text = item.DghararsaatHPR.ToString(); DghararsaatHPD.Text = item.DghararsaatHPD.ToString(); DvazifeT.Text = item.DvazifeT.ToString(); DvazifeHPR.Text = item.DvazifeHPR.ToString(); DvazifeHPD.Text = item.DvazifeHPD.ToString(); ZDirasmiT.Text = item.ZDirasmiT.ToString(); ZDirasmiHPR.Text = item.ZDirasmiHPR.ToString(); ZDirasmiHPD.Text = item.ZDirasmiHPD.ToString(); ZDigharartamamT.Text = item.ZDigharartamamT.ToString(); ZDigharartamamHPR.Text = item.ZDigharartamamHPR.ToString(); ZDigharartamamHPD.Text = item.ZDigharartamamHPD.ToString(); ZDighararsaatT.Text = item.ZDighararsaatT.ToString(); ZDighararsaatHPR.Text = item.ZDighararsaatHPR.ToString(); ZDighararsaatHPD.Text = item.ZDighararsaatHPD.ToString(); ZDivazifeT.Text = item.ZDivazifeT.ToString(); ZDivazifeHPR.Text = item.ZDivazifeHPR.ToString(); ZDivazifeHPD.Text = item.ZDivazifeHPD.ToString(); LrasmiT.Text = item.LrasmiT.ToString(); LrasmiHPR.Text = item.LrasmiHPR.ToString(); LrasmiHPD.Text = item.LrasmiHPD.ToString(); LgharartamamT.Text = item.LgharartamamT.ToString(); LgharartamamHPR.Text = item.LgharartamamHPR.ToString(); LgharartamamHPD.Text = item.LgharartamamHPD.ToString(); LghararsaatT.Text = item.LghararsaatT.ToString(); LghararsaatHPR.Text = item.LghararsaatHPR.ToString(); LghararsaatHPD.Text = item.LghararsaatHPD.ToString(); LvazifeT.Text = item.LvazifeT.ToString(); LvazifeHPR.Text = item.LvazifeHPR.ToString(); LvazifeHPD.Text = item.LvazifeHPD.ToString(); DirasmiT.Text = item.DirasmiT.ToString(); DirasmiHPR.Text = item.DirasmiHPR.ToString(); DirasmiHPD.Text = item.DirasmiHPD.ToString(); DigharartamamT.Text = item.DigharartamamT.ToString(); DigharartamamHPR.Text = item.DigharartamamHPR.ToString(); DigharartamamHPD.Text = item.DigharartamamHPD.ToString(); DighararsaatT.Text = item.DighararsaatT.ToString(); DighararsaatHPR.Text = item.DighararsaatHPR.ToString(); DighararsaatHPD.Text = item.DighararsaatHPD.ToString(); DivazifeT.Text = item.DivazifeT.ToString(); DivazifeHPR.Text = item.DivazifeHPR.ToString(); DivazifeHPD.Text = item.DivazifeHPD.ToString(); FLrasmiT.Text = item.FLrasmiT.ToString(); FLrasmiHPR.Text = item.FLrasmiHPR.ToString(); FLrasmiHPD.Text = item.FLrasmiHPD.ToString(); FLgharartamamT.Text = item.FLgharartamamT.ToString(); FLgharartamamHPR.Text = item.FLgharartamamHPR.ToString(); FLgharartamamHPD.Text = item.FLgharartamamHPD.ToString(); FLghararsaatT.Text = item.FLghararsaatT.ToString(); FLghararsaatHPR.Text = item.FLghararsaatHPR.ToString(); FLghararsaatHPD.Text = item.FLghararsaatHPD.ToString(); FLvazifeT.Text = item.FLvazifeT.ToString(); FLvazifeHPR.Text = item.FLvazifeHPR.ToString(); FLvazifeHPD.Text = item.FLvazifeHPD.ToString(); } }