private void BeautifyInterface() { if (AppInfo.Account.Configuration.Beautify) { List <Control> pControlList = new List <Control> { this.Pnl_BTTop, this.Pnl_BTBottom }; CommFunc.SetControlBackColor(pControlList, AppInfo.appBackColor); List <Control> list2 = new List <Control> { this.Btn_BTCount }; CommFunc.SetControlBackColor(list2, AppInfo.beaBackColor); List <Control> list3 = new List <Control> { this.Rdb_Times2, this.Rdb_Times1, this.Rdb_Times3, this.Rdb_Times4, this.Lbl_Times1, this.Lbl_Times3_1, this.Lbl_Times3_2, this.Lbl_Money, this.Lbl_SingleValue, this.Lbl_Prize, this.Lbl_Cycle, this.Lbl_Number, this.Ckb_BTCopy, this.Btn_BTCount, this.Ckb_BTImport, this.Lbl_BTFN }; CommFunc.SetControlForeColor(list3, AppInfo.whiteColor); List <Control> list4 = new List <Control>(); CommFunc.SetControlForeColor(list4, AppInfo.appForeColor); List <ComboBox> pComboBoxList = new List <ComboBox> { this.Cbb_Times1, this.Cbb_Cycle, this.Cbb_Unit, this.Cbb_BTFN }; CommFunc.BeautifyComboBox(pComboBoxList); } }
private void BeautifyInterface() { if (AppInfo.Account.Configuration.Beautify) { List <Control> pControlList = new List <Control> { this.Pnl_Bottom }; CommFunc.SetControlBackColor(pControlList, AppInfo.appBackColor); List <Control> list2 = new List <Control> { this.Pnl_Top1, this.Pnl_Top2, this.Pnl_Top3 }; CommFunc.SetControlBackColor(list2, AppInfo.beaBackColor); List <Control> list3 = new List <Control> { this.Lbl_ID, this.Lbl_Hin1, this.Lbl_Times, this.Lbl_YesAfter, this.Lbl_Hin2, this.Ckb_YesJK, this.Ckb_YesOtherFN, this.Lbl_NoAfter, this.Lbl_Hin3, this.Ckb_NoJK, this.Ckb_NoOtherFN, this.Ckb_More, this.Ckb_Ok, this.Ckb_Cancel }; CommFunc.SetControlForeColor(list3, AppInfo.whiteColor); List <Control> list4 = new List <Control>(); CommFunc.SetControlForeColor(list4, AppInfo.appForeColor); List <ComboBox> pComboBoxList = new List <ComboBox> { this.Cbb_YesOtherFN, this.Cbb_NoOtherFN }; CommFunc.BeautifyComboBox(pComboBoxList); CommFunc.CheckBox_CheckedChanged(this.Ckb_More, null); } }
private void BeautifyInterface() { if (AppInfo.Account.Configuration.Beautify) { List <Control> pControlList = new List <Control>(); CommFunc.SetControlBackColor(pControlList, AppInfo.appBackColor); List <Control> list2 = new List <Control>(); CommFunc.SetControlBackColor(list2, AppInfo.beaBackColor); List <Control> list3 = new List <Control> { this.Ckb_Time, this.Lbl_TimeHint, this.Ckb_FWTime1, this.Ckb_FWTime2 }; CommFunc.SetControlForeColor(list3, AppInfo.whiteColor); List <Control> list4 = new List <Control>(); CommFunc.SetControlForeColor(list4, AppInfo.appForeColor); List <ComboBox> pComboBoxList = new List <ComboBox> { this.Cbb_TimeType, this.Cbb_FWTime2Type }; CommFunc.BeautifyComboBox(pComboBoxList); } }