Beispiel #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 2:
                this.TaskbarIsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 3:
                this.TaskbarProgressStateComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.TaskbarProgressValueDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
                return;

            case 5:
                this.LoadingContent = ((Framework.UI.Controls.LoadingContent)(target));
                return;

            case 6:
                this.RingLoadingContent = ((Framework.UI.Controls.LoadingContent)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 26 "..\..\..\OverlayViews\CreateConnectionOverlayView.xaml"
     ((Elysium.Controls.CommandButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClick);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 32 "..\..\..\OverlayViews\CreateConnectionOverlayView.xaml"
     ((Elysium.Controls.CommandButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClick);
     
     #line default
     #line hidden
     return;
     case 3:
     this.HorizontalContentAlignmentComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.VerticalContentAlignmentComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.IsOverlayVisibleToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
     return;
     case 6:
     this.OverlayBackgroundTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 7:
     this.OverlayBorderBrushTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 8:
     this.OverlayBorderThicknessTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 9:
     this.OverlayMarginTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.OverlayOpacityTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
     return;
     case 12:
     this.ProgressDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
     return;
     case 13:
     this.TitleBarVisibilityComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 26 "..\..\..\Views\OverlayWindowExample.xaml"
                ((Elysium.Controls.CommandButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClick);

            #line default
            #line hidden
                return;

            case 2:

            #line 32 "..\..\..\Views\OverlayWindowExample.xaml"
                ((Elysium.Controls.CommandButton)(target)).Click += new System.Windows.RoutedEventHandler(this.OnClick);

            #line default
            #line hidden
                return;

            case 3:
                this.HorizontalContentAlignmentComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 4:
                this.VerticalContentAlignmentComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.IsOverlayVisibleToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 6:
                this.OverlayBackgroundTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.OverlayBorderBrushTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 8:
                this.OverlayBorderThicknessTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 9:
                this.OverlayMarginTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.OverlayOpacityTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 12:
                this.ProgressDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
                return;

            case 13:
                this.TitleBarVisibilityComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
     return;
     case 2:
     this.TaskbarIsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
     return;
     case 3:
     this.TaskbarProgressStateComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 4:
     this.TaskbarProgressValueDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
     return;
     case 5:
     this.LoadingContent = ((Framework.UI.Controls.LoadingContent)(target));
     return;
     case 6:
     this.RingLoadingContent = ((Framework.UI.Controls.LoadingContent)(target));
     return;
     }
     this._contentLoaded = true;
 }
Beispiel #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 34 "..\..\..\Views\WindowView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnShowBackgroundFadeWindow);

            #line default
            #line hidden
                return;

            case 2:

            #line 39 "..\..\..\Views\WindowView.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OnShowAccentTitleBarWindow);

            #line default
            #line hidden
                return;

            case 3:
                this.AllowsTransparencyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 4:
                this.BackgroundTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 5:
                this.BorderBrushTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 6:
                this.BorderThicknessTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 7:
                this.HasDropShadowToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 8:
                this.IsActiveToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 9:
                this.MaxHeightTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 10:
                this.MaxWidthTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 11:
                this.MinHeightTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 12:
                this.MinWidthTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 13:
                this.ResizeModeComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 14:
                this.ShowInTaskbarToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 15:
                this.SizeToContentComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 16:
                this.TopmostToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 17:
                this.WindowStartupLocationComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 18:
                this.WindowStateComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 19:
                this.WindowStyleComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 20:
                this.TitleBarBackgroundTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 21:
                this.TitleBarBorderBrushTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 22:
                this.TitleBarBorderThicknessTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 23:
                this.TitleBarContentTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 24:
                this.TitleBarVisibilityComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 25:
                this.TaskbarIsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 26:
                this.TaskbarProgressStateComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 27:
                this.TaskbarProgressValueDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
                return;

            case 28:
                this.TaskbarDescriptionTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 29:
                this.TaskbarOverlayTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 30:
                this.EffectColorTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 31:
                this.EffectBlurRadiusTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 32:
                this.EffectFocusedColorTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 33:
                this.EffectFocusedBlurRadiusTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 34:
                this.MarginTextBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 35:
                this.IsFullScreenToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 36:
                this.IsFullScreenShortcutsEnabledToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 37:
                this.IsBusyToggleSwitch = ((Elysium.Controls.ToggleSwitch)(target));
                return;

            case 38:
                this.ProgressDoubleUpDown = ((Framework.UI.Controls.DoubleUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }