管理实体类型等信息,这个对象到后台调用服务获取hibernate元数据信息。 把hibernate的元数据信息转换成客户类型信息,进行统一管理。
Inheritance: System.Windows.DependencyObject, ILoadable, IAsyncObject, INotifyPropertyChanged
Exemplo n.º 1
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/Frame.xaml", System.UriKind.Relative));
     this.CustomTypes             = ((Com.Aote.ObjectTools.CustomTypes)(this.FindName("CustomTypes")));
     this.SecRefresh              = ((Com.Aote.ObjectTools.Timer)(this.FindName("SecRefresh")));
     this.FiveMinRefresh          = ((Com.Aote.ObjectTools.Timer)(this.FindName("FiveMinRefresh")));
     this.LoginUser               = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("LoginUser")));
     this.Organization            = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("Organization")));
     this.SysTime                 = ((Com.Aote.ObjectTools.SystemTime)(this.FindName("SysTime")));
     this.Seria                   = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seria")));
     this.Seriab                  = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriab")));
     this.Seriadw                 = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriadw")));
     this.Seriabj                 = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriabj")));
     this.Seriabjf                = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriabjf")));
     this.Seriahtm                = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtm")));
     this.Seriahtfmc              = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmc")));
     this.Seriahtfmg              = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmg")));
     this.Seriahtfmh              = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmh")));
     this.DW                      = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("DW")));
     this.arealist                = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("arealist")));
     this.citylist                = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("citylist")));
     this.guikoulist              = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("guikoulist")));
     this.gridlist                = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("gridlist")));
     this.roadlist                = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("roadlist")));
     this.yldjlist                = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("yldjlist")));
     this.buystylelist            = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("buystylelist")));
     this.statelist               = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("statelist")));
     this.installstylelist        = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("installstylelist")));
     this.kitcheninstallstylelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("kitcheninstallstylelist")));
     this.yesornolist             = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("yesornolist")));
     this.Clipboard               = ((Com.Aote.ObjectTools.ClipboardObj)(this.FindName("Clipboard")));
     this.single                  = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("single")));
     this.@params                 = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("params")));
     this.MainFrame               = ((System.Windows.Controls.ContentControl)(this.FindName("MainFrame")));
 }
Exemplo 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/Frame.xaml", System.UriKind.Relative));
     this.CustomTypes = ((Com.Aote.ObjectTools.CustomTypes)(this.FindName("CustomTypes")));
     this.SecRefresh = ((Com.Aote.ObjectTools.Timer)(this.FindName("SecRefresh")));
     this.FiveMinRefresh = ((Com.Aote.ObjectTools.Timer)(this.FindName("FiveMinRefresh")));
     this.LoginUser = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("LoginUser")));
     this.Organization = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("Organization")));
     this.SysTime = ((Com.Aote.ObjectTools.SystemTime)(this.FindName("SysTime")));
     this.Seria = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seria")));
     this.Seriab = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriab")));
     this.Seriadw = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriadw")));
     this.Seriabj = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriabj")));
     this.Seriabjf = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriabjf")));
     this.Seriahtm = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtm")));
     this.Seriahtfmc = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmc")));
     this.Seriahtfmg = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmg")));
     this.Seriahtfmh = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("Seriahtfmh")));
     this.DW = ((Com.Aote.ObjectTools.SeriaNumber)(this.FindName("DW")));
     this.arealist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("arealist")));
     this.citylist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("citylist")));
     this.guikoulist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("guikoulist")));
     this.gridlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("gridlist")));
     this.roadlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("roadlist")));
     this.yldjlist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("yldjlist")));
     this.buystylelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("buystylelist")));
     this.statelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("statelist")));
     this.installstylelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("installstylelist")));
     this.kitcheninstallstylelist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("kitcheninstallstylelist")));
     this.yesornolist = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("yesornolist")));
     this.Clipboard = ((Com.Aote.ObjectTools.ClipboardObj)(this.FindName("Clipboard")));
     this.single = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("single")));
     this.@params = ((Com.Aote.ObjectTools.ObjectList)(this.FindName("params")));
     this.MainFrame = ((System.Windows.Controls.ContentControl)(this.FindName("MainFrame")));
 }
Exemplo n.º 3
0
 /// <summary>
 /// 对象可以在xaml文件中构造,只构造一个对象实例。以后对象可以通过单例模式
 /// 进行访问。也可以访问xaml文件中的StaticResource,获得对象。
 /// </summary>
 public CustomTypes()
 {
     instance = this;
 }
Exemplo n.º 4
0
 /// <summary>
 /// 对象可以在xaml文件中构造,只构造一个对象实例。以后对象可以通过单例模式
 /// 进行访问。也可以访问xaml文件中的StaticResource,获得对象。
 /// </summary>
 public CustomTypes()
 {
     instance = this;
 }