Inheritance: GeneralObject
 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%B0%94%E5%9C%B0%E5%9D%80%20-%20%E5%89%AF%E6%9C%AC.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.applysearch    = ((System.Windows.Controls.Grid)(this.FindName("applysearch")));
     this.criteria       = ((Com.Aote.ObjectTools.SearchObject)(this.FindName("criteria")));
     this.cmbState       = ((System.Windows.Controls.ComboBox)(this.FindName("cmbState")));
     this.search         = ((System.Windows.Controls.Button)(this.FindName("search")));
     this.pager          = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.applys         = ((System.Windows.Controls.DataGrid)(this.FindName("applys")));
     this.applyslist     = ((Com.Aote.ObjectTools.PagedList)(this.FindName("applyslist")));
     this.apply          = ((System.Windows.Controls.DockPanel)(this.FindName("apply")));
     this.applygo        = ((Com.Aote.ObjectTools.GasADObject)(this.FindName("applygo")));
     this.cancel         = ((System.Windows.Controls.Button)(this.FindName("cancel")));
     this.save           = ((System.Windows.Controls.Button)(this.FindName("save")));
     this.previewButton  = ((System.Windows.Controls.Button)(this.FindName("previewButton")));
     this.conditionPanel = ((System.Windows.Controls.StackPanel)(this.FindName("conditionPanel")));
     this.districtname   = ((System.Windows.Controls.TextBox)(this.FindName("districtname")));
 }
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/%E5%AE%89%E6%A3%80%E5%9C%B0%E5%9D%80%E7%AE%A1%E7%90%86.xaml", System.UriKind.Relative));
     this.LayoutRoot    = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.apartmentxist = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("apartmentxist")));
     this.DeleteAction  = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SaveAction    = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.applysearch   = ((System.Windows.Controls.Grid)(this.FindName("applysearch")));
     this.pager         = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     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.GasADObject)(this.FindName("applygo")));
     this.Road          = ((System.Windows.Controls.TextBox)(this.FindName("Road")));
     this.Districtname  = ((System.Windows.Controls.TextBox)(this.FindName("Districtname")));
     this.CusDom        = ((System.Windows.Controls.TextBox)(this.FindName("CusDom")));
     this.CusDy         = ((System.Windows.Controls.TextBox)(this.FindName("CusDy")));
     this.CusFloor      = ((System.Windows.Controls.TextBox)(this.FindName("CusFloor")));
     this.Apartment     = ((System.Windows.Controls.TextBox)(this.FindName("Apartment")));
     this.save          = ((System.Windows.Controls.Button)(this.FindName("save")));
 }
 private void deleteTmpCompleted(object sender, UploadStringCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         //再保存数据到临时表
         Com.Aote.ObjectTools.GasADObject go2 = apply.DataContext as Com.Aote.ObjectTools.GasADObject;
         go2.PropertyChanged += go2_PropertyChanged;
         go2.Invoke();
     }
     else
     {
         MessageBox.Show("后台提取数据出错!");
         previewButton.IsEnabled = true;
         save.IsEnabled          = false;
         search.IsEnabled        = false;
         cancel.IsEnabled        = false;
     }
 }
 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%B0%94%E5%9C%B0%E5%9D%80%E5%89%AF%E6%9C%AC.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.applysearch = ((System.Windows.Controls.Grid)(this.FindName("applysearch")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     this.applys = ((System.Windows.Controls.DataGrid)(this.FindName("applys")));
     this.applyslist = ((Com.Aote.ObjectTools.PagedObjectList)(this.FindName("applyslist")));
     this.apply = ((System.Windows.Controls.DockPanel)(this.FindName("apply")));
     this.applygo = ((Com.Aote.ObjectTools.GasADObject)(this.FindName("applygo")));
     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/%E5%AE%89%E6%A3%80%E5%9C%B0%E5%9D%80%E7%AE%A1%E7%90%86.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.apartmentxist = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("apartmentxist")));
     this.DeleteAction = ((Com.Aote.Behaviors.HQLAction)(this.FindName("DeleteAction")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.applysearch = ((System.Windows.Controls.Grid)(this.FindName("applysearch")));
     this.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager")));
     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.GasADObject)(this.FindName("applygo")));
     this.Road = ((System.Windows.Controls.TextBox)(this.FindName("Road")));
     this.Districtname = ((System.Windows.Controls.TextBox)(this.FindName("Districtname")));
     this.CusDom = ((System.Windows.Controls.TextBox)(this.FindName("CusDom")));
     this.CusDy = ((System.Windows.Controls.TextBox)(this.FindName("CusDy")));
     this.CusFloor = ((System.Windows.Controls.TextBox)(this.FindName("CusFloor")));
     this.Apartment = ((System.Windows.Controls.TextBox)(this.FindName("Apartment")));
     this.save = ((System.Windows.Controls.Button)(this.FindName("save")));
 }