表示一个普通对象,普通对象可以到后台加载自己的属性数据。实现了动态属性机制。
Inheritance: CustomTypeHelper, IAsyncObject, ILoadable, IFromJson
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E9%87%8D%E6%96%B0%E5%8F%91%E5%8D%A1.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.dkfobj         = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("dkfobj")));
     this.xkfobj         = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("xkfobj")));
     this.mxggasobj      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mxggasobj")));
     this.mzdgasobj      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mzdgasobj")));
     this.fzdgasobj      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fzdgasobj")));
     this.userfiles1     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles1")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.Grid)(this.FindName("userfilesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.userfile       = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.userfilego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.qbnumber       = ((System.Windows.Controls.TextBox)(this.FindName("qbnumber")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
Esempio n. 2
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E7%A8%BD%E6%9F%A5%E4%BB%BB%E5%8A%A1%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DeleteAction    = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("DeleteAction")));
     this.Deletejicha     = ((Com.Aote.Behaviors.HQLAction)(this.FindName("Deletejicha")));
     this.Deletejichalist = ((Com.Aote.Behaviors.HQLAction)(this.FindName("Deletejichalist")));
     this.excel           = ((Com.Aote.ObjectTools.ExcelObj)(this.FindName("excel")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.jicha           = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("jicha")));
     this.jichalist       = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("jichalist")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.Comboxfx        = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.jichatj         = ((System.Windows.Controls.DataGrid)(this.FindName("jichatj")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
     this.deletettip      = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
Esempio n. 3
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8A%84%E8%A1%A8%E6%95%B0%E6%8D%AE%E5%BD%95%E5%85%A5.xaml", System.UriKind.Relative));
     this.LayoutRoot         = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.shifou             = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("shifou")));
     this.dbhljql            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("dbhljql")));
     this.myljql             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("myljql")));
     this.dbhqj              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("dbhqj")));
     this.dbhwljqj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("dbhwljqj")));
     this.minyqij            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("minyqij")));
     this.linjiewqj          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("linjiewqj")));
     this.yhobject           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("yhobject")));
     this.zidobj             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zidobj")));
     this.updaterecord       = ((Com.Aote.Behaviors.HQLAction)(this.FindName("updaterecord")));
     this.SaveAction         = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.searchHandUserUnit = ((System.Windows.Controls.StackPanel)(this.FindName("searchHandUserUnit")));
     this.searchbutton       = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.handUserUnits      = ((System.Windows.Controls.DataGrid)(this.FindName("handUserUnits")));
     this.personlist         = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("personlist")));
     this.pager              = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.handUserUnit       = ((System.Windows.Controls.Grid)(this.FindName("handUserUnit")));
     this.f_userid           = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.dishu              = ((System.Windows.Controls.TextBox)(this.FindName("dishu")));
     this.chaobiaoriqi       = ((System.Windows.Controls.DatePicker)(this.FindName("chaobiaoriqi")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.chaobiaoriqi_Copy  = ((System.Windows.Controls.DatePicker)(this.FindName("chaobiaoriqi_Copy")));
     this.chaobiaoriqi_Copy1 = ((System.Windows.Controls.DatePicker)(this.FindName("chaobiaoriqi_Copy1")));
     this.deletettip         = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
Esempio n. 4
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%85%B6%E4%BB%96%E6%94%B6%E8%B4%B9.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card           = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.feetype        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("feetype")));
     this.pinpailist     = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("pinpailist")));
     this.wuxiaoAction   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("wuxiaoAction")));
     this.userfiles      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.wuxiaobutton   = ((System.Windows.Controls.Button)(this.FindName("wuxiaobutton")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines      = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline       = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.pipelinego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("pipelinego")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.CoboxPinpai    = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxPinpai")));
     this.DaXiaoKa       = ((System.Windows.Controls.ComboBox)(this.FindName("DaXiaoKa")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.kabiaoprint    = ((System.Windows.Controls.Grid)(this.FindName("kabiaoprint")));
     this.cyqprint1      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("cyqprint1")));
     this.submittip      = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
     this.print          = ((Com.Aote.Controls.PrintObj)(this.FindName("print")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8A%84%E8%A1%A8%E6%92%A4%E9%94%80.xaml", System.UriKind.Relative));
     this.LayoutRoot         = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.recordcancel       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("recordcancel")));
     this.scbdw              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("scbdw")));
     this.sellgas            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sellgas")));
     this.SaveAction         = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.search             = ((Com.Aote.ObjectTools.SearchObject)(this.FindName("search")));
     this.userfileslist      = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.userfilesearch     = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton       = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pager              = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.userfiles          = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.BigUnit            = ((System.Windows.Controls.Grid)(this.FindName("BigUnit")));
     this.handUserUnit       = ((System.Windows.Controls.Grid)(this.FindName("handUserUnit")));
     this.f_userid           = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.dishu              = ((System.Windows.Controls.TextBox)(this.FindName("dishu")));
     this.chaobiaoren        = ((System.Windows.Controls.TextBox)(this.FindName("chaobiaoren")));
     this.yuefen             = ((System.Windows.Controls.TextBox)(this.FindName("yuefen")));
     this.chaobiaoriqi_Copy1 = ((System.Windows.Controls.DatePicker)(this.FindName("chaobiaoriqi_Copy1")));
     this.reason             = ((System.Windows.Controls.Grid)(this.FindName("reason")));
     this.save   = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.cancel = ((System.Windows.Controls.Button)(this.FindName("cancel")));
     this.nouser = ((Com.Aote.Controls.MessageTipObj)(this.FindName("nouser")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E9%93%B6%E8%A1%8C%E7%A5%A8%E8%AF%81%E8%A1%A5%E6%89%93.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card           = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.DeleteAction   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SubmitAction   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.userfilego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
     this.sellinggas     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sellinggas")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.userfile       = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.userid         = ((System.Windows.Controls.TextBox)(this.FindName("userid")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.aofengprint    = ((System.Windows.Controls.Grid)(this.FindName("aofengprint")));
     this.bdprint        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("bdprint")));
     this.guoshuiprint   = ((System.Windows.Controls.Grid)(this.FindName("guoshuiprint")));
     this.bdprint1       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("bdprint1")));
     this.print          = ((Com.Aote.Controls.PrintObj)(this.FindName("print")));
     this.print1         = ((Com.Aote.Controls.PrintObj)(this.FindName("print1")));
 }
