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%8D%A1%E8%A7%A3%E9%94%81.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.GeneralICCard)(this.FindName("card"))); this.userfilego = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("userfilego"))); 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.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/%E6%8E%89%E6%B0%94%E6%B0%94%E9%87%8F%E6%A0%B8%E5%AF%B9.xaml", System.UriKind.Relative)); this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot"))); this.card = ((Com.Aote.ObjectTools.GeneralICCard)(this.FindName("card"))); 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.pager = ((System.Windows.Controls.DataPager)(this.FindName("pager"))); this.submittip = ((Com.Aote.Controls.MessageTipObj)(this.FindName("submittip"))); }
private static void OnCanRewriteCardChanged(DependencyObject dp, DependencyPropertyChangedEventArgs e) { GeneralICCard card = (GeneralICCard)dp; if (card.CanRewriteCard) { card.ReWriteCard(); } }
//如果可以售气,调用售气过程 private static void OnCanSellGasChanged(DependencyObject dp, DependencyPropertyChangedEventArgs e) { GeneralICCard card = (GeneralICCard)dp; if (card.CanSellGas) { card.SellGas(); } }