/// <summary> /// 控件变量初始化方法 /// </summary> private void InitializeObject() { wnToolBarMain = this.AllObjects["wnToolBarMain"] as WnToolBar; tsLabelYear = this.AllObjects["tsLabelYear"] as WnTbLabel; tsComboYear = this.AllObjects["tsComboYear"] as WnCombo; tsLabelMonth = this.AllObjects["tsLabelMonth"] as WnTbLabel; tsComboMonth = this.AllObjects["tsComboMonth"] as WnCombo; tsButtonLoad = this.AllObjects["tsButtonLoad"] as WnTbButton; tsSeparator1 = this.AllObjects["tsSeparator1"] as WnSeparator; tsButtonCarry = this.AllObjects["tsButtonCarry"] as WnTbButton; tsSeparator2 = this.AllObjects["tsSeparator2"] as WnSeparator; tsButtonAppend = this.AllObjects["tsButtonAppend"] as WnTbButton; tsButtonImport = this.AllObjects["tsButtonImport"] as WnTbButton; tsSeparator3 = this.AllObjects["tsSeparator3"] as WnSeparator; tsButtonSeal = this.AllObjects["tsButtonSeal"] as WnTbButton; tsSeparator4 = this.AllObjects["tsSeparator4"] as WnSeparator; tsButtonSave = this.AllObjects["tsButtonSave"] as WnTbButton; tsSeparator5 = this.AllObjects["tsSeparator5"] as WnSeparator; tsButtonAudit = this.AllObjects["tsButtonAudit"] as WnTbButton; tsButtonUnAudit = this.AllObjects["tsButtonUnAudit"] as WnTbButton; tsSeparator6 = this.AllObjects["tsSeparator6"] as WnSeparator; tsButtonHelp = this.AllObjects["tsButtonHelp"] as WnTbButton; tsSeparator7 = this.AllObjects["tsSeparator7"] as WnSeparator; tsButtonExit = this.AllObjects["tsButtonExit"] as WnTbButton; tsLabelYsh = this.AllObjects["tsLabelYsh"] as WnTbLabel; tsSeparator8 = this.AllObjects["tsSeparator8"] as WnSeparator; tsButtonSealManage = this.AllObjects["tsButtonSealManage"] as WnTbButton; wnGridMain = this.AllObjects["wnGridMain"] as WnGrid; }
/// <summary> /// 控件变量初始化方法 /// </summary> private void InitializeObject() { wnToolBarSealManage = this.AllObjects["wnToolBarSealManage"] as WnToolBar; tsButtonUnSeal = this.AllObjects["tsButtonUnSeal"] as WnTbButton; tsSeparator9 = this.AllObjects["tsSeparator9"] as WnSeparator; tsButtonExitSealManage = this.AllObjects["tsButtonExitSealManage"] as WnTbButton; wnGridSealManage = this.AllObjects["wnGridSealManage"] as WnGrid; }