Esempio n. 7
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%8E%86%E5%8F%B2%E5%94%AE%E6%B0%94%E6%94%B6%E8%B4%B9%E7%BB%B4%E6%8A" +
                                                                   "%A4.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.zonggongsi     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.paylist        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("paylist")));
     this.fgslist        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.kbfee          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbfee")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.Comboxfx       = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.kbfee1         = ((System.Windows.Controls.Grid)(this.FindName("kbfee1")));
     this.f_userid       = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.save2          = ((System.Windows.Controls.Button)(this.FindName("save2")));
     this.kabiaoprint    = ((System.Windows.Controls.Grid)(this.FindName("kabiaoprint")));
     this.kbprint        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbprint")));
     this.submittip      = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
     this.print          = ((Com.Aote.Controls.PrintObj)(this.FindName("print")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E8%A1%A5%E6%B0%94.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card           = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.hbbqlist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("hbbqlist")));
     this.fillgas        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fillgas")));
     this.user           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("user")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.applygo        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("applygo")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.pipelinesearch = ((System.Windows.Controls.Grid)(this.FindName("pipelinesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines      = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline       = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.save1          = ((System.Windows.Controls.Button)(this.FindName("save1")));
     this.apply          = ((System.Windows.Controls.Grid)(this.FindName("apply")));
     this.yijing         = ((System.Windows.Controls.DataGrid)(this.FindName("yijing")));
 }
Esempio n. 9
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%90%AF%E7%94%A8.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card           = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.zonggongsi     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.fgslist        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.userfiles      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.pipelineg      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("pipelineg")));
     this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.Comboxfx       = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines      = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline       = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
Esempio n. 10
0
 /// <summary>
 /// 初始化时加载小区
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void pageResource_Loaded(object sender, RoutedEventArgs e)
 {
     pageResource.Loaded -= pageResource_Loaded;
     list = pageResource.Res[0] as ObjectList;
     AreaContext = pageResource.Res[1] as GeneralObject;
     LoadResidentialAreaData();
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E8%A1%97%E9%81%93%E7%AE%A1%E7%90%86.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.roadexist    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("roadexist")));
     this.roadid       = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("roadid")));
     this.zonggongsi   = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SaveAction   = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.roadmanege   = ((System.Windows.Controls.DockPanel)(this.FindName("roadmanege")));
     this.roadItem     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("roadItem")));
     this.save         = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.save_Copy    = ((System.Windows.Controls.Button)(this.FindName("save_Copy")));
     this.delete       = ((System.Windows.Controls.Button)(this.FindName("delete")));
     this.pager        = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.roadsearch   = ((System.Windows.Controls.Grid)(this.FindName("roadsearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.roads        = ((System.Windows.Controls.DataGrid)(this.FindName("roads")));
     this.roadlist     = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("roadlist")));
 }
Esempio n. 12
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E7%94%B3%E8%AF%B7%E7%99%BB%E8%AE%B0.xaml", System.UriKind.Relative));
     this.LayoutRoot          = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.userlist            = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("userlist")));
     this.DeleteAction        = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("DeleteAction")));
     this.DeleteApply         = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteApply")));
     this.DeleteImage         = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteImage")));
     this.DeleteApplycustomer = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteApplycustomer")));
     this.imagelist           = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("imagelist")));
     this.DeleteDirty         = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteDirty")));
     this.BatchSave           = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("BatchSave")));
     this.SubmitAction        = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.personsearch        = ((System.Windows.Controls.StackPanel)(this.FindName("personsearch")));
     this.searchbutton        = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.persons             = ((System.Windows.Controls.DataGrid)(this.FindName("persons")));
     this.personslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist")));
     this.yijingchaxue        = ((System.Windows.Controls.DockPanel)(this.FindName("yijingchaxue")));
     this.yijing     = ((System.Windows.Controls.DataGrid)(this.FindName("yijing")));
     this.yijinglist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("yijinglist")));
     this.main       = ((System.Windows.Controls.DockPanel)(this.FindName("main")));
     this.persongo   = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("persongo")));
     this.save       = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.submittip  = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
     this.deletettip = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
 //创建发票对象
 public GeneralObject CreateObj(GeneralObject source,double no)
 {
     GeneralObject go = new GeneralObject();
     go.EntityType = EntityType;
     string value = no.ToString();
     if (value.Length != BeginNo.ToString().Length)
     {
         for (int i = 0; i <= BeginNo.ToString().Length-value.Length; i++)
         {
             value = "0" + value;
         }
     }
     //发票号
     go.SetPropertyValue("f_invoicenum", value, true);
     //所属公司
     go.SetPropertyValue("f_filiale", source.GetPropertyValue("f_filiale"), true);
     //发票状态
     go.SetPropertyValue("f_fapiaostatue", "未用", true);
     //使用人
     go.SetPropertyValue("f_sgoperator", source.GetPropertyValue("f_sgoperator"), true);
     //分配人
     go.SetPropertyValue("f_operator", source.GetPropertyValue("f_operator"), true);
     //分配日期
     go.SetPropertyValue("f_date", source.GetPropertyValue("f_date"), true);
     return go;
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8A%98%E5%AD%90%E8%A1%A5%E6%89%93.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gongsitypelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("gongsitypelist")));
     this.card           = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.users          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("users")));
     this.sellinggas     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sellinggas")));
     this.fapiao         = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fapiao")));
     this.userfilego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
     this.UpdateSellgas  = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateSellgas")));
     this.Updatefapiao   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("Updatefapiao")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.tjczy_Copy     = ((System.Windows.Controls.ComboBox)(this.FindName("tjczy_Copy")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.userfile       = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.f_userid       = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.guoshuiprint   = ((System.Windows.Controls.Grid)(this.FindName("guoshuiprint")));
     this.fkprint        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fkprint")));
     this.zheziprint     = ((System.Windows.Controls.Grid)(this.FindName("zheziprint")));
     this.zheprint       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zheprint")));
     this.print1         = ((Com.Aote.Controls.PrintObj)(this.FindName("print1")));
     this.zzprint        = ((Com.Aote.Controls.PrintObj)(this.FindName("zzprint")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E8%A1%A5%E6%8A%98.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.bhzlist        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("bhzlist")));
     this.buzhefei       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("buzhefei")));
     this.zzobj          = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("zzobj")));
     this.print          = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("print")));
     this.printfp        = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("printfp")));
     this.updateuser     = ((Com.Aote.Behaviors.HQLAction)(this.FindName("updateuser")));
     this.users          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("users")));
     this.userfilego1    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego1")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfile       = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.ComboBox_road  = ((System.Windows.Controls.ComboBox)(this.FindName("ComboBox_road")));
     this.userfilesearch = ((System.Windows.Controls.Grid)(this.FindName("userfilesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.buzheprint     = ((System.Windows.Controls.Grid)(this.FindName("buzheprint")));
     this.fzprint        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fzprint")));
     this.guoshuiprint   = ((System.Windows.Controls.Grid)(this.FindName("guoshuiprint")));
     this.fkprint        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fkprint")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%B0%91%E7%94%A8%E6%8A%84%E8%A1%A8%E6%A0%B8%E6%9F%A5%E4%B8%8B%E8%B4" +
                                                                   "%A6.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.usertypelist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("usertypelist")));
     this.excel           = ((Com.Aote.ObjectTools.ExcelObj)(this.FindName("excel")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.jichalist       = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("jichalist")));
     this.handplanlist    = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("handplanlist")));
     this.trans           = ((Com.Aote.Behaviors.PageAction)(this.FindName("trans")));
     this.handplanlist2   = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("handplanlist2")));
     this.sellgaslist2    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("sellgaslist2")));
     this.sourceObj2      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sourceObj2")));
     this.toObj2          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("toObj2")));
     this.SaveAction      = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.usertype        = ((System.Windows.Controls.ComboBox)(this.FindName("usertype")));
     this.jiezhi          = ((System.Windows.Controls.DockPanel)(this.FindName("jiezhi")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.tj4             = ((System.Windows.Controls.DatePicker)(this.FindName("tj4")));
     this.xiaButton       = ((System.Windows.Controls.Button)(this.FindName("xiaButton")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
     this.deletettip      = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E7%94%A8%E6%88%B7%E4%BA%8B%E7%89%A9%E8%BF%87%E6%88%B7%E7%AE%A1%E7%90" +
                                                                   "%86.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.whf          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("whf")));
     this.applygo      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("applygo")));
     this.paylist      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("paylist")));
     this.ghfobj       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("ghfobj")));
     this.userfiles    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SaveAction   = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.qianfeiheji  = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("qianfeiheji")));
     this.kbsellgas    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("kbsellgas")));
     this.zzobj        = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("zzobj")));
     this.applysearch  = ((System.Windows.Controls.DockPanel)(this.FindName("applysearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.applys       = ((System.Windows.Controls.DataGrid)(this.FindName("applys")));
     this.applyslist   = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("applyslist")));
     this.apply        = ((System.Windows.Controls.Grid)(this.FindName("apply")));
     this.save         = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.kbgaslist    = ((System.Windows.Controls.DataGrid)(this.FindName("kbgaslist")));
     this.pager        = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.fazheprint   = ((System.Windows.Controls.Grid)(this.FindName("fazheprint")));
     this.fzprint      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fzprint")));
     this.zzprint      = ((Com.Aote.Controls.PrintObj)(this.FindName("zzprint")));
     this.submittip    = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%88%B6%E5%B7%A5%E7%A8%8B%E5%8D%A1.xaml", System.UriKind.Relative));
     this.LayoutRoot   = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.zonggongsi   = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.fgslist      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.card         = ((Com.Aote.ObjectTools.BJICCard)(this.FindName("card")));
     this.pinpailist   = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("pinpailist")));
     this.SaveAction   = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.applysearch  = ((System.Windows.Controls.DockPanel)(this.FindName("applysearch")));
     this.Comboxfx     = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.applys       = ((System.Windows.Controls.DataGrid)(this.FindName("applys")));
     this.applyslist   = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("applyslist")));
     this.apply        = ((System.Windows.Controls.Grid)(this.FindName("apply")));
     this.applygo      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("applygo")));
     this.CoboxPinpai  = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxPinpai")));
     this.DaXiaoKa     = ((System.Windows.Controls.ComboBox)(this.FindName("DaXiaoKa")));
     this.save         = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager        = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%85%B6%E4%BB%96%E8%A1%A5%E6%B0%94%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.regionlist      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("regionlist")));
     this.wangdianlist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("wangdianlist")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.usertypelist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("usertypelist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.qblist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qblist")));
     this.qjlist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qjlist")));
     this.statelist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("statelist")));
     this.bqinfosearch1   = ((System.Windows.Controls.DockPanel)(this.FindName("bqinfosearch1")));
     this.qtbqrq          = ((System.Windows.Controls.DatePicker)(this.FindName("qtbqrq")));
     this.qtbqrq1         = ((System.Windows.Controls.DatePicker)(this.FindName("qtbqrq1")));
     this.Combox8         = ((System.Windows.Controls.ComboBox)(this.FindName("Combox8")));
     this.region          = ((System.Windows.Controls.ComboBox)(this.FindName("region")));
     this.bqsearchbutton1 = ((System.Windows.Controls.Button)(this.FindName("bqsearchbutton1")));
     this.pagerq          = ((System.Windows.Controls.DataPager)(this.FindName("pagerq")));
     this.bqinfosq        = ((System.Windows.Controls.DataGrid)(this.FindName("bqinfosq")));
     this.bqinfoslistq    = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("bqinfoslistq")));
     this.applyqt         = ((System.Windows.Controls.Grid)(this.FindName("applyqt")));
     this.userfilegoqt    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilegoqt")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%B0%8F%E5%8C%BA%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.regionlist      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("regionlist")));
     this.wangdianlist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("wangdianlist")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.qblist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qblist")));
     this.qjlist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qjlist")));
     this.daninfoslist    = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("daninfoslist")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.tj2             = ((System.Windows.Controls.TextBox)(this.FindName("tj2")));
     this.tj3             = ((System.Windows.Controls.TextBox)(this.FindName("tj3")));
     this.Comboxfx        = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.region          = ((System.Windows.Controls.ComboBox)(this.FindName("region")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.tj4             = ((System.Windows.Controls.DatePicker)(this.FindName("tj4")));
     this.tj8             = ((System.Windows.Controls.DatePicker)(this.FindName("tj8")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
 }
 /// <summary>
 /// 安检单列表选择改变
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void checkerGrid_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     GeneralObject item = checkerGrid.SelectedItem as GeneralObject;
     if (item == null)
         return;
     GeneralObject go = new GeneralObject();
     go.WebClientInfo = Application.Current.Resources["dbclient"] as WebClientInfo;
     go.EntityType = "T_INSPECTION";
     if (!item.GetPropertyValue("CONDITION").Equals("未检"))
     {
         go.Path = "one/select distinct t from T_INSPECTION t left join fetch t.LINES where t.id ='" + item.GetPropertyValue("id").ToString() + "'";
         go.DataLoaded += go_DataLoaded;
         //if (!item.GetPropertyValue("CONDITION").Equals("正常"))
         //    userfile.IsEnabled = false;
         //else
         //    userfile.IsEnabled = true;
         go.Load();
     }
     else
     {
         userfile.DataContext = null;
         ClearAll();
         //userfile.IsEnabled = false;
     }
 }
 void wc_UploadStringCompleted(object sender, UploadStringCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         JsonArray items = JsonValue.Parse(e.Result) as JsonArray;
         ObjectList list = new ObjectList();
         list.EntityType = "T_INSPECTION_LINE";
         foreach(JsonObject row in items)
         {
             GeneralObject go = new GeneralObject();
             go.EntityType = "T_INSPECTION_LINE";
             go.SetPropertyValue("precaution", row["precaution"], true);
             go.SetPropertyValue("road", row["road"], true);
             go.SetPropertyValue("unit_name", row["unit_name"], true);
             go.SetPropertyValue("cus_dom", row["cus_dom"], true);
             go.SetPropertyValue("cus_dy", row["cus_dy"], true);
             go.SetPropertyValue("cus_floor", row["cus_floor"], true);
             go.SetPropertyValue("cus_room", row["cus_room"], true);
             go.SetPropertyValue("user_name", row["user_name"], true);
             go.SetPropertyValue("telphone", row["telphone"], true);
             go.SetPropertyValue("departure_time", row["departure_time"], true);
             go.SetPropertyValue("precaution_notified", row["precaution_notified"], true);
             go.SetPropertyValue("sn", row["sn"], true);
             list.Add(go);
         }
         paperGrid.ItemsSource = list;
     }
 }       
Esempio n. 23
0
 //解析pos机数据
 private GeneralObject parsePos(string info)
 {
     //登陆用户
     //CommonObject user = (CommonObject)Application.Current.Resources["loginuser"];
     GeneralObject co = new GeneralObject();
     char[] ch = { '|' };
     string[] strs = info.Split(ch);
     //卡号
     co.SetValue("cardId", strs[0]); ;
     //操作员号
     co.SetValue("posOperate", strs[1]);
     //维修时间
     co.SetValue("repairsDate", parseDate(strs));
     //维修原因
     co.SetValue("repsirsReason", reason(strs));
     //维修结果
     //气量
     co.SetValue("gas", strs[6]);
     //  设备号
     co.SetValue("posCode", strs[7]);
     //表型
     co.SetValue("tabletype", tabletype(strs[8]));
     //操作员
     //co["opCode"] = user["userId"];
     ////操作地点
     ////CommonObject attributes = (CommonObject)user["attributes"];
     //co["opSpot"] = user["localport"];
     ////操作时间
     //DateTime dt = CalendarHelper.getServerDate();
     //co["opDate"] = dt.ToString("yyyy-MM-dd hh:mm:ss");
     return co;
 }
Esempio n. 24
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8E%89%E6%B0%94%E7%99%BB%E8%AE%B0.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card            = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.zhikashibailist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("zhikashibailist")));
     this.losttypelist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("losttypelist")));
     this.DeleteAction    = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.userfiles       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.SaveAction      = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.SubmitAction    = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.pipelinesearch  = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.searchbutton    = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines       = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist   = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline        = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.pipelinego      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("pipelinego")));
     this.save            = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.caozuo          = ((System.Windows.Controls.ComboBox)(this.FindName("caozuo")));
     this.pager           = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.submittip       = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
 }
