示例#1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((Wordbook.MainWindow)(target));
                return;

            case 2:
                this.MainFlyout = ((MahApps.Metro.Controls.Flyout)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.MainFlyout.IsOpenChanged += new System.EventHandler(this.MainFlyoutOnIsOpenChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.MainContentControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 4:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 5:
                this.StatusBarContentControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InstantDelivery = ((InstantDelivery.Views.AdministratorShellView)(target));
                return;

            case 2:
                this.Kadry = ((System.Windows.Controls.Expander)(target));
                return;

            case 3:
                this.ManageUsersGroups = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.Konto = ((System.Windows.Controls.Expander)(target));
                return;

            case 5:
                this.ChangePassword = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transitionComposeContact = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 2:
                this.listContact = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 3:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 135 "..\..\..\..\Views\Dialogs\LookupContact.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 144 "..\..\..\..\Views\Dialogs\LookupContact.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#4
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            this.showBannerStoryboard = ((Storyboard)this.Template.Resources["ShowBannerStoryboard"]).Clone();
            this.hideBannerStoryboard = ((Storyboard)this.Template.Resources["HideBannerStoryboard"]).Clone();

            this.showControlStoryboard = ((Storyboard)this.Template.Resources["ShowControlStoryboard"]).Clone();
            this.hideControlStoryboard = ((Storyboard)this.Template.Resources["HideControlStoryboard"]).Clone();

            this.presenter = this.GetTemplateChild(PART_Presenter) as TransitioningContentControl;

            if (this.forwardButton != null)
            {
                this.forwardButton.Click -= this.NextButtonClick;
            }
            if (this.backButton != null)
            {
                this.backButton.Click -= this.PrevButtonClick;
            }
            if (this.upButton != null)
            {
                this.upButton.Click -= this.PrevButtonClick;
            }
            if (this.downButton != null)
            {
                this.downButton.Click -= this.NextButtonClick;
            }

            this.forwardButton = this.GetTemplateChild(PART_ForwardButton) as Button;
            this.backButton    = this.GetTemplateChild(PART_BackButton) as Button;
            this.upButton      = this.GetTemplateChild(PART_UpButton) as Button;
            this.downButton    = this.GetTemplateChild(PART_DownButton) as Button;

            this.bannerGrid  = this.GetTemplateChild(PART_BannerGrid) as Grid;
            this.bannerLabel = this.GetTemplateChild(PART_BannerLabel) as Label;

            if (this.forwardButton != null)
            {
                this.forwardButton.Click += this.NextButtonClick;
            }
            if (this.backButton != null)
            {
                this.backButton.Click += this.PrevButtonClick;
            }
            if (this.upButton != null)
            {
                this.upButton.Click += this.PrevButtonClick;
            }
            if (this.downButton != null)
            {
                this.downButton.Click += this.NextButtonClick;
            }

            if (this.bannerLabel != null)
            {
                this.bannerLabel.Opacity = this.IsBannerEnabled ? 1d : 0d;
            }
        }
 public TransitionDispatcher(TransitioningContentControl transCtrl,string dispatcherName, DispatcherTimer timer, string imageLogo, string imageText , TileSize transTileSize )
 {
     TransTimer = timer;
     ImageLogo = imageLogo;
     ImageText = imageText;
     TransControl = transCtrl;
     TransTileSize = transTileSize;
     TransTimer.Tag = dispatcherName;
 }
示例#6
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.LayoutRoot = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#7
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
 {
     switch (connectionId)
     {
     case 1:
         this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
         return;
     }
     this._contentLoaded = true;
 }
示例#8
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            presenter     = GetTemplateChild(PART_Presenter) as TransitioningContentControl;
            backButton    = GetTemplateChild(PART_BackButton) as Button;
            forwardButton = GetTemplateChild(PART_ForwardButton) as Button;
            bannerGrid    = GetTemplateChild(PART_BannerGrid) as Grid;
            bannerLabel   = GetTemplateChild(PART_BannerLabel) as Label;
        }
        private static void OnIsTransitioningPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TransitioningContentControl oldValue = (TransitioningContentControl)d;

            if (!oldValue._allowIsTransitioningWrite)
            {
                oldValue.IsTransitioning = (bool)e.OldValue;
                throw new InvalidOperationException();
            }
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Window = ((InstantDelivery.Views.ShellView)(target));
                return;

            case 2:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#11
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TopLevelMenuList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 2:
                this.ContentArea = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 2:
                this.txtPhoneNumber = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtMessage = ((System.Windows.Controls.TextBox)(target));
                return;

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

            case 5:
                this.rdoOneTime = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.rdoDaily = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 7:
                this.rdoWeekly = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.rdoMonthly = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.chkEnabled = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 10:
                this.btnOK = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.btnCancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#13
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ViewModel = ((HubCrawl.ViewModels.HubCrawlViewModel)(target));
                return;

            case 2:
                this.ModuleLayoutRoot = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#14
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.DrawerHost1 = ((MaterialDesignThemes.Wpf.DrawerHost)(target));
                return;

            case 2:
                this.menuItem_UserMaintenance = ((System.Windows.Controls.Button)(target));

            #line 19 "..\..\MainWindow.xaml"
                this.menuItem_UserMaintenance.Click += new System.Windows.RoutedEventHandler(this.menuItem_UserMaintenance_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.menuItem_PayrollEntries = ((System.Windows.Controls.Button)(target));

            #line 26 "..\..\MainWindow.xaml"
                this.menuItem_PayrollEntries.Click += new System.Windows.RoutedEventHandler(this.menuItem_PayrollEntries_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.TopBar = ((System.Windows.Controls.Grid)(target));
                return;

            case 5:
                this.Button_ShowMenu = ((System.Windows.Controls.Button)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.Button_ShowMenu.Click += new System.Windows.RoutedEventHandler(this.Button_ShowMenu_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.MainContent = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#15
0
 public override void OnApplyTemplate()
 {
     base.OnApplyTemplate();
     this.showBannerStoryboard  = ((Storyboard)base.Template.Resources["ShowBannerStoryboard"]).Clone();
     this.hideBannerStoryboard  = ((Storyboard)base.Template.Resources["HideBannerStoryboard"]).Clone();
     this.showControlStoryboard = ((Storyboard)base.Template.Resources["ShowControlStoryboard"]).Clone();
     this.hideControlStoryboard = ((Storyboard)base.Template.Resources["HideControlStoryboard"]).Clone();
     this.presenter             = base.GetTemplateChild("PART_Presenter") as TransitioningContentControl;
     this.backButton            = base.GetTemplateChild("PART_BackButton") as Button;
     this.forwardButton         = base.GetTemplateChild("PART_ForwardButton") as Button;
     this.upButton            = base.GetTemplateChild("PART_UpButton") as Button;
     this.downButton          = base.GetTemplateChild("PART_DownButton") as Button;
     this.bannerGrid          = base.GetTemplateChild("PART_BannerGrid") as Grid;
     this.bannerLabel         = base.GetTemplateChild("PART_BannerLabel") as Label;
     this.bannerLabel.Opacity = (this.IsBannerEnabled ? 1 : 0);
 }
示例#16
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 5 "..\..\..\View\MainWindow.xaml"
                ((CRM_Client.View.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 3:
                this.scrollMain = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 4:
                this.btnBack = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\..\View\MainWindow.xaml"
                this.btnBack.Click += new System.Windows.RoutedEventHandler(this.Button_Back_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.tbTitlePage = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 6:
                this.MainFrame = ((System.Windows.Controls.Frame)(target));

            #line 27 "..\..\..\View\MainWindow.xaml"
                this.MainFrame.Navigated += new System.Windows.Navigation.NavigatedEventHandler(this.Frame_MainWindow_Navigated);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#17
0
        public override void OnApplyTemplate()
        {
            base.OnApplyTemplate();

            ShowBannerStoryboard = ((Storyboard)this.Template.Resources["ShowBannerStoryboard"]).Clone();
            HideBannerStoryboard = ((Storyboard)this.Template.Resources["HideBannerStoryboard"]).Clone();

            ShowControlStoryboard = ((Storyboard)this.Template.Resources["ShowControlStoryboard"]).Clone();
            HideControlStoryboard = ((Storyboard)this.Template.Resources["HideControlStoryboard"]).Clone();

            presenter     = GetTemplateChild(PART_Presenter) as TransitioningContentControl;
            backButton    = GetTemplateChild(PART_BackButton) as Button;
            forwardButton = GetTemplateChild(PART_ForwardButton) as Button;
            bannerGrid    = GetTemplateChild(PART_BannerGrid) as Grid;
            bannerLabel   = GetTemplateChild(PART_BannerLabel) as Label;

            bannerLabel.Opacity = IsBannerEnabled ? 1.0 : 0.0;
        }
示例#18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.SideMenu = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;

            case 2:
                this.Header = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 3:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#19
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 2:
                this.OK = ((System.Windows.Controls.Button)(target));
                return;

            case 3:
                this.Cancel = ((System.Windows.Controls.Button)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LogoImg = ((System.Windows.Controls.Image)(target));
                return;

            case 2:
                this.ProductCatalogBtn = ((System.Windows.Controls.Button)(target));

            #line 36 "..\..\..\Views\ParentView.xaml"
                this.ProductCatalogBtn.Click += new System.Windows.RoutedEventHandler(this.ProductCatalogBtn_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.DishesCatalogBtn = ((System.Windows.Controls.Button)(target));

            #line 42 "..\..\..\Views\ParentView.xaml"
                this.DishesCatalogBtn.Click += new System.Windows.RoutedEventHandler(this.DishesCatalogBtn_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.ConfigurationBtn = ((System.Windows.Controls.Button)(target));

            #line 48 "..\..\..\Views\ParentView.xaml"
                this.ConfigurationBtn.Click += new System.Windows.RoutedEventHandler(this.ConfigurationBtn_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.Transition = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#21
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 23 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ChangeAppStyleButtonClick);

            #line default
            #line hidden
                return;

            case 2:
                this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#22
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 2:
                this.customTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 3:
                this.CustomTransition = ((System.Windows.VisualState)(target));
                return;

            case 4:
                this.SecondcustomTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 5:
                this.SecondCustomTransition = ((System.Windows.VisualState)(target));
                return;

            case 6:
                this.ShowBannerCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 7:
                this.ShowMouseOverCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 8:

            #line 161 "..\..\..\..\ExampleViews\OtherExamples.xaml"
                ((MahApps.Metro.Controls.FlipView)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FlipView_SelectionChanged);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#23
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 21 "..\..\MainWindow.xaml"
                ((SMSGatewayWpf.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.commands = ((MahApps.Metro.Controls.WindowCommands)(target));
                return;

            case 3:
                this.btnSettings = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnAbout = ((System.Windows.Controls.Button)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.btnAbout.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.transitionContentHome = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InstantDelivery = ((InstantDelivery.Views.CourierShellView)(target));
                return;

            case 2:
                this.Kadry = ((System.Windows.Controls.Expander)(target));
                return;

            case 3:
                this.ShowCourierProfile = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.ShowCourierPackages = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.DisplayMapOfCourierPackages = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.Konto = ((System.Windows.Controls.Expander)(target));
                return;

            case 7:
                this.ChangePassword = ((System.Windows.Controls.Button)(target));
                return;

            case 8:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
        private static void OnTransitionPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TransitioningContentControl transitioningContentControl = (TransitioningContentControl)d;
            TransitionType oldValue = (TransitionType)e.OldValue;
            TransitionType newValue = (TransitionType)e.NewValue;

            if (transitioningContentControl.IsTransitioning)
            {
                transitioningContentControl.AbortTransition();
            }
            Storyboard storyboard = transitioningContentControl.GetStoryboard(newValue);

            if (storyboard != null)
            {
                transitioningContentControl.CurrentTransition = storyboard;
                return;
            }
            if (MahApps.Metro.Controls.VisualStates.TryGetVisualStateGroup(transitioningContentControl, "PresentationStates") != null)
            {
                transitioningContentControl.SetValue(TransitioningContentControl.TransitionProperty, oldValue);
                throw new ArgumentException(string.Format(CultureInfo.CurrentCulture, "Temporary removed exception message", new object[] { newValue }));
            }
            transitioningContentControl.CurrentTransition = null;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroMainWindow = ((RFIDBackground.MainWindow)(target));
     
     #line 6 "..\..\MainWindow.xaml"
     this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 9 "..\..\MainWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 4:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.BaudComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 7:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 47 "..\..\MainWindow.xaml"
     this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
     return;
     case 11:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 12:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 13:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 2:
     this.txtPhoneNumber = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtMessage = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.txtTimeDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 5:
     this.rdoOneTime = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 6:
     this.rdoDaily = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 7:
     this.rdoWeekly = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 8:
     this.rdoMonthly = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.chkEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 10:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     return;
     case 11:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#28
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 27 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenTestCaseEdit);

            #line default
            #line hidden
                return;

            case 2:

            #line 42 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenTestSuiteEdit);

            #line default
            #line hidden
                return;

            case 3:

            #line 57 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSettings);

            #line default
            #line hidden
                return;

            case 4:

            #line 73 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenLogView);

            #line default
            #line hidden
                return;

            case 5:

            #line 88 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenSistemasView);

            #line default
            #line hidden
                return;

            case 6:

            #line 89 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenTelasView);

            #line default
            #line hidden
                return;

            case 7:

            #line 91 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.OpenAcoesView);

            #line default
            #line hidden
                return;

            case 8:
                this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 9:
                this.titleBarNew = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 10:
                this.AppBar = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 11:
                this.AppBarTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#29
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 2:
     this.OK = ((System.Windows.Controls.Button)(target));
     return;
     case 3:
     this.Cancel = ((System.Windows.Controls.Button)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#30
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 21 "..\..\MainWindow.xaml"
     ((SMSGatewayWpf.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.commands = ((MahApps.Metro.Controls.WindowCommands)(target));
     return;
     case 3:
     this.btnSettings = ((System.Windows.Controls.Button)(target));
     
     #line 56 "..\..\MainWindow.xaml"
     this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.btnAbout = ((System.Windows.Controls.Button)(target));
     
     #line 57 "..\..\MainWindow.xaml"
     this.btnAbout.Click += new System.Windows.RoutedEventHandler(this.btnAbout_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.transitionContentHome = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#31
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 2:
     this.txtMessage = ((System.Windows.Controls.TextBox)(target));
     return;
     case 3:
     this.txtTimeDate = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.pnlOneTime = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 5:
     this.rdoOneTime = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 6:
     this.pnlDaily = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.rdoDaily = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 8:
     this.rdoWeekly = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 9:
     this.rdoMonthly = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 10:
     this.chkEnabled = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 11:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 275 "..\..\..\..\Views\Dialogs\ComposeMessage.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 281 "..\..\..\..\Views\Dialogs\ComposeMessage.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroOperateWindow = ((RFIDStorageUltimate.OperateWindow)(target));
     
     #line 7 "..\..\OperateWindow.xaml"
     this.MetroOperateWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroOperateWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 10 "..\..\OperateWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 4:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 5:
     this.IntQComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.PowerComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.OperateComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 39 "..\..\OperateWindow.xaml"
     this.OperateComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.OperateComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 9:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.MenuPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 55 "..\..\OperateWindow.xaml"
     this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
     return;
     case 14:
     this.ShowUserControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 15:
     this.ShowUserTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.ShowOperateControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 17:
     this.ShowOperateTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.ShowScanCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 19:
     this.ShowScanCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 20:
     this.ShowScanKnowCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 21:
     this.ShowScanKnowCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.ShowScanUnknowCountControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 23:
     this.ShowScanUnknowCountTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 25:
     this.OperateDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 26:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 27:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 28:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.settingsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 2:
     
     #line 84 "..\..\..\CleanWindowDemo.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 85 "..\..\..\CleanWindowDemo.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Button_Click_1);
     
     #line default
     #line hidden
     return;
     case 4:
     this.tc = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 5:
     this.lb = ((System.Windows.Controls.ListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#34
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.transitionComposeContact = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 2:
     this.btnOK = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\..\..\Views\Dialogs\ComposeContact.xaml"
     this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnCancel = ((System.Windows.Controls.Button)(target));
     
     #line 81 "..\..\..\..\Views\Dialogs\ComposeContact.xaml"
     this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 70 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchVisualStudioDemo);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 71 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchFlyoutDemo);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 72 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchIcons);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 73 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LauchCleanDemo);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 75 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InteropDemo);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 76 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchNavigationDemo);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 92 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ThemeLight);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 93 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ThemeDark);
     
     #line default
     #line hidden
     return;
     case 9:
     this.UseAccentForDialogsMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 10:
     
     #line 101 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowInputDialog);
     
     #line default
     #line hidden
     return;
     case 11:
     
     #line 102 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowMessageDialog);
     
     #line default
     #line hidden
     return;
     case 12:
     
     #line 103 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowProgressDialog);
     
     #line default
     #line hidden
     return;
     case 13:
     
     #line 104 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowSimpleDialog);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 105 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowDialogOutside);
     
     #line default
     #line hidden
     return;
     case 15:
     this.enabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 16:
     this.visibleSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 17:
     this.waitingTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 18:
     this.test1 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 19:
     this.test2 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 20:
     this.test = ((MahApps.Metro.Controls.NumericUpDown)(target));
     return;
     case 21:
     this.groupingComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 22:
     this.horizSlider = ((System.Windows.Controls.Slider)(target));
     return;
     case 23:
     this.indeterminateCB = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 24:
     
     #line 1096 "..\..\..\MainWindow.xaml"
     ((MahApps.Metro.Controls.MetroTabControl)(target)).TabItemClosingEvent += new MahApps.Metro.Controls.BaseMetroTabControl.TabItemClosingEventHandler(this.MetroTabControl_TabItemClosingEvent);
     
     #line default
     #line hidden
     return;
     case 25:
     this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 26:
     this.customTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 27:
     this.CustomTransition = ((System.Windows.VisualState)(target));
     return;
     case 28:
     this.SecondcustomTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 29:
     this.SecondCustomTransition = ((System.Windows.VisualState)(target));
     return;
     case 30:
     this.ShowBannerCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 31:
     
     #line 1321 "..\..\..\MainWindow.xaml"
     ((MahApps.Metro.Controls.FlipView)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FlipView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.transitionComposeMessage = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 2:
                this.txtMessage = ((System.Windows.Controls.TextBox)(target));
                return;

            case 3:
                this.txtTimeDate = ((System.Windows.Controls.TextBox)(target));
                return;

            case 4:
                this.pnlOneTime = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 5:
                this.rdoOneTime = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 6:
                this.pnlDaily = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 7:
                this.rdoDaily = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 8:
                this.rdoWeekly = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 9:
                this.rdoMonthly = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 10:
                this.chkEnabled = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 11:
                this.btnOK = ((System.Windows.Controls.Button)(target));

            #line 275 "..\..\..\..\Views\Dialogs\ComposeMessage.xaml"
                this.btnOK.Click += new System.Windows.RoutedEventHandler(this.btnOK_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.btnCancel = ((System.Windows.Controls.Button)(target));

            #line 281 "..\..\..\..\Views\Dialogs\ComposeMessage.xaml"
                this.btnCancel.Click += new System.Windows.RoutedEventHandler(this.btnCancel_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#37
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroAdminWindow = ((RFIDStorageUltimate.AdminWindow)(target));
     
     #line 7 "..\..\AdminWindow.xaml"
     this.MetroAdminWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroAdminWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 9 "..\..\AdminWindow.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.TextBoxButtonCmd);
     
     #line default
     #line hidden
     return;
     case 3:
     this.SetButton = ((System.Windows.Controls.Button)(target));
     
     #line 13 "..\..\AdminWindow.xaml"
     this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 5:
     this.SerialComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 6:
     this.IntQComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 7:
     this.PowerComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 8:
     this.GoodsNameComboBox = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 9:
     this.ClearSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 10:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 11:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.MenuPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     this.SearchTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 62 "..\..\AdminWindow.xaml"
     this.SearchTextBox.KeyDown += new System.Windows.Input.KeyEventHandler(this.SearchTextBox_KeyDown);
     
     #line default
     #line hidden
     return;
     case 15:
     this.BrowseInfoButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 77 "..\..\AdminWindow.xaml"
     this.BrowseInfoButton.Click += new System.Windows.RoutedEventHandler(this.BrowseInfoButton_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.RegisterLabelButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 80 "..\..\AdminWindow.xaml"
     this.RegisterLabelButton.Click += new System.Windows.RoutedEventHandler(this.RegisterLabelButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.GoodsManageButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 83 "..\..\AdminWindow.xaml"
     this.GoodsManageButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageButton_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.UserManageButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 86 "..\..\AdminWindow.xaml"
     this.UserManageButton.Click += new System.Windows.RoutedEventHandler(this.UserManageButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.StatisticsViewButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 89 "..\..\AdminWindow.xaml"
     this.StatisticsViewButton.Click += new System.Windows.RoutedEventHandler(this.StatisticsViewButton_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.ViewPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 21:
     this.OperateControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 22:
     this.BrowsePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 23:
     this.GoodsDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 24:
     this.RegisterDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 25:
     this.UserDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 26:
     this.InDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 27:
     this.OutDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 28:
     this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
     return;
     case 29:
     this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 30:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 31:
     this.ExtraPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 32:
     this.RegisterPanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 33:
     this.RegisterScanningButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 192 "..\..\AdminWindow.xaml"
     this.RegisterScanningButton.Click += new System.Windows.RoutedEventHandler(this.RegisterScanningButton_Click);
     
     #line default
     #line hidden
     return;
     case 34:
     this.ScanningImage = ((System.Windows.Controls.Image)(target));
     return;
     case 35:
     this.RegisterCleanButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 201 "..\..\AdminWindow.xaml"
     this.RegisterCleanButton.Click += new System.Windows.RoutedEventHandler(this.RegisterCleanButton_Click);
     
     #line default
     #line hidden
     return;
     case 36:
     this.LabelList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 37:
     this.ReadInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 38:
     this.RegisterReadButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 217 "..\..\AdminWindow.xaml"
     this.RegisterReadButton.Click += new System.Windows.RoutedEventHandler(this.RegisterReadButton_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.RegisterWriteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 220 "..\..\AdminWindow.xaml"
     this.RegisterWriteButton.Click += new System.Windows.RoutedEventHandler(this.RegisterWriteButton_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.RegisterImage = ((System.Windows.Controls.Image)(target));
     return;
     case 41:
     this.UserManagePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 42:
     this.UserList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 43:
     this.UsernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 44:
     this.PasswordTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 45:
     this.UserManageAddButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 240 "..\..\AdminWindow.xaml"
     this.UserManageAddButton.Click += new System.Windows.RoutedEventHandler(this.UserManageAddButton_Click);
     
     #line default
     #line hidden
     return;
     case 46:
     this.UserManageDeleteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 243 "..\..\AdminWindow.xaml"
     this.UserManageDeleteButton.Click += new System.Windows.RoutedEventHandler(this.UserManageDeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 47:
     this.UserManageUpdateButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 246 "..\..\AdminWindow.xaml"
     this.UserManageUpdateButton.Click += new System.Windows.RoutedEventHandler(this.UserManageUpdateButton_Click);
     
     #line default
     #line hidden
     return;
     case 48:
     this.GoodsManagePanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 49:
     this.GoodsListDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 50:
     this.OperatePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 51:
     this.GoodsManageAddButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 271 "..\..\AdminWindow.xaml"
     this.GoodsManageAddButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageAddButton_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this.GoodsManageDeleteButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 274 "..\..\AdminWindow.xaml"
     this.GoodsManageDeleteButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageDeleteButton_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     this.GoodsManageUpdateButton = ((MahApps.Metro.Controls.Tile)(target));
     
     #line 278 "..\..\AdminWindow.xaml"
     this.GoodsManageUpdateButton.Click += new System.Windows.RoutedEventHandler(this.GoodsManageUpdateButton_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     this.SearchPanel = ((MahApps.Metro.Controls.MetroContentControl)(target));
     return;
     case 55:
     this.SearchRegisterDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 56:
     this.SearchInDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 57:
     this.SearchOutDataGrid = ((System.Windows.Controls.DataGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MetroMainWindow = ((RFIDBackground.MainWindow)(target));

            #line 6 "..\..\MainWindow.xaml"
                this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);

            #line default
            #line hidden
                return;

            case 2:
                this.SetButton = ((System.Windows.Controls.Button)(target));

            #line 9 "..\..\MainWindow.xaml"
                this.SetButton.Click += new System.Windows.RoutedEventHandler(this.SetButton_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.SetFlyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

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

            case 5:
                this.BaudComboBox = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;

            case 7:
                this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 8:
                this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.SwitchButton = ((MahApps.Metro.Controls.Tile)(target));

            #line 47 "..\..\MainWindow.xaml"
                this.SwitchButton.Click += new System.Windows.RoutedEventHandler(this.SwitchButton_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.SwitchDropShadowEffect = ((System.Windows.Media.Effects.DropShadowEffect)(target));
                return;

            case 11:
                this.IndicateStatusBar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 12:
                this.StatusRing = ((MahApps.Metro.Controls.ProgressRing)(target));
                return;

            case 13:
                this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.transitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 2:
     this.customTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 3:
     this.CustomTransition = ((System.Windows.VisualState)(target));
     return;
     case 4:
     this.SecondcustomTransitioning = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 5:
     this.SecondCustomTransition = ((System.Windows.VisualState)(target));
     return;
     case 6:
     this.ShowBannerCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 7:
     this.ShowMouseOverCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 8:
     
     #line 161 "..\..\..\..\ExampleViews\OtherExamples.xaml"
     ((MahApps.Metro.Controls.FlipView)(target)).SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.FlipView_SelectionChanged);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#40
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.IpButton = ((System.Windows.Controls.Button)(target));
     
     #line 34 "..\..\MainWindow.xaml"
     this.IpButton.Click += new System.Windows.RoutedEventHandler(this.SettingButtonClicked);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 48 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickedMainButton);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 49 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.FileManageButtonOnClick);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 50 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowBottom);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 51 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAboutUs);
     
     #line default
     #line hidden
     return;
     case 6:
     this.tablControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 7:
     this.lb = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     
     #line 68 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickedMovieButton);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 71 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickedMusicButton);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 74 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ClickedGameButton);
     
     #line default
     #line hidden
     return;
     case 11:
     this.tc = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 12:
     this.RightView = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.DevicePanel1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 14:
     
     #line 92 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnDevice1);
     
     #line default
     #line hidden
     
     #line 93 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnContextMenu);
     
     #line default
     #line hidden
     
     #line 94 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ChangeSelectDevice1);
     
     #line default
     #line hidden
     
     #line 95 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).DragEnter += new System.Windows.DragEventHandler(this.DevicesDragEnter);
     
     #line default
     #line hidden
     
     #line 96 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).Drop += new System.Windows.DragEventHandler(this.DeviceFileOnDrop);
     
     #line default
     #line hidden
     return;
     case 15:
     this.DeviceNameBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 16:
     this.DevicePanel2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 17:
     
     #line 106 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnDevice2);
     
     #line default
     #line hidden
     
     #line 107 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnContextMenu);
     
     #line default
     #line hidden
     
     #line 108 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ChangeSelectDevice2);
     
     #line default
     #line hidden
     
     #line 109 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).DragEnter += new System.Windows.DragEventHandler(this.DevicesDragEnter);
     
     #line default
     #line hidden
     
     #line 110 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).Drop += new System.Windows.DragEventHandler(this.DeviceFileOnDrop);
     
     #line default
     #line hidden
     return;
     case 18:
     this.DeviceNameBlock2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.DevicePanel3 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 20:
     
     #line 121 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnDevice3);
     
     #line default
     #line hidden
     
     #line 122 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnContextMenu);
     
     #line default
     #line hidden
     
     #line 123 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ChangeSelectDevice3);
     
     #line default
     #line hidden
     
     #line 124 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).DragEnter += new System.Windows.DragEventHandler(this.DevicesDragEnter);
     
     #line default
     #line hidden
     
     #line 125 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).Drop += new System.Windows.DragEventHandler(this.DeviceFileOnDrop);
     
     #line default
     #line hidden
     return;
     case 21:
     this.DeviceNameBlock3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.DevicePanel4 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 23:
     
     #line 136 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnDevice3);
     
     #line default
     #line hidden
     
     #line 137 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.ClickOnContextMenu);
     
     #line default
     #line hidden
     
     #line 138 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ChangeSelectDevice4);
     
     #line default
     #line hidden
     
     #line 139 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).DragEnter += new System.Windows.DragEventHandler(this.DevicesDragEnter);
     
     #line default
     #line hidden
     
     #line 140 "..\..\MainWindow.xaml"
     ((System.Windows.Shapes.Rectangle)(target)).Drop += new System.Windows.DragEventHandler(this.DeviceFileOnDrop);
     
     #line default
     #line hidden
     return;
     case 24:
     this.DeviceNameBlock4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     
     #line 159 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToAllButtonOnMouseEnter);
     
     #line default
     #line hidden
     
     #line 160 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ToALLButtonOnClick);
     
     #line default
     #line hidden
     
     #line 162 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).DragEnter += new System.Windows.DragEventHandler(this.DevicesDragEnter);
     
     #line default
     #line hidden
     
     #line 163 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Drop += new System.Windows.DragEventHandler(this.DeviceFileOnDrop);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.InstantDelivery = ((InstantDelivery.Views.EmployeeShellView)(target));
                return;

            case 2:
                this.Kadry = ((System.Windows.Controls.Expander)(target));
                return;

            case 3:
                this.Employees = ((System.Windows.Controls.Button)(target));
                return;

            case 4:
                this.EmployeeAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 5:
                this.EmployeesManagedPackages = ((System.Windows.Controls.Button)(target));
                return;

            case 6:
                this.EmployeesUsedVehicles = ((System.Windows.Controls.Button)(target));
                return;

            case 7:
                this.Pojazdy = ((System.Windows.Controls.Expander)(target));
                return;

            case 8:
                this.VehiclesGeneral = ((System.Windows.Controls.Button)(target));
                return;

            case 9:
                this.VehiclesAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 10:
                this.VehicleManage = ((System.Windows.Controls.Button)(target));
                return;

            case 11:
                this.Packages = ((System.Windows.Controls.Expander)(target));
                return;

            case 12:
                this.GeneralPackages = ((System.Windows.Controls.Button)(target));
                return;

            case 13:
                this.PackageAdd = ((System.Windows.Controls.Button)(target));
                return;

            case 14:
                this.Zestawienia = ((System.Windows.Controls.Expander)(target));
                return;

            case 15:
                this.StatisticsDeliveredPackages = ((System.Windows.Controls.Button)(target));
                return;

            case 16:
                this.StatisticsEmployeesVehicles = ((System.Windows.Controls.Button)(target));
                return;

            case 17:
                this.Konto = ((System.Windows.Controls.Expander)(target));
                return;

            case 18:
                this.ChangePassword = ((System.Windows.Controls.Button)(target));
                return;

            case 19:
                this.ActiveItem = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MetroMainWindow = ((RFIDStorageUltimate.MainWindow)(target));
     
     #line 8 "..\..\MainWindow.xaml"
     this.MetroMainWindow.Closing += new System.ComponentModel.CancelEventHandler(this.MetroMainWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SkinButton = ((System.Windows.Controls.Button)(target));
     
     #line 11 "..\..\MainWindow.xaml"
     this.SkinButton.Click += new System.Windows.RoutedEventHandler(this.SkinButton_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.ThemeButton = ((System.Windows.Controls.Button)(target));
     
     #line 17 "..\..\MainWindow.xaml"
     this.ThemeButton.Click += new System.Windows.RoutedEventHandler(this.ThemeButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ThemeImage = ((System.Windows.Controls.Image)(target));
     return;
     case 5:
     this.MainControl = ((MahApps.Metro.Controls.TransitioningContentControl)(target));
     return;
     case 6:
     this.MainPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 7:
     this.TopPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 8:
     this.LinearPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 9:
     this.OperatePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 10:
     this.ImagePanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 11:
     this.LogoPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 12:
     this.TextPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 13:
     this.UsernameTextBox = ((System.Windows.Controls.TextBox)(target));
     return;
     case 14:
     this.UsernameValidationRule = ((RFIDStorageUltimate.NotNullValidationRule)(target));
     return;
     case 15:
     this.PasswordTextBox = ((System.Windows.Controls.TextBox)(target));
     
     #line 62 "..\..\MainWindow.xaml"
     this.PasswordTextBox.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.PasswordTextBox_PreviewKeyDown);
     
     #line default
     #line hidden
     return;
     case 16:
     this.PasswordValidationRule = ((RFIDStorageUltimate.NotNullValidationRule)(target));
     return;
     case 17:
     this.loginBar = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 18:
     this.LoginButton = ((System.Windows.Controls.Button)(target));
     
     #line 82 "..\..\MainWindow.xaml"
     this.LoginButton.Click += new System.Windows.RoutedEventHandler(this.LoginButton_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.StatusTextBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }