public UC_SearchKeywordByItem(DevExpress.Xpf.Core.WaitIndicator c)
        {
            InitializeComponent();
            waitIndicator = c;
            wsProxy.GetItemKeywordsCompleted += new EventHandler <ServiceReference1.GetItemKeywordsCompletedEventArgs>(wsProxy_GetItemKeywordsCompleted);

            InitControlAndData();
        }
Exemplo n.º 2
0
 public UC_Index(DevExpress.Xpf.Core.WaitIndicator c)
 {
     InitializeComponent();
     waitIndicator = c;
     wsProxy.GetAllCampaignRptOnlineCompleted += new EventHandler <ServiceReference1.GetAllCampaignRptOnlineCompletedEventArgs>(wsProxy_GetAllCampaignRptOnlineCompleted);
     //Loaded += new RoutedEventHandler(UC_Index_Loaded);//改方法会在切换tab时再次执行,影响效率
     InitControlAndData();
 }
Exemplo n.º 3
0
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/SilverlightQLThuebao;component/LoginPage.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.txtusername = ((DevExpress.Xpf.Editors.TextEdit)(this.FindName("txtusername")));
     this.txtpassword = ((DevExpress.Xpf.Editors.PasswordBoxEdit)(this.FindName("txtpassword")));
     this.Login = ((System.Windows.Controls.TextBlock)(this.FindName("Login")));
     this.cmdLogin = ((System.Windows.Controls.Button)(this.FindName("cmdLogin")));
     this.prg = ((DevExpress.Xpf.Core.WaitIndicator)(this.FindName("prg")));
 }