Esempio n. 25
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8A%84%E8%A1%A8%E5%BD%95%E5%85%A5.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.personslist2  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist2")));
     this.tempobj       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tempobj")));
     this.tobj          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tobj")));
     this.save          = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.main          = ((System.Windows.Controls.Grid)(this.FindName("main")));
     this.personsearch  = ((System.Windows.Controls.WrapPanel)(this.FindName("personsearch")));
     this.searchbutton  = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.left          = ((System.Windows.Controls.DataGrid)(this.FindName("left")));
     this.personslist   = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist")));
     this.persongo      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("persongo")));
     this.personsearch2 = ((System.Windows.Controls.WrapPanel)(this.FindName("personsearch2")));
     this.nopeople      = ((System.Windows.Controls.DataGrid)(this.FindName("nopeople")));
     this.personslist1  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist1")));
     this.print         = ((Com.Aote.Controls.PrintObj)(this.FindName("print")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E7%A8%BD%E6%9F%A5%E7%BB%93%E6%9E%9C%E6%89%B9%E9%87%8F%E5%BD%95%E5%85" +
                                                                   "%A5.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.jichaxxlist     = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("jichaxxlist")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.jicha           = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("jicha")));
     this.jichalist       = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("jichalist")));
     this.jc              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("jc")));
     this.savelist        = ((Com.Aote.Behaviors.SaveForUserAction)(this.FindName("savelist")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.Comboxfx        = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.saveButton      = ((System.Windows.Controls.Button)(this.FindName("saveButton")));
     this.jichatj         = ((System.Windows.Controls.DataGrid)(this.FindName("jichatj")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E4%BA%A4%E6%98%93%E6%B1%87%E6%80%BB%E6%98%8E%E7%BB%86.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.excel           = ((Com.Aote.ObjectTools.ExcelObj)(this.FindName("excel")));
     this.czylist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("czylist")));
     this.gongsitypelist  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("gongsitypelist")));
     this.wangdianlist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("wangdianlist")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.usertypelist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("usertypelist")));
     this.fukuanfangshi   = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fukuanfangshi")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.qblist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qblist")));
     this.qjlist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qjlist")));
     this.payfeetypelist  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("payfeetypelist")));
     this.youxiaolist     = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("youxiaolist")));
     this.heji            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("heji")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.tj4             = ((System.Windows.Controls.DatePicker)(this.FindName("tj4")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
     this.daninfoslist    = ((Com.Aote.ObjectTools.PagedList)(this.FindName("daninfoslist")));
     this.print           = ((Com.Aote.Controls.PrintPageObj)(this.FindName("print")));
     this.sqprint1        = ((System.Windows.Controls.Grid)(this.FindName("sqprint1")));
     this.selllist        = ((System.Windows.Controls.DataGrid)(this.FindName("selllist")));
 }
Esempio n. 28
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E8%BF%90%E8%90%A5%E7%BB%8F%E7%90%86%E5%AE%A1%E6%A0%B8.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.minshgasnum    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("minshgasnum")));
     this.feishgasnum    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("feishgasnum")));
     this.DeleteAction   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.SubmitAction   = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines      = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist  = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline       = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.pipelinego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("pipelinego")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.submittip      = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E9%9D%9E%E6%B0%91%E7%94%A8%E6%8A%84%E8%A1%A8%E7%94%9F%E6%88%90.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.fgslist         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.qjlist          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("qjlist")));
     this.zonggongsi      = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.userfiles       = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfiles")));
     this.inputlist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("inputlist")));
     this.sourceObj       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sourceObj")));
     this.toObj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("toObj")));
     this.input           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("input")));
     this.trans           = ((Com.Aote.Behaviors.BatchTransformAction)(this.FindName("trans")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.tj              = ((System.Windows.Controls.ComboBox)(this.FindName("tj")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.saveButton      = ((System.Windows.Controls.Button)(this.FindName("saveButton")));
     this.biaoti          = ((System.Windows.Controls.TextBox)(this.FindName("biaoti")));
     this.tj1             = ((System.Windows.Controls.ComboBox)(this.FindName("tj1")));
     this.pager2          = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E9%93%B6%E8%A1%8C%E7%BD%91%E7%82%B9%E6%94%B6%E8%B4%B9%E6%B1%87%E6%80" +
                                                                   "%BB%E6%8A%A5%E8%A1%A8.xaml", System.UriKind.Relative));
     this.fukuanfangshilist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fukuanfangshilist")));
     this.wangdianlist      = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("wangdianlist")));
     this.fgslist           = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zhyxwd            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhyxwd")));
     this.zhybcwd           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhybcwd")));
     this.zhhxzhwd          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhhxzhwd")));
     this.zhghgcwd          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhghgcwd")));
     this.zhzhlwd           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhzhlwd")));
     this.zhrmlwd           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zhrmlwd")));
     this.heji             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("heji")));
     this.infosearch       = ((System.Windows.Controls.DockPanel)(this.FindName("infosearch")));
     this.fukuanfangshi    = ((System.Windows.Controls.ComboBox)(this.FindName("fukuanfangshi")));
     this.Comboxfx         = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.wangdian         = ((System.Windows.Controls.ComboBox)(this.FindName("wangdian")));
     this.searchbutton     = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.zhikong          = ((System.Windows.Controls.Button)(this.FindName("zhikong")));
     this.zhikong_Copy     = ((System.Windows.Controls.Button)(this.FindName("zhikong_Copy")));
     this.print            = ((Com.Aote.Controls.PrintObj)(this.FindName("print")));
     this.chaoyongqiprint1 = ((System.Windows.Controls.Grid)(this.FindName("chaoyongqiprint1")));
     this.cyqprint1        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("cyqprint1")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E6%8A%84%E8%A1%A8%E5%8D%95%E7%94%9F%E6%88%90.xaml", System.UriKind.Relative));
     this.LayoutRoot      = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.test1           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("test1")));
     this.excel           = ((Com.Aote.ObjectTools.ExcelObj)(this.FindName("excel")));
     this.search          = ((Com.Aote.ObjectTools.SearchObject)(this.FindName("search")));
     this.userfiles       = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfiles")));
     this.InsertHandplan  = ((Com.Aote.Behaviors.HQLAction)(this.FindName("InsertHandplan")));
     this.UpdateUserfile  = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateUserfile")));
     this.CreateHandplan  = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("CreateHandplan")));
     this.daninfosearch   = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.chargemaneger   = ((System.Windows.Controls.Button)(this.FindName("chargemaneger")));
     this.saveButton      = ((System.Windows.Controls.Button)(this.FindName("saveButton")));
     this.annex           = ((System.Windows.Controls.HyperlinkButton)(this.FindName("annex")));
     this.tj4             = ((System.Windows.Controls.TextBox)(this.FindName("tj4")));
     this.districtname    = ((System.Windows.Controls.ComboBox)(this.FindName("districtname")));
     this.pager           = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.daninfos        = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E8%A1%A5%E7%A3%81%E7%AE%A1%E7%90%86.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.zonggongsi     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.buzhefei       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("buzhefei")));
     this.fapiaogeshi    = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fapiaogeshi")));
     this.zzobj          = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("zzobj")));
     this.printfp        = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("printfp")));
     this.userfilego     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
     this.users          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("users")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfile       = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.usersearch     = ((System.Windows.Controls.Grid)(this.FindName("usersearch")));
     this.dasearchbutton = ((System.Windows.Controls.Button)(this.FindName("dasearchbutton")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userslist      = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userslist")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%AE%89%E6%A3%80%E8%AE%A1%E5%88%92.xaml", System.UriKind.Relative));
     this.LayoutRoot     = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pageResource   = ((Com.Aote.Marks.ResourceLoad)(this.FindName("pageResource")));
     this.openchild      = ((Com.Aote.ObjectTools.ChildWindowObj)(this.FindName("openchild")));
     this.ybuserfilego   = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("ybuserfilego")));
     this.userfileslist  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("userfileslist")));
     this.target         = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("target")));
     this.tempobj        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tempobj")));
     this.tobj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tobj")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton   = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles      = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.ybuserfile     = ((System.Windows.Controls.Grid)(this.FindName("ybuserfile")));
     this.userfiles1     = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles1")));
     this.toleft         = ((System.Windows.Controls.Button)(this.FindName("toleft")));
     this.alltoleft      = ((System.Windows.Controls.Button)(this.FindName("alltoleft")));
     this.toright        = ((System.Windows.Controls.Button)(this.FindName("toright")));
     this.alltoright     = ((System.Windows.Controls.Button)(this.FindName("alltoright")));
 }
Esempio n. 34
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E5%94%AE%E6%B0%94%E6%94%B6%E8%B4%B9.xaml", System.UriKind.Relative));
     this.LayoutRoot           = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.whf                  = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("whf")));
     this.xgys                 = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("xgys")));
     this.gsxiangou            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("gsxiangou")));
     this.cainuanji            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("cainuanji")));
     this.kbsellgas            = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("kbsellgas")));
     this.kbbysellgas          = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("kbbysellgas")));
     this.paylist              = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("paylist")));
     this.openxiangou          = ((Com.Aote.ObjectTools.ChildWindowObj)(this.FindName("openxiangou")));
     this.hunhes               = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("hunhes")));
     this.fbffobj              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fbffobj")));
     this.mwhfobj              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mwhfobj")));
     this.fwhfobj              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fwhfobj")));
     this.mxggasobj            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mxggasobj")));
     this.mzdgasobj            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mzdgasobj")));
     this.fzdgasobj            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fzdgasobj")));
     this.mygqlobj             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mygqlobj")));
     this.fapiaogeshi          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fapiaogeshi")));
     this.kbusers              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbusers")));
     this.kbfee                = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbfee")));
     this.fpinfosobj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosobj")));
     this.fillgas              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fillgas")));
     this.SaveAction           = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.UpdateCardTimes      = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateCardTimes")));
     this.DeleteFillgas        = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteFillgas")));
     this.UpdateSellgas        = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateSellgas")));
     this.Updatefapiao         = ((Com.Aote.Behaviors.HQLAction)(this.FindName("Updatefapiao")));
     this.UpdateUserfile       = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateUserfile")));
     this.RollbackAction       = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("RollbackAction")));
     this.UpdateBeginFeeAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateBeginFeeAction")));
     this.zzobj                = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("zzobj")));
     this.card                 = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("card")));
     this.zzprint              = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("zzprint")));
     this.sellgasprint         = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("sellgasprint")));
     this.whfprint             = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("whfprint")));
     this.userfilesearch       = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.kbfee1               = ((System.Windows.Controls.Grid)(this.FindName("kbfee1")));
     this.f_userid             = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.times                = ((System.Windows.Controls.TextBox)(this.FindName("times")));
     this.whfdate              = ((System.Windows.Controls.DatePicker)(this.FindName("whfdate")));
     this.save2                = ((System.Windows.Controls.Button)(this.FindName("save2")));
     this.kbgaslist            = ((System.Windows.Controls.DataGrid)(this.FindName("kbgaslist")));
     this.guoshuiprint         = ((System.Windows.Controls.Grid)(this.FindName("guoshuiprint")));
     this.fkprint              = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fkprint")));
     this.aofengprint          = ((System.Windows.Controls.Grid)(this.FindName("aofengprint")));
     this.fkprint1             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fkprint1")));
     this.zheziprint           = ((System.Windows.Controls.Grid)(this.FindName("zheziprint")));
     this.zheprint             = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zheprint")));
     this.submittip            = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
 }
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            //拿出datagrid所选数据
            GeneralObject go = OtherUserUnits.SelectedItem as GeneralObject;
            //拿出页面数据上下文
            GeneralObject updatehandplan = OtherUserUnit.DataContext as GeneralObject;
            //新建对象,往t_updatehandplan插入数据
            GeneralObject obj = new GeneralObject();
            try
            {
                obj.WebClientInfo = Application.Current.Resources["dbclient"] as WebClientInfo;
                obj.EntityType = "t_updateotherfee";
                obj.SetPropertyValue("f_userid", ui_userid.Text, false);
                obj.SetPropertyValue("f_username", ui_username.Text, false);
                obj.SetPropertyValue("f_address", ui_address.Text, false);
                obj.SetPropertyValue("f_sellid", go.GetPropertyValue("id").ToString(), false);


                obj.SetPropertyValue("f_feetype", go.GetPropertyValue("f_feetype").ToString(), false);
                obj.SetPropertyValue("f_newfeetype", ui_f_feetype.Text, false);
                obj.SetPropertyValue("f_fee", decimal.Parse(go.GetPropertyValue("f_fee").ToString()), false);
                obj.SetPropertyValue("f_newfee", decimal.Parse(ui_f_fee.Text), false);
                obj.SetPropertyValue("f_payfeevalid", go.GetPropertyValue("f_payfeevalid").ToString(), false);
                obj.SetPropertyValue("f_newpayfeevalid", ui_payfeevalid.SelectedValue, false);

                obj.SetPropertyValue("f_sellinggasoperator", ui_handplanoperator.Text, false);
                obj.SetPropertyValue("f_sellinggasdate", ui_handplandate.SelectedDate, false);
                obj.SetPropertyValue("f_updatenote", ui_updatenote.Text, false);
                obj.Name = "t_updateotherfee";
                //obj.Completed += obj_Completed;
                obj.Save();
            }
            catch (Exception a)
            {
                MessageBox.Show(a.Message);
            }
            //MessageBox.Show(go.GetPropertyValue("id").ToString());
           //  MessageBox.Show(ui_handplandate.SelectedDate.ToString());
            //oughtfee shifoujiaofei f_operator f_inputtor f_zhinajindate
            string sql = "update t_otherfee set f_feetype= '" + ui_f_feetype.Text +
              "',f_fee=" + decimal.Parse(ui_f_fee.Text) + ",f_payfeevalid='" + ui_payfeevalid.SelectedValue +
                 "' where id = " + go.GetPropertyValue("id");
           HQLAction action = new HQLAction();
           action.HQL = sql;
            action.WebClientInfo = Application.Current.Resources["dbclient"] as WebClientInfo;
            action.Name = "abc";
           action.Invoke();
            
            //如果数据有误,页面提示
            //回调页面保存按钮功能
            BatchExcuteAction save = (from p in loader.Res where p.Name.Equals("SaveAction") select p).First() as BatchExcuteAction;
            save.State = State.End;
            PagedObjectList save1 = (from p in loader.Res where p.Name.Equals("personlist") select p).First() as PagedObjectList;
            save1.IsOld = true;
            updatehandplan.New();
            
        }
        private void transformData(GeneralObject go)
        {
            ClearAll();

            if (go == null)
                return;

            PostUITask(go);
        }
Esempio n. 37
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E9%A2%86%E5%AF%BC.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.sellinggas = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("sellinggas")));
 }
        void 售气收费信息_Loaded(object sender, RoutedEventArgs e)
        {

            loginUser = (GeneralObject)FrameworkElementExtension.FindResource(this, "LoginUser");

            kbfee.DataLoaded += kbfee_DataLoaded;
            ThirdStairStairlist1.DataLoaded += ThirdStairStairlist1_DataLoaded;
            FourthStairlist1.DataLoaded += FourthStairlist1_DataLoaded;
            czylistnull1.DataLoaded += czylistnull1_DataLoaded;
        }
Esempio n. 39
0
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                                                                   "nent/Pages/%E9%9D%9E%E6%B0%91%E7%94%A8%E6%9C%BA%E8%A1%A8%E5%BB%BA%E6%A1%A3.xaml", System.UriKind.Relative));
     this.LayoutRoot       = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.units            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("units")));
     this.unitinfoslist    = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("unitinfoslist")));
     this.pinpailist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("pinpailist")));
     this.usegaslist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("usegaslist")));
     this.ksnumobj         = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("ksnumobj")));
     this.ksnumobj1        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("ksnumobj1")));
     this.openkafei        = ((Com.Aote.ObjectTools.ChildWindowObj)(this.FindName("openkafei")));
     this.whfobj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("whfobj")));
     this.dkfobj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("dkfobj")));
     this.xkfobj           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("xkfobj")));
     this.mzdgasobj        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("mzdgasobj")));
     this.fzdgasobj        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fzdgasobj")));
     this.hunhes           = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("hunhes")));
     this.devicelist       = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("devicelist")));
     this.DeleteAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("DeleteAction")));
     this.DeleteApply      = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteApply")));
     this.DeleteDevice     = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteDevice")));
     this.DeleteDirty      = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteDirty")));
     this.BatchSave        = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("BatchSave")));
     this.SubmitAction     = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.SaveAction       = ((Com.Aote.Behaviors.SyncActionFactory)(this.FindName("SaveAction")));
     this.getbianhao       = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("getbianhao")));
     this.saveu            = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("saveu")));
     this.userfilesearch   = ((System.Windows.Controls.Grid)(this.FindName("userfilesearch")));
     this.searchbutton     = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles        = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist    = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.userfile         = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.userfilego       = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
     this.save             = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.edite            = ((System.Windows.Controls.Button)(this.FindName("edite")));
     this.CoboxGasPro      = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxGasPro")));
     this.CoboxGas         = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxGas")));
     this.CoboxPinpai      = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxPinpai")));
     this.DaXiaoKa         = ((System.Windows.Controls.ComboBox)(this.FindName("DaXiaoKa")));
     this.unitinfosearch   = ((System.Windows.Controls.DockPanel)(this.FindName("unitinfosearch")));
     this.unitsearchbutton = ((System.Windows.Controls.Button)(this.FindName("unitsearchbutton")));
     this.unitinfos        = ((System.Windows.Controls.DataGrid)(this.FindName("unitinfos")));
     this.devices          = ((System.Windows.Controls.DataGrid)(this.FindName("devices")));
     this.pager            = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.submittip        = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip")));
     this.deletettip       = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
     this.savedone         = ((Com.Aote.Controls.MessageTipObj)(this.FindName("savedone")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%8A%84%E8%A1%A8%E5%8F%8A%E5%AE%89%E6%A3%80.xaml", System.UriKind.Relative));
     this.security = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("security")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.securityfiles = ((System.Windows.Controls.Grid)(this.FindName("securityfiles")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E4%BF%AE%E6%94%B9%E9%99%90%E8%B4%AD.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.apply = ((System.Windows.Controls.Grid)(this.FindName("apply")));
     this.applygo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("applygo")));
     this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
 }
Esempio n. 42
0
 private void PathListBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     PathListBox pathListBox = sender as PathListBox;
     if (selectObj != null)
     {
         selectObj.SetPropertyValue("childsShow", "Collapsed", false);
     }
     selectObj = pathListBox.SelectedItem as GeneralObject;
     if (selectObj != null)
     {
         selectObj.SetPropertyValue("childsShow", "Visible", false);
     }
 }
