示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.txtBarcodeInput = ((System.Windows.Controls.TextBox)(target));

            #line 12 "..\..\..\..\Page\Main.xaml"
                this.txtBarcodeInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBarcodeInput_TextChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.LoadingAdorner = ((AdornedControl.AdornedControl)(target));
                return;

            case 3:
                this.TimeCountdown = ((System.Windows.Controls.MediaElement)(target));
                return;

            case 4:
                this.TimeShot = ((System.Windows.Controls.MediaElement)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Main_Window = ((FlexInterfaceManager.MainWindow)(target));
     return;
     case 2:
     this.LoadingAdorner = ((AdornedControl.AdornedControl)(target));
     return;
     case 3:
     this.gridMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.lbCustomer = ((System.Windows.Controls.TreeView)(target));
     return;
     case 5:
     this.spFund = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.cbSelectFundType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.gbFund = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 8:
     this.spFundByRange = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.cbFundFrom = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 10:
     this.cbFundTo = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 11:
     this.gridFund = ((System.Windows.Controls.Grid)(target));
     return;
     case 12:
     this.cbFundAll = ((System.Windows.Controls.CheckBox)(target));
     
     #line 86 "..\..\..\MainWindow.xaml"
     this.cbFundAll.Checked += new System.Windows.RoutedEventHandler(this.cbFundAll_Checked);
     
     #line default
     #line hidden
     
     #line 86 "..\..\..\MainWindow.xaml"
     this.cbFundAll.Unchecked += new System.Windows.RoutedEventHandler(this.cbFundAll_Unchecked);
     
     #line default
     #line hidden
     return;
     case 13:
     this.dpFromTradeDay = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 14:
     this.dpToTradeDay = ((System.Windows.Controls.DatePicker)(target));
     return;
     case 15:
     this.cbDepositType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 16:
     this.QueryFundBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 17:
     this.gbUser = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 18:
     this.DepositSearchBtn = ((System.Windows.Controls.Button)(target));
     return;
     case 19:
     this.statusTxt = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.popupProgressMessage = ((FlexInterfaceManager.Model.NonTopmostPopup)(target));
     return;
     case 21:
     this.progressBar1 = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 22:
     this.textBlockProgressMessage = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.PopupLogin = ((FlexInterfaceManager.Model.NonTopmostPopup)(target));
     return;
     case 24:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.tbLoginName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 26:
     this.textBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 27:
     this.pwb = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 28:
     this.button1 = ((System.Windows.Controls.Button)(target));
     return;
     case 29:
     this.button2 = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.txtBarcodeInput = ((System.Windows.Controls.TextBox)(target));
     
     #line 12 "..\..\..\..\Page\Main.xaml"
     this.txtBarcodeInput.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.txtBarcodeInput_TextChanged);
     
     #line default
     #line hidden
     return;
     case 2:
     this.LoadingAdorner = ((AdornedControl.AdornedControl)(target));
     return;
     case 3:
     this.TimeCountdown = ((System.Windows.Controls.MediaElement)(target));
     return;
     case 4:
     this.TimeShot = ((System.Windows.Controls.MediaElement)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#4
0
        /// <summary>
        /// Event raised when the CloseAdornerTimeOut property has change.
        /// </summary>
        private static void CloseAdornerTimeOut_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            AdornedControl c = (AdornedControl)o;

            c.closeAdornerTimer.Interval = TimeSpan.FromSeconds(c.CloseAdornerTimeOut);
        }
示例#5
0
        /// <summary>
        /// Event raised when the value of IsAdornerVisible has changed.
        /// </summary>
        private static void IsAdornerVisible_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            AdornedControl c = (AdornedControl)o;

            c.ShowOrHideAdornerInternal();
        }
示例#6
0
        /// <summary>
        /// Event raised when the FadeOut command is executed.
        /// </summary>
        private static void FadeOutAdornerCommand_Executed(object target, ExecutedRoutedEventArgs e)
        {
            AdornedControl c = (AdornedControl)target;

            c.FadeOutAdorner();
        }
示例#7
0
 public LoadWindowViewModel(Window window, AdornedControl.AdornedControl spinner)
 {
     this.window   = window;
     this.spinner  = spinner;
     workspacePath = Settings.LastPath;
 }
示例#8
0
        /// <summary>
        /// Event raised when the IsAlwaysVisible property has changed.
        /// </summary>
        private static void IsAlwaysVisible_PropertyChanged(DependencyObject o, DependencyPropertyChangedEventArgs e)
        {
            AdornedControl c = (AdornedControl)o;

            c.IsAdornerVisible = true;
        }