Inheritance: CustomTypeHelper, IAsyncObject
 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")));
 }
示例#2
0
        //如果可以售气,调用售气过程
        private static void OnCanSellGasChanged(DependencyObject dp, DependencyPropertyChangedEventArgs e)
        {
            BJICCard card = (BJICCard)dp;

            if (card.CanSellGas)
            {
                card.SellGas();
                card.CanSellGas = 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/%E8%8B%8D%E5%8D%97%E6%B0%91%E7%94%A8%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.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.card           = ((Com.Aote.ObjectTools.BJICCard)(this.FindName("card")));
     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.kbusers        = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbusers")));
     this.kbfee          = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbfee")));
     this.SaveAction     = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.fpinfosobj     = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosobj")));
     this.BackSave       = ((Com.Aote.Behaviors.SyncActionFactory)(this.FindName("BackSave")));
     this.writecard      = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("writecard")));
     this.kasave         = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("kasave")));
     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.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.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.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/%E5%88%B6%E6%B8%85%E9%9B%B6%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/%E8%8B%8D%E5%8D%97%E6%B0%91%E7%94%A8%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.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.card = ((Com.Aote.ObjectTools.BJICCard)(this.FindName("card")));
     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.kbusers = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbusers")));
     this.kbfee = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("kbfee")));
     this.SaveAction = ((Com.Aote.Behaviors.BatchExcuteAction)(this.FindName("SaveAction")));
     this.fpinfosobj = ((Com.Aote.ObjectTools.GeneralObject)(this.FindName("fpinfosobj")));
     this.BackSave = ((Com.Aote.Behaviors.SyncActionFactory)(this.FindName("BackSave")));
     this.writecard = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("writecard")));
     this.kasave = ((Com.Aote.Behaviors.CallMethodAction)(this.FindName("kasave")));
     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.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.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.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")));
 }