Esempio n. 43
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E8%AF%BB%E5%8D%A1.xaml", System.UriKind.Relative));
     this.card = ((Com.Aote.ObjectTools.ScriptObj)(this.FindName("card")));
     this.pinpailist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("pinpailist")));
     this.userfiles = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.userfile1 = ((System.Windows.Controls.Grid)(this.FindName("userfile1")));
     this.readsel = ((System.Windows.Controls.Grid)(this.FindName("readsel")));
     this.kaattr = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kaattr")));
     this.readcard = ((System.Windows.Controls.Button)(this.FindName("readcard")));
     this.CoboxPinpai = ((System.Windows.Controls.ComboBox)(this.FindName("CoboxPinpai")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E9%80%89%E6%8B%A9%E8%BD%AC%E6%8D%A2.xaml", System.UriKind.Relative));
     this.personsearch = ((System.Windows.Controls.Grid)(this.FindName("personsearch")));
     this.tempobj = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tempobj")));
     this.tobj = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("tobj")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.persons = ((System.Windows.Controls.DataGrid)(this.FindName("persons")));
     this.personslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist")));
     this.right = ((System.Windows.Controls.DataGrid)(this.FindName("right")));
     this.personslist1 = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist1")));
     this.personslist2 = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist2")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E8%A1%A8%E7%81%B6%E9%94%80%E5%94%AE%E8%B4%B9.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.userfilego = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
 }
 void dansearch_DownloadStringCompleted(object sender, DownloadStringCompletedEventArgs e)
 {
     //有错误
     if (e.Error != null)
     {
         MessageBox.Show(e.Error.Message);
     }
     else
     {
         //把数据转换成JSON
         JsonObject obj = JsonValue.Parse(e.Result) as JsonObject;
         JsonArray items = obj["rows"] as JsonArray;
         daninfos.ItemsSource = list;
         if (list.Size != 0)
             list.Clear();
         foreach (JsonObject json in items)
         {
             GeneralObject go = new GeneralObject();
             try
             {
                 go.EntityType = "t_";
                 go.SetPropertyValue("id", json["id"], false);//用户编号
                 go.SetPropertyValue("remote_key", json["remote_key"], false);//用户编号
                 go.SetPropertyValue("terminal_code", json["terminal_code"], false);//用户编号
                 go.SetPropertyValue("meter_code", json["meter_code"], false);//用户编号
                 go.SetPropertyValue("operate_type", json["operate_type"], false);//用户编号
                 go.SetPropertyValue("send_data", json["send_data"], false);//用户编号
                 go.SetPropertyValue("receive_data", json["receive_data"], false);//用户编号
                 go.SetPropertyValue("state", json["state"], false);//用户编号
                 go.SetPropertyValue("result", json["result"], false);//用户编号
                 go.SetPropertyValue("operator1",json["operator"], false);//用户编号
                 go.SetPropertyValue("des", json["des"], false);//用户编号
                 go.SetPropertyValue("create_date", json["create_date"], false);//用户编号
                 go.SetPropertyValue("company_code", json["company_code"], false);//用户编号
                 go.SetPropertyValue("telecomm_address", json["telecomm_address"], false);//用户编号
                 go.SetPropertyValue("customer_code",json["customer_code"], false);//用户编号
                 list.Add(go);
             }
             catch (Exception ex)
             {
                 MessageBox.Show(ex.Message);
                 return;
             }
         }
     }
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E5%85%AC%E5%91%8A%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.gonggao = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("gonggao")));
     this.annexlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("annexlist")));
     this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.pipelineslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipeline = ((System.Windows.Controls.Grid)(this.FindName("pipeline")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%8A%84%E8%A1%A8%E5%BD%95%E5%85%A5%E4%BF%AE%E6%94%B9.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.scbdw = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("scbdw")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.searchHandUserUnit = ((System.Windows.Controls.StackPanel)(this.FindName("searchHandUserUnit")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.handUserUnits = ((System.Windows.Controls.DataGrid)(this.FindName("handUserUnits")));
     this.personlist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("personlist")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.handUserUnit = ((System.Windows.Controls.Grid)(this.FindName("handUserUnit")));
     this.deletettip = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%A1%A3%E6%A1%88%E4%BF%AE%E6%94%B9%E5%AD%97%E6%AE%B5.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SubmitAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("SubmitAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.userfileslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("userfileslist")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.userfilego = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%97%A5%E6%9C%9F%E6%97%B6%E9%97%B4.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.personsearch = ((System.Windows.Controls.StackPanel)(this.FindName("personsearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.persons = ((System.Windows.Controls.DataGrid)(this.FindName("persons")));
     this.personslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("personslist")));
     this.person = ((System.Windows.Controls.DockPanel)(this.FindName("person")));
     this.persongo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("persongo")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.deletettip = ((Com.Aote.Controls.MessageTipObj)(this.FindName("deletettip")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E5%8F%91%E7%A5%A8%E4%BF%A1%E6%81%AF%E6%9F%A5%E7%9C%8B.xaml", System.UriKind.Relative));
     this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.fpinfossearch = ((System.Windows.Controls.DockPanel)(this.FindName("fpinfossearch")));
     this.zhikong = ((System.Windows.Controls.Button)(this.FindName("zhikong")));
     this.Comboxfx = ((System.Windows.Controls.ComboBox)(this.FindName("Comboxfx")));
     this.fpinfossearchbutton_Copy = ((System.Windows.Controls.Button)(this.FindName("fpinfossearchbutton_Copy")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.fpinfos = ((System.Windows.Controls.DataGrid)(this.FindName("fpinfos")));
     this.fpinfoslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("fpinfoslist")));
     this.fpinfo = ((System.Windows.Controls.Grid)(this.FindName("fpinfo")));
     this.fpinfosgo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosgo")));
 }
Esempio n. 52
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%A0%A1%E8%A1%A8.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.rect = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("rect")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.rectifysearch = ((System.Windows.Controls.Grid)(this.FindName("rectifysearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.rectifies = ((System.Windows.Controls.DataGrid)(this.FindName("rectifies")));
     this.rectifieslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("rectifieslist")));
     this.rectifyinfo = ((System.Windows.Controls.DockPanel)(this.FindName("rectifyinfo")));
     this.rectifyItem = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("rectifyItem")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E5%AE%89%E6%A3%80%E8%AE%A1%E5%88%92%E7%94%9F%E6%88%90.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.ybuserfilego = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("ybuserfilego")));
     this.userfileslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("userfileslist")));
     this.MakeCheck = ((Com.Aote.Behaviors.HQLAction)(this.FindName("MakeCheck")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.userfilesearch = ((System.Windows.Controls.DockPanel)(this.FindName("userfilesearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.userfiles = ((System.Windows.Controls.DataGrid)(this.FindName("userfiles")));
     this.ybuserfile = ((System.Windows.Controls.Grid)(this.FindName("ybuserfile")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E4%BF%AE%E6%94%B9%E5%8F%91%E7%A5%A8%E7%8A%B6%E6%80%81.xaml", System.UriKind.Relative));
     this.fpinfosgo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosgo")));
     this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.fpinfossearch = ((System.Windows.Controls.DockPanel)(this.FindName("fpinfossearch")));
     this.fpinfossearchbutton = ((System.Windows.Controls.Button)(this.FindName("fpinfossearchbutton")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.fpinfos = ((System.Windows.Controls.DataGrid)(this.FindName("fpinfos")));
     this.fpinfoslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("fpinfoslist")));
     this.fpinfo = ((System.Windows.Controls.Grid)(this.FindName("fpinfo")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E7%A8%BD%E6%9F%A5%E6%9C%AA%E4%BD%8F%E7%BD%AE%E7%A9%BA.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.jicha = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("jicha")));
     this.jichalist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("jichalist")));
     this.UpdateAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("UpdateAction")));
     this.daninfosearch = ((System.Windows.Controls.Grid)(this.FindName("daninfosearch")));
     this.dansearchbutton = ((System.Windows.Controls.Button)(this.FindName("dansearchbutton")));
     this.jichatj = ((System.Windows.Controls.DataGrid)(this.FindName("jichatj")));
     this.pager2 = ((System.Windows.Controls.DataPager)(this.FindName("pager2")));
     this.daninfos = ((System.Windows.Controls.DataGrid)(this.FindName("daninfos")));
 }
 private void action_Completed(object sender, System.ComponentModel.AsyncCompletedEventArgs e)
 {
     if (CoboxStair.SelectedValue.ToString() != "")
     {
         GeneralObject go = new GeneralObject();
         go.WebClientInfo = Application.Current.Resources["dbclient"] as WebClientInfo;
         go.EntityType = "t_changestairprice";
         go.SetPropertyValue("f_stairtype", CoboxStair.SelectedValue, false);
         go.SetPropertyValue("f_stair1amount", ui_stair1amount.Text, false);
         go.SetPropertyValue("f_stair2amount", ui_stair2amount.Text, false);
         go.SetPropertyValue("f_stair3amount", ui_stair3amount.Text, false);
         go.SetPropertyValue("f_stair1price", ui_stair1price.Text, false);
         go.SetPropertyValue("f_stair2price", ui_stair2price.Text, false);
         go.SetPropertyValue("f_stair3price", ui_stair3price.Text, false);
         go.SetPropertyValue("f_stair4price", ui_stair4price.Text, false);
         go.SetPropertyValue("f_stairmonths", ui_stairmonths.Text, false);
         go.SetPropertyValue("f_operator", ui_operator.Text, false);
         go.SetPropertyValue("f_operdate", ui_operdate.SelectedDate, false);
         go.SetPropertyValue("f_counts", ui_counts.Text, false);
         if (ui_usertype.SelectedValue != null)
         {
             go.SetPropertyValue("f_usertype", ui_usertype.SelectedValue, false);
         }
         if (ui_gasmeterstyle.SelectedValue != null)
         {
             go.SetPropertyValue("f_gasmeterstyle", ui_gasmeterstyle.SelectedValue, false);
         }
         if (ui_gaspricetype.SelectedValue != null)
         {
             go.SetPropertyValue("f_gasmeterstyle", ui_gaspricetype.SelectedValue, false);
         }
         go.Name = "t_changestairprice";
         go.Completed += obj_Completed;
         go.Save();
     }
     else
     {
         MessageBox.Show("请输入阶梯气价类型!");
         ui_searchBusy.IsBusy = false;
         return;
     }
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E9%9D%9E%E6%B0%91%E7%94%A8%E6%8A%84%E8%A1%A8%E5%BD%95%E5%85%A5.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.input = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("input")));
     this.userfiles = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfiles")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.inputinfo = ((System.Windows.Controls.Grid)(this.FindName("inputinfo")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.usersearch = ((System.Windows.Controls.Grid)(this.FindName("usersearch")));
     this.dasearchbutton = ((System.Windows.Controls.Button)(this.FindName("dasearchbutton")));
     this.inputs = ((System.Windows.Controls.DataGrid)(this.FindName("inputs")));
     this.inputlist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("inputlist")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E6%89%B9%E9%87%8F%E4%BF%AE%E6%94%B9%E6%9F%A5%E8%AF%A2.xaml", System.UriKind.Relative));
     this.fgslist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("fgslist")));
     this.zonggongsi = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("zonggongsi")));
     this.biangeng = ((System.Windows.Controls.Grid)(this.FindName("biangeng")));
     this.userfileslist = ((System.Windows.Controls.DataGrid)(this.FindName("userfileslist")));
     this.fileschange = ((System.Windows.Controls.DataGrid)(this.FindName("fileschange")));
     this.bkinfosearch = ((System.Windows.Controls.DockPanel)(this.FindName("bkinfosearch")));
     this.danbginfosearch = ((System.Windows.Controls.Grid)(this.FindName("danbginfosearch")));
     this.Combox3 = ((System.Windows.Controls.ComboBox)(this.FindName("Combox3")));
     this.dabgsearchbutton = ((System.Windows.Controls.Button)(this.FindName("dabgsearchbutton")));
     this.pager0 = ((System.Windows.Controls.DataPager)(this.FindName("pager0")));
     this.bkinfos = ((System.Windows.Controls.DataGrid)(this.FindName("bkinfos")));
     this.danbginfoslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("danbginfoslist")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E5%88%9D%E5%A7%8B%E5%8C%96%E8%B4%AD%E6%B0%94.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.card = ((Com.Aote.ObjectTools.NewGeneralICCard)(this.FindName("card")));
     this.users = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("users")));
     this.pipelineslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("pipelineslist")));
     this.pipelinesearch = ((System.Windows.Controls.DockPanel)(this.FindName("pipelinesearch")));
     this.searchbutton = ((System.Windows.Controls.Button)(this.FindName("searchbutton")));
     this.pipelines = ((System.Windows.Controls.DataGrid)(this.FindName("pipelines")));
     this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.cancel = ((System.Windows.Controls.Button)(this.FindName("cancel")));
     this.f_userid = ((System.Windows.Controls.TextBox)(this.FindName("f_userid")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
 }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/%E5%A5%A5%E6%9E%AB%E7%87%83%E6%B0%94%E8%90%A5%E6%94%B6%E7%B3%BB%E7%BB%9FV3;compo" +
                 "nent/Pages/%E7%AE%A1%E7%90%86%E5%91%98%E7%99%BB%E5%BD%95.xaml", System.UriKind.Relative));
     this.glydl = ((Com.Aote.Controls.CustomChildWindow)(this.FindName("glydl")));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.SysTime = ((Com.Aote.ObjectTools.SystemTime)(this.FindName("SysTime")));
     this.GaoguanliUser = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("GaoguanliUser")));
     this.name = ((System.Windows.Controls.TextBox)(this.FindName("name")));
     this.password = ((System.Windows.Controls.PasswordBox)(this.FindName("password")));
     this.okbutton = ((System.Windows.Controls.Button)(this.FindName("okbutton")));
     this.xglimitgas = ((System.Windows.Controls.Grid)(this.FindName("xglimitgas")));
     this.apply = ((System.Windows.Controls.Grid)(this.FindName("apply")));
     this.applygo = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("applygo")));
     this.userfile = ((System.Windows.Controls.Grid)(this.FindName("userfile")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
 }