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

            case 2:

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnCreateClick);

            #line default
            #line hidden
                return;

            case 3:

            #line 36 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnFilterClick);

            #line default
            #line hidden
                return;

            case 4:

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnImportClicked);

            #line default
            #line hidden
                return;

            case 5:

            #line 41 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.BtnCheckUpdateClicked);

            #line default
            #line hidden
                return;

            case 6:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 44 "..\..\MainWindow.xaml"
                this.MainTabControl.TabItemClosingEvent += new MahApps.Metro.Controls.BaseMetroTabControl.TabItemClosingEventHandler(this.MainTabControl_TabItemClosingEvent);

            #line default
            #line hidden
                return;

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

            #line 13 "..\..\..\..\Views\AboutView.xaml"
                ((MetroDemo.ExampleViews.AboutView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.AboutView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 3:

            #line 51 "..\..\..\..\Views\AboutView.xaml"
                ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);

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

            #line 13 "..\..\..\..\Views\StartView.xaml"
                ((MetroDemo.ExampleViews.StartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.StartView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            case 6:
                this.cbActions = ((System.Windows.Controls.ComboBox)(target));

            #line 72 "..\..\..\..\Views\StartView.xaml"
                this.cbActions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbActions_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 74 "..\..\..\..\Views\StartView.xaml"
                this.strtButton.Click += new System.Windows.RoutedEventHandler(this.strtButton_Click);

            #line default
            #line hidden
                return;

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

            #line 9 "..\..\..\..\Views\GenerateView.xaml"
                ((MetroDemo.ExampleViews.GenerateView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.GenerateView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 4:
                this.PublisherRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.SpacerRow = ((System.Windows.Controls.RowDefinition)(target));
                return;

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

            #line 76 "..\..\..\..\Views\GenerateView.xaml"
                this.ProductInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 82 "..\..\..\..\Views\GenerateView.xaml"
                this.InstallMsi.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\..\Views\GenerateView.xaml"
                this.InstallExecutable.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);

            #line default
            #line hidden
                return;

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

            #line 114 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstallerInfo.Click += new System.Windows.RoutedEventHandler(this.SignInstallerInfo_Click);

            #line default
            #line hidden
                return;

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

            #line 123 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstaller.Checked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);

            #line default
            #line hidden

            #line 123 "..\..\..\..\Views\GenerateView.xaml"
                this.SignInstaller.Unchecked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);

            #line default
            #line hidden
                return;

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

            #line 127 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenCertificateBrowser.Click += new System.Windows.RoutedEventHandler(this.OpenCertificateBrowser_OnClick);

            #line default
            #line hidden
                return;

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

            #line 130 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenCertGenerator.Click += new System.Windows.RoutedEventHandler(this.OpenCertGenerator_OnClick);

            #line default
            #line hidden
                return;

            case 13:
                this.Publisher = ((System.Windows.Controls.TextBox)(target));
                return;

            case 14:
                this.VersionInfoGen = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\..\..\Views\GenerateView.xaml"
                this.VersionInfoGen.Click += new System.Windows.RoutedEventHandler(this.VersionInfoGen_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.MajorVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 16:
                this.MinorVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 17:
                this.ReleaseVersion = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

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

            #line 222 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstallInfo.Click += new System.Windows.RoutedEventHandler(this.SilentInstallInfo_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.SilentInstall = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 231 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstall.Checked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);

            #line default
            #line hidden

            #line 231 "..\..\..\..\Views\GenerateView.xaml"
                this.SilentInstall.Unchecked += new System.EventHandler <System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);

            #line default
            #line hidden
                return;

            case 20:
                this.FilePathGen = ((System.Windows.Controls.Button)(target));

            #line 248 "..\..\..\..\Views\GenerateView.xaml"
                this.FilePathGen.Click += new System.Windows.RoutedEventHandler(this.FilePathGen_Click);

            #line default
            #line hidden
                return;

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

            #line 256 "..\..\..\..\Views\GenerateView.xaml"
                this.FileSavePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FileSavePath_OnTextChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.SaveButton = ((System.Windows.Controls.Button)(target));

            #line 259 "..\..\..\..\Views\GenerateView.xaml"
                this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.OpenExeFolderButton = ((System.Windows.Controls.Button)(target));

            #line 260 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenExeFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenExeFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 24:
                this.EmbedOfficeInstall = ((System.Windows.Controls.Button)(target));

            #line 282 "..\..\..\..\Views\GenerateView.xaml"
                this.EmbedOfficeInstall.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 25:
                this.IncludeBuild = ((System.Windows.Controls.CheckBox)(target));

            #line 290 "..\..\..\..\Views\GenerateView.xaml"
                this.IncludeBuild.Checked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);

            #line default
            #line hidden

            #line 290 "..\..\..\..\Views\GenerateView.xaml"
                this.IncludeBuild.Unchecked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);

            #line default
            #line hidden
                return;

            case 26:
                this.SourceFilePath = ((System.Windows.Controls.Grid)(target));
                return;

            case 27:
                this.SourceFilePathGen = ((System.Windows.Controls.Button)(target));

            #line 308 "..\..\..\..\Views\GenerateView.xaml"
                this.SourceFilePathGen.Click += new System.Windows.RoutedEventHandler(this.SourceFilePathGen_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.SourcePathLabel = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 319 "..\..\..\..\Views\GenerateView.xaml"
                this.BuildFilePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.BrowseSourcePathButton = ((System.Windows.Controls.Button)(target));

            #line 323 "..\..\..\..\Views\GenerateView.xaml"
                this.BrowseSourcePathButton.Click += new System.Windows.RoutedEventHandler(this.BrowseSourcePathButton_OnClick);

            #line default
            #line hidden
                return;

            case 31:
                this.OpenFolderButton = ((System.Windows.Controls.Button)(target));

            #line 325 "..\..\..\..\Views\GenerateView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 32:
                this.WaitImage = ((System.Windows.Controls.Image)(target));
                return;

            case 33:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 350 "..\..\..\..\Views\GenerateView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.GenerateButton = ((System.Windows.Controls.Button)(target));

            #line 351 "..\..\..\..\Views\GenerateView.xaml"
                this.GenerateButton.Click += new System.Windows.RoutedEventHandler(this.GenerateButton_OnClick);

            #line default
            #line hidden
                return;

            case 35:
                this.xmlBrowser = ((MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#7
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:
     
     #line 13 "..\..\..\..\Views\AboutView.xaml"
     ((MetroDemo.ExampleViews.AboutView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.AboutView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 3:
     
     #line 51 "..\..\..\..\Views\AboutView.xaml"
     ((System.Windows.Documents.Hyperlink)(target)).RequestNavigate += new System.Windows.Navigation.RequestNavigateEventHandler(this.Hyperlink_RequestNavigate);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 10 "..\..\MainWindow.xaml"
                ((DES_Algorithm.MainWindow)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Window_MouseDown);

            #line default
            #line hidden
                return;

            case 2:
                this.bor = ((System.Windows.Controls.Border)(target));
                return;

            case 3:
                this.maingrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.lblcrypt = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 249 "..\..\MainWindow.xaml"
                this.btnclose.Click += new System.Windows.RoutedEventHandler(this.btnClose_Click);

            #line default
            #line hidden
                return;

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

            #line 297 "..\..\MainWindow.xaml"
                this.btnmax.Click += new System.Windows.RoutedEventHandler(this.btnmaximize_Click);

            #line default
            #line hidden
                return;

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

            #line 313 "..\..\MainWindow.xaml"
                this.btnmin.Click += new System.Windows.RoutedEventHandler(this.btnminimize_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.tabcontrol = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 9:
                this.tbcdes = ((MahApps.Metro.Controls.MetroTabItem)(target));

            #line 324 "..\..\MainWindow.xaml"
                this.tbcdes.GotFocus += new System.Windows.RoutedEventHandler(this.tbcdes_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 341 "..\..\MainWindow.xaml"
                this.btnimport.Click += new System.Windows.RoutedEventHandler(this.btnimport_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.tabimportfile = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 12:
                this.rdbfile = ((System.Windows.Controls.RadioButton)(target));

            #line 396 "..\..\MainWindow.xaml"
                this.rdbfile.Checked += new System.Windows.RoutedEventHandler(this.rdbfile_Checked);

            #line default
            #line hidden
                return;

            case 13:
                this.rdbtext = ((System.Windows.Controls.RadioButton)(target));

            #line 397 "..\..\MainWindow.xaml"
                this.rdbtext.Checked += new System.Windows.RoutedEventHandler(this.rdbtext_Checked);

            #line default
            #line hidden
                return;

            case 14:
                this.btnencrypt = ((System.Windows.Controls.Button)(target));

            #line 408 "..\..\MainWindow.xaml"
                this.btnencrypt.Click += new System.Windows.RoutedEventHandler(this.btnencrypt_Click);

            #line default
            #line hidden
                return;

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

            #line 420 "..\..\MainWindow.xaml"
                this.btndecrypt.Click += new System.Windows.RoutedEventHandler(this.btndecrypt_Click);

            #line default
            #line hidden
                return;

            case 16:
                this.txtkey = ((System.Windows.Controls.TextBox)(target));
                return;

            case 17:
                this.txtiv = ((System.Windows.Controls.TextBox)(target));
                return;

            case 18:
                this.tabparagraph = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 19:
                this.tabencrypt = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 20:
                this.btnexportencrypt = ((System.Windows.Controls.Button)(target));

            #line 481 "..\..\MainWindow.xaml"
                this.btnexportencrypt.Click += new System.Windows.RoutedEventHandler(this.btnexportencrypt_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.tabdecrypt = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 22:
                this.btnexportdecrypt = ((System.Windows.Controls.Button)(target));

            #line 510 "..\..\MainWindow.xaml"
                this.btnexportdecrypt.Click += new System.Windows.RoutedEventHandler(this.btnexportdecrypt_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.tbci3des = ((MahApps.Metro.Controls.MetroTabItem)(target));

            #line 526 "..\..\MainWindow.xaml"
                this.tbci3des.GotFocus += new System.Windows.RoutedEventHandler(this.tbci3des_GotFocus);

            #line default
            #line hidden
                return;

            case 24:
                this.btnimport3DES = ((System.Windows.Controls.Button)(target));

            #line 543 "..\..\MainWindow.xaml"
                this.btnimport3DES.Click += new System.Windows.RoutedEventHandler(this.btnimport3DES_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.tabimportfile3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 26:
                this.rdbfile3DES = ((System.Windows.Controls.RadioButton)(target));

            #line 598 "..\..\MainWindow.xaml"
                this.rdbfile3DES.Checked += new System.Windows.RoutedEventHandler(this.rdbfile3DES_Checked);

            #line default
            #line hidden
                return;

            case 27:
                this.rdbtext3DES = ((System.Windows.Controls.RadioButton)(target));

            #line 599 "..\..\MainWindow.xaml"
                this.rdbtext3DES.Checked += new System.Windows.RoutedEventHandler(this.rdbtext3DES_Checked);

            #line default
            #line hidden
                return;

            case 28:
                this.btnencrypt3DES = ((System.Windows.Controls.Button)(target));

            #line 610 "..\..\MainWindow.xaml"
                this.btnencrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnencrypt3DES_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.btndecrypt3DES = ((System.Windows.Controls.Button)(target));

            #line 622 "..\..\MainWindow.xaml"
                this.btndecrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btndecrypt3DES_Click);

            #line default
            #line hidden
                return;

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

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

            case 32:
                this.tabparagraph3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 33:
                this.tabencrypt3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 34:
                this.btnexportencrypt3DES = ((System.Windows.Controls.Button)(target));

            #line 683 "..\..\MainWindow.xaml"
                this.btnexportencrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnexportencrypt3DES_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.tabdecrypt3DES = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 36:
                this.btnexportdecrypt3DES = ((System.Windows.Controls.Button)(target));

            #line 712 "..\..\MainWindow.xaml"
                this.btnexportdecrypt3DES.Click += new System.Windows.RoutedEventHandler(this.btnexportdecrypt3DES_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 23 "..\..\..\MainWindow.xaml"
     ((MetroDemo.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 82 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 93 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchMahAppsOnGitHub);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 109 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchSizeToContentDemo);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 112 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchVisualStudioDemo);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 115 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchFlyoutDemo);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 118 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchIcons);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 121 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LauchCleanDemo);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 125 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.InteropDemo);
     
     #line default
     #line hidden
     return;
     case 10:
     
     #line 128 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchNavigationDemo);
     
     #line default
     #line hidden
     return;
     case 11:
     this.MagicToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     return;
     case 12:
     this.UseAccentForDialogsMenuItem = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 13:
     
     #line 165 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowInputDialog);
     
     #line default
     #line hidden
     return;
     case 14:
     
     #line 167 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLoginDialog);
     
     #line default
     #line hidden
     return;
     case 15:
     
     #line 169 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLoginDialogPasswordPreview);
     
     #line default
     #line hidden
     return;
     case 16:
     
     #line 171 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowMessageDialog);
     
     #line default
     #line hidden
     return;
     case 17:
     
     #line 173 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLimitedMessageDialog);
     
     #line default
     #line hidden
     return;
     case 18:
     
     #line 175 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowProgressDialog);
     
     #line default
     #line hidden
     return;
     case 19:
     
     #line 177 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowCustomDialog);
     
     #line default
     #line hidden
     return;
     case 20:
     
     #line 179 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowDialogOutside);
     
     #line default
     #line hidden
     return;
     case 21:
     
     #line 181 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAwaitCustomDialog);
     
     #line default
     #line hidden
     return;
     case 22:
     
     #line 205 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithBorderOnClick);
     
     #line default
     #line hidden
     return;
     case 23:
     
     #line 206 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithGlowOnClick);
     
     #line default
     #line hidden
     return;
     case 24:
     
     #line 207 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithShadowOnClick);
     
     #line default
     #line hidden
     return;
     case 25:
     this.ShowSeparatorsMI = ((System.Windows.Controls.MenuItem)(target));
     return;
     case 26:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 17 "..\..\..\..\Views\RemoteView.xaml"
     ((MetroDemo.ExampleViews.RemoteView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.RemoteView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     
     #line 49 "..\..\..\..\Views\RemoteView.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.RemoteMachineList = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 8:
     this.AddComputersButton = ((System.Windows.Controls.Button)(target));
     
     #line 143 "..\..\..\..\Views\RemoteView.xaml"
     this.AddComputersButton.Click += new System.Windows.RoutedEventHandler(this.AddComputersButton_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.ImportComputersButton = ((System.Windows.Controls.Button)(target));
     
     #line 144 "..\..\..\..\Views\RemoteView.xaml"
     this.ImportComputersButton.Click += new System.Windows.RoutedEventHandler(this.ImportComputersButton_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.btnRemoveComputers = ((System.Windows.Controls.Button)(target));
     
     #line 145 "..\..\..\..\Views\RemoteView.xaml"
     this.btnRemoveComputers.Click += new System.Windows.RoutedEventHandler(this.btnRemoveComputers_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.btnChangeChannelOrVersion = ((System.Windows.Controls.Button)(target));
     
     #line 146 "..\..\..\..\Views\RemoteView.xaml"
     this.btnChangeChannelOrVersion.Click += new System.Windows.RoutedEventHandler(this.btnChangeChannelOrVersion_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.btnUpdateRemote = ((System.Windows.Controls.Button)(target));
     
     #line 147 "..\..\..\..\Views\RemoteView.xaml"
     this.btnUpdateRemote.Click += new System.Windows.RoutedEventHandler(this.btnUpdateRemote_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.RemoteConfiguration = ((System.Windows.Controls.Button)(target));
     
     #line 149 "..\..\..\..\Views\RemoteView.xaml"
     this.RemoteConfiguration.Click += new System.Windows.RoutedEventHandler(this.RemoteConfiguration_Click);
     
     #line default
     #line hidden
     return;
     case 14:
     this.WaitImage = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\ExampleViews\ProductView.xaml"
                ((MetroDemo.ExampleViews.ProductView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ProductView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 43 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ProductTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 78 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.ProductInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 6:
                this.MainProducts = ((System.Windows.Controls.ListBox)(target));

            #line 90 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.MainProducts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Products_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.AdditionalProducts = ((System.Windows.Controls.ListBox)(target));

            #line 96 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.AdditionalProducts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Products_OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 108 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.EditionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            case 10:
                this.ProductEdition64Bit = ((System.Windows.Controls.RadioButton)(target));
                return;

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

            #line 132 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.BranchInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 12:
                this.ProductBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 142 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.ProductBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductBranch_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 13:
                this.LanguagesTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 14:
                this.LanguageList = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 182 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.AddLanguageButton.Click += new System.Windows.RoutedEventHandler(this.AddLanguageButton_Click);

            #line default
            #line hidden
                return;

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

            #line 183 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.RemoveLanguageButton.Click += new System.Windows.RoutedEventHandler(this.RemoveLanguageButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.SetPrimaryButton = ((System.Windows.Controls.Button)(target));

            #line 184 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.SetPrimaryButton.Click += new System.Windows.RoutedEventHandler(this.SetPrimaryButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 186 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.LanguageInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 19:
                this.UseLangForAllProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 195 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.UseLangForAllProducts.Checked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);

            #line default
            #line hidden

            #line 195 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.UseLangForAllProducts.Unchecked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);

            #line default
            #line hidden
                return;

            case 20:
                this.LanguageUnique = ((System.Windows.Controls.ComboBox)(target));

            #line 197 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.LanguageUnique.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LanguageUnique_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 21:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 22:
                this.VersionInfo = ((System.Windows.Controls.Button)(target));

            #line 229 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.VersionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 23:
                this.ProductVersion = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 24:
                this.SourcePathInfo = ((System.Windows.Controls.Button)(target));

            #line 259 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.SourcePathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 25:
                this.DownloadProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 26:
                this.ProductUpdateSource = ((System.Windows.Controls.TextBox)(target));

            #line 278 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.ProductUpdateSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.UpdatePath = ((System.Windows.Controls.Button)(target));

            #line 284 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);

            #line default
            #line hidden
                return;

            case 28:
                this.OpenFolderButton = ((System.Windows.Controls.Button)(target));

            #line 286 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 29:
                this.ExcludedTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 30:
                this.ExcludeAppInfo = ((System.Windows.Controls.Button)(target));

            #line 313 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.ExcludeAppInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 31:
                this.ExcludedApps1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 33:
                this.ExcludedApps2 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 35:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 414 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 415 "..\..\..\..\ExampleViews\ProductView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

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

            #line 14 "..\..\..\..\Views\DownloadView.xaml"
                ((MetroDemo.ExampleViews.DownloadView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DownloadView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 46 "..\..\..\..\Views\DownloadView.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.DownloadProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

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

            #line 85 "..\..\..\..\Views\DownloadView.xaml"
                this.ProductUpdateSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 91 "..\..\..\..\Views\DownloadView.xaml"
                this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\..\..\Views\DownloadView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 9:
                this.DownloadPercent = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 116 "..\..\..\..\Views\DownloadView.xaml"
                this.Download32Bit.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);

            #line default
            #line hidden

            #line 116 "..\..\..\..\Views\DownloadView.xaml"
                this.Download32Bit.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);

            #line default
            #line hidden
                return;

            case 11:
                this.Download64Bit = ((System.Windows.Controls.CheckBox)(target));

            #line 118 "..\..\..\..\Views\DownloadView.xaml"
                this.Download64Bit.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);

            #line default
            #line hidden

            #line 118 "..\..\..\..\Views\DownloadView.xaml"
                this.Download64Bit.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);

            #line default
            #line hidden
                return;

            case 12:
                this.lvUsers = ((System.Windows.Controls.ListView)(target));
                return;

            case 14:
                this.DownloadButton = ((System.Windows.Controls.Button)(target));

            #line 188 "..\..\..\..\Views\DownloadView.xaml"
                this.DownloadButton.Click += new System.Windows.RoutedEventHandler(this.DownloadButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 190 "..\..\..\..\Views\DownloadView.xaml"
                this.AdvDownloadButton.Click += new System.Windows.RoutedEventHandler(this.AdvDownloadButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 214 "..\..\..\..\Views\DownloadView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 215 "..\..\..\..\Views\DownloadView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
示例#14
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\MainWindow.xaml"
     ((VKHashTag.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MetroWindow_Loaded);
     
     #line default
     #line hidden
     
     #line 14 "..\..\MainWindow.xaml"
     ((VKHashTag.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 82 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowModal_Settings);
     
     #line default
     #line hidden
     return;
     case 3:
     this.BT_Theme = ((System.Windows.Controls.Button)(target));
     
     #line 87 "..\..\MainWindow.xaml"
     this.BT_Theme.Click += new System.Windows.RoutedEventHandler(this.ShowModal_Theme);
     
     #line default
     #line hidden
     return;
     case 4:
     
     #line 89 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.LaunchOnGitHub);
     
     #line default
     #line hidden
     return;
     case 5:
     
     #line 134 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectionTheme);
     
     #line default
     #line hidden
     return;
     case 6:
     
     #line 138 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectionTheme);
     
     #line default
     #line hidden
     return;
     case 7:
     
     #line 155 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectionFlyoutTheme);
     
     #line default
     #line hidden
     return;
     case 8:
     
     #line 159 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectionFlyoutTheme);
     
     #line default
     #line hidden
     return;
     case 9:
     
     #line 163 "..\..\MainWindow.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.SelectionFlyoutTheme);
     
     #line default
     #line hidden
     return;
     case 10:
     this.GridAccentColors = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.LB_AccentColors = ((System.Windows.Controls.ListBox)(target));
     return;
     case 12:
     this.TB_FlyoutsTheme = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.AnimatedTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 14:
     this.TB_StatusBar = ((System.Windows.Controls.TextBlock)(target));
     
     #line 226 "..\..\MainWindow.xaml"
     this.TB_StatusBar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.TB_StatusBar_MouseDown);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#15
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.btnInvoiceOperations = ((System.Windows.Controls.Button)(target));

            #line 23 "..\..\General.xaml"
                this.btnInvoiceOperations.Click += new System.Windows.RoutedEventHandler(this.btnInvoiceOperations_OnClick);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\General.xaml"
                this.btnGroupOperations.Click += new System.Windows.RoutedEventHandler(this.btnGroupOperations_OnClick);

            #line default
            #line hidden
                return;

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

            #line 53 "..\..\General.xaml"
                this.btnUserList.Click += new System.Windows.RoutedEventHandler(this.btnUserList_OnClick);

            #line default
            #line hidden
                return;

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

            #line 68 "..\..\General.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_OnClick);

            #line default
            #line hidden
                return;

            case 5:
                this.grdInvoice = ((System.Windows.Controls.Grid)(target));
                return;

            case 6:
                this.tabInvoice = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 96 "..\..\General.xaml"
                this.tabInvoice.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.tabInvoice_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 7:
                this.cbxGroupList = ((System.Windows.Controls.ComboBox)(target));

            #line 100 "..\..\General.xaml"
                this.cbxGroupList.Loaded += new System.Windows.RoutedEventHandler(this.cbxGroupList_OnLoaded);

            #line default
            #line hidden
                return;

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

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

            #line 123 "..\..\General.xaml"
                this.txtProduct.KeyUp += new System.Windows.Input.KeyEventHandler(this.txtProduct_OnKeyUp);

            #line default
            #line hidden
                return;

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

            #line 126 "..\..\General.xaml"
                this.btnAddProduct.Click += new System.Windows.RoutedEventHandler(this.btnAddProduct_OnClick);

            #line default
            #line hidden
                return;

            case 11:
                this.lbxProductList = ((System.Windows.Controls.ListBox)(target));
                return;

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

            #line 165 "..\..\General.xaml"
                this.btnAddInvoice.Click += new System.Windows.RoutedEventHandler(this.btnAddInvoice_OnClick);

            #line default
            #line hidden
                return;

            case 14:
                this.tabiInvoiceOperations = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.tabInvoiceLoanCalculate = ((System.Windows.Controls.TabItem)(target));
                return;

            case 16:
                this.grdOptions = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:

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

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:

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

            #line default
            #line hidden
                return;

            case 10:

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

            #line default
            #line hidden
                return;

            case 11:
                this.MagicToggleButton = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 12:
                this.UseAccentForDialogsMenuItem = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 13:

            #line 165 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowInputDialog);

            #line default
            #line hidden
                return;

            case 14:

            #line 167 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLoginDialog);

            #line default
            #line hidden
                return;

            case 15:

            #line 169 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLoginDialogPasswordPreview);

            #line default
            #line hidden
                return;

            case 16:

            #line 171 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowMessageDialog);

            #line default
            #line hidden
                return;

            case 17:

            #line 173 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowLimitedMessageDialog);

            #line default
            #line hidden
                return;

            case 18:

            #line 175 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowProgressDialog);

            #line default
            #line hidden
                return;

            case 19:

            #line 177 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowCustomDialog);

            #line default
            #line hidden
                return;

            case 20:

            #line 179 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowDialogOutside);

            #line default
            #line hidden
                return;

            case 21:

            #line 181 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ShowAwaitCustomDialog);

            #line default
            #line hidden
                return;

            case 22:

            #line 205 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithBorderOnClick);

            #line default
            #line hidden
                return;

            case 23:

            #line 206 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithGlowOnClick);

            #line default
            #line hidden
                return;

            case 24:

            #line 207 "..\..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuWindowWithShadowOnClick);

            #line default
            #line hidden
                return;

            case 25:
                this.ShowSeparatorsMI = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 26:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\..\..\Views\StartView.xaml"
     ((MetroDemo.ExampleViews.StartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.StartView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.txtBlock = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.cbActions = ((System.Windows.Controls.ComboBox)(target));
     
     #line 72 "..\..\..\..\Views\StartView.xaml"
     this.cbActions.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbActions_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.strtButton = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\..\..\Views\StartView.xaml"
     this.strtButton.Click += new System.Windows.RoutedEventHandler(this.strtButton_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.WaitManageLocal = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#18
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 2:
                this.Grid_Step1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 12 "..\..\MainWindow.xaml"
                this.Button_Step1_Open.Click += new System.Windows.RoutedEventHandler(this.Button_Step1_Open_OnClick);

            #line default
            #line hidden
                return;

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

            case 5:
                this.ListBox_Step1_BO = ((System.Windows.Controls.ListBox)(target));

            #line 15 "..\..\MainWindow.xaml"
                this.ListBox_Step1_BO.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_Step1_BO_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:
                this.ComboBox_Step1_MainBO = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 7:
                this.ComboBox_Step1_Processes = ((System.Windows.Controls.ComboBox)(target));

            #line 20 "..\..\MainWindow.xaml"
                this.ComboBox_Step1_Processes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:

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

            #line default
            #line hidden
                return;

            case 9:
                this.Grid_Step2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.Grid_Step3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 11:
                this.Grid_Step4 = ((System.Windows.Controls.Grid)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\..\ExampleViews\UpdateView.xaml"
     ((MetroDemo.ExampleViews.UpdateView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UpdateView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.EnabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 80 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.EnabledSwitch.IsCheckedChanged += new System.EventHandler(this.EnabledSwitch_OnIsCheckedChanged);
     
     #line default
     #line hidden
     return;
     case 6:
     this.BranchInfo = ((System.Windows.Controls.Button)(target));
     
     #line 94 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.BranchInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UpdateBranch = ((System.Windows.Controls.ComboBox)(target));
     
     #line 101 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdateBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UpdateBranch_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.UpdatePathInfo = ((System.Windows.Controls.Button)(target));
     
     #line 121 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdatePathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.UpdateUpdatePath = ((System.Windows.Controls.TextBox)(target));
     
     #line 129 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdateUpdatePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UpdateUpdatePath_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 10:
     this.UpdatePath = ((System.Windows.Controls.Button)(target));
     
     #line 133 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);
     
     #line default
     #line hidden
     return;
     case 11:
     this.OpenFolderButton = ((System.Windows.Controls.Button)(target));
     
     #line 136 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 12:
     this.TargetVersionInfo = ((System.Windows.Controls.Button)(target));
     
     #line 147 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.TargetVersionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 13:
     this.UpdateTargetVersion = ((System.Windows.Controls.ComboBox)(target));
     
     #line 157 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdateTargetVersion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UpdateBranch_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.DeadlineInfo = ((System.Windows.Controls.Button)(target));
     
     #line 170 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.DeadlineInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.UpdateDeadline = ((System.Windows.Controls.DatePicker)(target));
     
     #line 175 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdateDeadline.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.UpdateDeadline_OnPreviewKeyUp);
     
     #line default
     #line hidden
     
     #line 176 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.UpdateDeadline.SelectedDateChanged += new System.EventHandler<System.Windows.Controls.SelectionChangedEventArgs>(this.UpdateDeadline_OnSelectedDateChanged);
     
     #line default
     #line hidden
     return;
     case 16:
     this.DeadlineTimeHour = ((System.Windows.Controls.TextBox)(target));
     
     #line 181 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.DeadlineTimeHour.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DeadlineTimeHour_OnKeyDown);
     
     #line default
     #line hidden
     
     #line 182 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.DeadlineTimeHour.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DeadlineTimeHour_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 17:
     this.DeadlineTimeMinute = ((System.Windows.Controls.TextBox)(target));
     
     #line 185 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.DeadlineTimeMinute.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DeadlineTimeMinute_OnPreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 186 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.DeadlineTimeMinute.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DeadlineTimeMinute_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 18:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 211 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 19:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\..\..\ExampleViews\UpdateView.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_OnClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#20
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 2:
                this.Grid_Step1 = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 13 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step1_Open.Click += new System.Windows.RoutedEventHandler(this.Button_Step1_Open_OnClick);

            #line default
            #line hidden
                return;

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

            case 5:
                this.ListBox_Step1_BO = ((System.Windows.Controls.ListBox)(target));

            #line 16 "..\..\..\Forms\MainWindow.xaml"
                this.ListBox_Step1_BO.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.ListBox_Step1_BO_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:
                this.ComboBox_Step1_MainBO = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 8:
                this.ComboBox_Step1_Processes = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\..\Forms\MainWindow.xaml"
                this.ComboBox_Step1_Processes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Step1_ProcessChoose_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.Grid_Step2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 10:
                this.ListBox_Step2_PreviewMap = ((System.Windows.Controls.ListBox)(target));
                return;

            case 11:
                this.Label_Step2_Operations = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 39 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step2_ManageMap.Click += new System.Windows.RoutedEventHandler(this.Button_Step2_ManageMap_Click);

            #line default
            #line hidden
                return;

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

            #line 40 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step2_Load.Click += new System.Windows.RoutedEventHandler(this.Button_Step2_Load_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.Button_Step2_Save = ((System.Windows.Controls.Button)(target));

            #line 41 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step2_Save.Click += new System.Windows.RoutedEventHandler(this.Button_Step2_Save_Click);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step2_Next.Click += new System.Windows.RoutedEventHandler(this.Button_Step2_Next_OnClick);

            #line default
            #line hidden
                return;

            case 16:
                this.Label_Step2_Preset = ((System.Windows.Controls.Label)(target));
                return;

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

            case 18:
                this.Grid_Step3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 19:
                this.Label_Step3_ProcessName = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.ListBox_Step3_BOList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 21:
                this.Button_Step3_Next = ((System.Windows.Controls.Button)(target));

            #line 56 "..\..\..\Forms\MainWindow.xaml"
                this.Button_Step3_Next.Click += new System.Windows.RoutedEventHandler(this.Button_Step3_Next_OnClick);

            #line default
            #line hidden
                return;

            case 22:
                this.ComboBox_Step3_Launch = ((System.Windows.Controls.ComboBox)(target));

            #line 58 "..\..\..\Forms\MainWindow.xaml"
                this.ComboBox_Step3_Launch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_Step3_Launch_SelectionChanged);

            #line default
            #line hidden
                return;

            case 23:
                this.DatePicker_Step3_LaunchByTime = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 24:
                this.TextBox_Step3_Hour_LaunchByTime = ((System.Windows.Controls.TextBox)(target));
                return;

            case 25:
                this.Label_Step3_h_LaunchByTime = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.TextBox_Step3_Minute_LaunchByTime = ((System.Windows.Controls.TextBox)(target));
                return;

            case 27:
                this.Label_Step3_m_LaunchByTime = ((System.Windows.Controls.Label)(target));
                return;

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

            case 29:
                this.ComboBox_Step3_WhenFailure = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 30:
                this.ComboBox_Step3_WhenMapChange = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:
                this.ComboBox_Step3_AuthorizationType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 32:
                this.Grid_Step4 = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.Label_Step4_Rtid = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 34:

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

            #line default
            #line hidden
                return;

            case 35:
                this.Label_Step4_AuthSign = ((System.Windows.Controls.Label)(target));
                return;

            case 36:
                this.Label_Step4_AuthSign_Warn = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.TextBox_Step4_AuthSign = ((System.Windows.Controls.TextBox)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\Views\DisplayView.xaml"
                ((MetroDemo.ExampleViews.DisplayView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DisplayView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 75 "..\..\..\..\Views\DisplayView.xaml"
                this.DisplayLevelInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 6:
                this.DisplayLevel = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

            #line 97 "..\..\..\..\Views\DisplayView.xaml"
                this.AcceptEulaInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 8:
                this.AcceptEula = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

            #line 120 "..\..\..\..\Views\DisplayView.xaml"
                this.AutoActivateInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 10:
                this.AutoActivate = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

            #line 143 "..\..\..\..\Views\DisplayView.xaml"
                this.ForceAppShutdownInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 12:
                this.ForceAppShutdown = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

            #line 166 "..\..\..\..\Views\DisplayView.xaml"
                this.SharedComputerLicensingInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 14:
                this.SharedComputerLicensing = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

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

            #line 189 "..\..\..\..\Views\DisplayView.xaml"
                this.PinIconsToTaskbarInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 16:
                this.PinIconsToTaskbar = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 17:
                this.EnableSCCMSupportInfo = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\..\..\Views\DisplayView.xaml"
                this.EnableSCCMSupportInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 18:
                this.EnableSCCMSupport = ((MahApps.Metro.Controls.ToggleSwitch)(target));
                return;

            case 19:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 247 "..\..\..\..\Views\DisplayView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_OnClick);

            #line default
            #line hidden
                return;

            case 20:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 248 "..\..\..\..\Views\DisplayView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_OnClick);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 9 "..\..\..\..\ExampleViews\GenerateView.xaml"
     ((MetroDemo.ExampleViews.GenerateView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.GenerateView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 4:
     this.PublisherRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 5:
     this.SpacerRow = ((System.Windows.Controls.RowDefinition)(target));
     return;
     case 6:
     this.InstallMsi = ((System.Windows.Controls.RadioButton)(target));
     
     #line 74 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.InstallMsi.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);
     
     #line default
     #line hidden
     return;
     case 7:
     this.InstallExecutable = ((System.Windows.Controls.RadioButton)(target));
     
     #line 78 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.InstallExecutable.Checked += new System.Windows.RoutedEventHandler(this.InstallExecutable_OnChecked);
     
     #line default
     #line hidden
     return;
     case 8:
     this.SignInstaller = ((System.Windows.Controls.CheckBox)(target));
     
     #line 108 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.SignInstaller.Checked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);
     
     #line default
     #line hidden
     
     #line 108 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.SignInstaller.Unchecked += new System.Windows.RoutedEventHandler(this.SignWithCert_OnCheck);
     
     #line default
     #line hidden
     return;
     case 9:
     this.OpenCertificateBrowser = ((System.Windows.Controls.Button)(target));
     
     #line 112 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.OpenCertificateBrowser.Click += new System.Windows.RoutedEventHandler(this.OpenCertificateBrowser_OnClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.OpenCertGenerator = ((System.Windows.Controls.Button)(target));
     
     #line 115 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.OpenCertGenerator.Click += new System.Windows.RoutedEventHandler(this.OpenCertGenerator_OnClick);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Publisher = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.SilentInstall = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     
     #line 163 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.SilentInstall.Checked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);
     
     #line default
     #line hidden
     
     #line 163 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.SilentInstall.Unchecked += new System.EventHandler<System.Windows.RoutedEventArgs>(this.SilentInstall_OnChecked);
     
     #line default
     #line hidden
     return;
     case 13:
     this.FileSavePath = ((System.Windows.Controls.TextBox)(target));
     
     #line 181 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.FileSavePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.FileSavePath_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.SaveButton = ((System.Windows.Controls.Button)(target));
     
     #line 184 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.SaveButton.Click += new System.Windows.RoutedEventHandler(this.SaveButton_Click);
     
     #line default
     #line hidden
     return;
     case 15:
     this.OpenExeFolderButton = ((System.Windows.Controls.Button)(target));
     
     #line 185 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.OpenExeFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenExeFolderButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 16:
     this.IncludeBuild = ((System.Windows.Controls.CheckBox)(target));
     
     #line 209 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.IncludeBuild.Checked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);
     
     #line default
     #line hidden
     
     #line 209 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.IncludeBuild.Unchecked += new System.Windows.RoutedEventHandler(this.IncludeBuild_OnChecked);
     
     #line default
     #line hidden
     return;
     case 17:
     this.EmbedOfficeInstall = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.EmbedOfficeInstall.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 18:
     this.SourceFilePath = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.SourcePathLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.BuildFilePath = ((System.Windows.Controls.TextBox)(target));
     
     #line 237 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.BuildFilePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 21:
     this.BrowseSourcePathButton = ((System.Windows.Controls.Button)(target));
     
     #line 241 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.BrowseSourcePathButton.Click += new System.Windows.RoutedEventHandler(this.BrowseSourcePathButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 22:
     this.OpenFolderButton = ((System.Windows.Controls.Button)(target));
     
     #line 243 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 23:
     this.WaitImage = ((System.Windows.Controls.Image)(target));
     return;
     case 24:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 268 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);
     
     #line default
     #line hidden
     return;
     case 25:
     this.GenerateButton = ((System.Windows.Controls.Button)(target));
     
     #line 269 "..\..\..\..\ExampleViews\GenerateView.xaml"
     this.GenerateButton.Click += new System.Windows.RoutedEventHandler(this.GenerateButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 26:
     this.xmlBrowser = ((MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 11 "..\..\..\..\Views\DisplayView.xaml"
     ((MetroDemo.ExampleViews.DisplayView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DisplayView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.DisplayLevelInfo = ((System.Windows.Controls.Button)(target));
     
     #line 75 "..\..\..\..\Views\DisplayView.xaml"
     this.DisplayLevelInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.DisplayLevel = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 7:
     this.AcceptEulaInfo = ((System.Windows.Controls.Button)(target));
     
     #line 97 "..\..\..\..\Views\DisplayView.xaml"
     this.AcceptEulaInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.AcceptEula = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 9:
     this.AutoActivateInfo = ((System.Windows.Controls.Button)(target));
     
     #line 120 "..\..\..\..\Views\DisplayView.xaml"
     this.AutoActivateInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.AutoActivate = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 11:
     this.ForceAppShutdownInfo = ((System.Windows.Controls.Button)(target));
     
     #line 143 "..\..\..\..\Views\DisplayView.xaml"
     this.ForceAppShutdownInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 12:
     this.ForceAppShutdown = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 13:
     this.SharedComputerLicensingInfo = ((System.Windows.Controls.Button)(target));
     
     #line 166 "..\..\..\..\Views\DisplayView.xaml"
     this.SharedComputerLicensingInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 14:
     this.SharedComputerLicensing = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 15:
     this.PinIconsToTaskbarInfo = ((System.Windows.Controls.Button)(target));
     
     #line 189 "..\..\..\..\Views\DisplayView.xaml"
     this.PinIconsToTaskbarInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 16:
     this.PinIconsToTaskbar = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 17:
     this.EnableSCCMSupportInfo = ((System.Windows.Controls.Button)(target));
     
     #line 212 "..\..\..\..\Views\DisplayView.xaml"
     this.EnableSCCMSupportInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 18:
     this.EnableSCCMSupport = ((MahApps.Metro.Controls.ToggleSwitch)(target));
     return;
     case 19:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 247 "..\..\..\..\Views\DisplayView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 20:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 248 "..\..\..\..\Views\DisplayView.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_OnClick);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 27 "..\..\..\MainWindow.xaml"
     ((MetroDemo.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.MetroWindow_Closing);
     
     #line default
     #line hidden
     
     #line 28 "..\..\..\MainWindow.xaml"
     ((MetroDemo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 82 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 102 "..\..\..\MainWindow.xaml"
     ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.CloseCustomDialog);
     
     #line default
     #line hidden
     return;
     case 4:
     this.MyGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.OptionsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
     return;
     case 7:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target));
     
     #line 190 "..\..\..\MainWindow.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.TabStart = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 9:
     this.lblStart = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.TabProducts = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 11:
     this.lblProducts = ((System.Windows.Controls.Label)(target));
     return;
     case 12:
     this.TabDownload = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 13:
     this.lblDownload = ((System.Windows.Controls.Label)(target));
     return;
     case 14:
     this.TabUpdates = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 15:
     this.lblUpdate = ((System.Windows.Controls.Label)(target));
     return;
     case 16:
     this.TabOptions = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 17:
     this.lblOptions = ((System.Windows.Controls.Label)(target));
     return;
     case 18:
     this.GenerateTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 19:
     this.lblGenerate = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.LocalTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 21:
     this.lblLocal = ((System.Windows.Controls.Label)(target));
     return;
     case 22:
     this.RemoteTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
     return;
     case 23:
     this.lblRemote = ((System.Windows.Controls.Label)(target));
     return;
     case 24:
     this.TabAbout = ((MahApps.Metro.Controls.MetroTabItem)(target));
     
     #line 304 "..\..\..\MainWindow.xaml"
     this.TabAbout.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UIElement_OnIsEnabledChanged);
     
     #line default
     #line hidden
     return;
     case 25:
     this.lblAbout = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.MainWindowTabs = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 27:
     this.StartView = ((MetroDemo.ExampleViews.StartView)(target));
     return;
     case 28:
     this.ProductView = ((MetroDemo.ExampleViews.ProductView)(target));
     return;
     case 29:
     this.DownloadView = ((MetroDemo.ExampleViews.DownloadView)(target));
     return;
     case 30:
     this.UpdateView = ((MetroDemo.ExampleViews.UpdateView)(target));
     return;
     case 31:
     this.DisplayView = ((MetroDemo.ExampleViews.DisplayView)(target));
     return;
     case 32:
     this.GenerateView = ((MetroDemo.ExampleViews.GenerateView)(target));
     return;
     case 33:
     this.LocalView = ((MetroDemo.ExampleViews.LocalView)(target));
     return;
     case 34:
     this.RemoteView = ((MetroDemo.ExampleViews.RemoteView)(target));
     return;
     case 35:
     this.AboutView = ((MetroDemo.ExampleViews.AboutView)(target));
     return;
     }
     this._contentLoaded = true;
 }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\..\..\Views\ProductView.xaml"
     ((MetroDemo.ExampleViews.ProductView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ProductView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     
     #line 43 "..\..\..\..\Views\ProductView.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.ProductTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.ProductInfo = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\..\..\Views\ProductView.xaml"
     this.ProductInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.chkofficeProd = ((System.Windows.Controls.CheckBox)(target));
     
     #line 86 "..\..\..\..\Views\ProductView.xaml"
     this.chkofficeProd.Checked += new System.Windows.RoutedEventHandler(this.chkofficeProd_Checked);
     
     #line default
     #line hidden
     
     #line 86 "..\..\..\..\Views\ProductView.xaml"
     this.chkofficeProd.Unchecked += new System.Windows.RoutedEventHandler(this.chkofficeProd_Checked);
     
     #line default
     #line hidden
     
     #line 86 "..\..\..\..\Views\ProductView.xaml"
     this.chkofficeProd.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.MainProducts = ((System.Windows.Controls.ListBox)(target));
     
     #line 92 "..\..\..\..\Views\ProductView.xaml"
     this.MainProducts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Products_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 8:
     this.VisioInfo = ((System.Windows.Controls.Button)(target));
     
     #line 103 "..\..\..\..\Views\ProductView.xaml"
     this.VisioInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.chkVisio = ((System.Windows.Controls.CheckBox)(target));
     
     #line 110 "..\..\..\..\Views\ProductView.xaml"
     this.chkVisio.Checked += new System.Windows.RoutedEventHandler(this.ChkVisio_OnChecked);
     
     #line default
     #line hidden
     
     #line 111 "..\..\..\..\Views\ProductView.xaml"
     this.chkVisio.Unchecked += new System.Windows.RoutedEventHandler(this.ChkVisio_OnChecked);
     
     #line default
     #line hidden
     
     #line 111 "..\..\..\..\Views\ProductView.xaml"
     this.chkVisio.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.cbVisio = ((System.Windows.Controls.ComboBox)(target));
     
     #line 118 "..\..\..\..\Views\ProductView.xaml"
     this.cbVisio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbVisio_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ProjectInfo = ((System.Windows.Controls.Button)(target));
     
     #line 128 "..\..\..\..\Views\ProductView.xaml"
     this.ProjectInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 12:
     this.chkProject = ((System.Windows.Controls.CheckBox)(target));
     
     #line 135 "..\..\..\..\Views\ProductView.xaml"
     this.chkProject.Checked += new System.Windows.RoutedEventHandler(this.ChkProject_OnChecked);
     
     #line default
     #line hidden
     
     #line 136 "..\..\..\..\Views\ProductView.xaml"
     this.chkProject.Unchecked += new System.Windows.RoutedEventHandler(this.ChkProject_OnChecked);
     
     #line default
     #line hidden
     
     #line 136 "..\..\..\..\Views\ProductView.xaml"
     this.chkProject.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);
     
     #line default
     #line hidden
     return;
     case 13:
     this.cbProject = ((System.Windows.Controls.ComboBox)(target));
     
     #line 143 "..\..\..\..\Views\ProductView.xaml"
     this.cbProject.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbProject_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.EditionInfo = ((System.Windows.Controls.Button)(target));
     
     #line 154 "..\..\..\..\Views\ProductView.xaml"
     this.EditionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.ProductEdition32Bit = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 16:
     this.ProductEdition64Bit = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.BranchInfo = ((System.Windows.Controls.Button)(target));
     
     #line 175 "..\..\..\..\Views\ProductView.xaml"
     this.BranchInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 18:
     this.ProductBranch = ((System.Windows.Controls.ComboBox)(target));
     
     #line 185 "..\..\..\..\Views\ProductView.xaml"
     this.ProductBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductBranch_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 19:
     this.LanguagesTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 20:
     this.LanguageList = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 21:
     this.AddLanguageButton = ((System.Windows.Controls.Button)(target));
     
     #line 225 "..\..\..\..\Views\ProductView.xaml"
     this.AddLanguageButton.Click += new System.Windows.RoutedEventHandler(this.AddLanguageButton_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.RemoveLanguageButton = ((System.Windows.Controls.Button)(target));
     
     #line 226 "..\..\..\..\Views\ProductView.xaml"
     this.RemoveLanguageButton.Click += new System.Windows.RoutedEventHandler(this.RemoveLanguageButton_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.SetPrimaryButton = ((System.Windows.Controls.Button)(target));
     
     #line 227 "..\..\..\..\Views\ProductView.xaml"
     this.SetPrimaryButton.Click += new System.Windows.RoutedEventHandler(this.SetPrimaryButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 24:
     this.LanguageInfo = ((System.Windows.Controls.Button)(target));
     
     #line 229 "..\..\..\..\Views\ProductView.xaml"
     this.LanguageInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 25:
     this.UseLangForAllLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 26:
     this.UseLangForAllProducts = ((System.Windows.Controls.CheckBox)(target));
     
     #line 238 "..\..\..\..\Views\ProductView.xaml"
     this.UseLangForAllProducts.Checked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);
     
     #line default
     #line hidden
     
     #line 238 "..\..\..\..\Views\ProductView.xaml"
     this.UseLangForAllProducts.Unchecked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);
     
     #line default
     #line hidden
     return;
     case 27:
     this.LanguageUnique = ((System.Windows.Controls.ComboBox)(target));
     
     #line 240 "..\..\..\..\Views\ProductView.xaml"
     this.LanguageUnique.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LanguageUnique_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 28:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 29:
     this.VersionInfo = ((System.Windows.Controls.Button)(target));
     
     #line 272 "..\..\..\..\Views\ProductView.xaml"
     this.VersionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 30:
     this.ProductVersion = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 31:
     this.SourcePathInfo = ((System.Windows.Controls.Button)(target));
     
     #line 302 "..\..\..\..\Views\ProductView.xaml"
     this.SourcePathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 32:
     this.DownloadProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
     return;
     case 33:
     this.ProductUpdateSource = ((System.Windows.Controls.TextBox)(target));
     
     #line 321 "..\..\..\..\Views\ProductView.xaml"
     this.ProductUpdateSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 34:
     this.UpdatePath = ((System.Windows.Controls.Button)(target));
     
     #line 327 "..\..\..\..\Views\ProductView.xaml"
     this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);
     
     #line default
     #line hidden
     return;
     case 35:
     this.OpenFolderButton = ((System.Windows.Controls.Button)(target));
     
     #line 329 "..\..\..\..\Views\ProductView.xaml"
     this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 36:
     this.ExcludedTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 37:
     this.ExcludeAppInfo = ((System.Windows.Controls.Button)(target));
     
     #line 356 "..\..\..\..\Views\ProductView.xaml"
     this.ExcludeAppInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);
     
     #line default
     #line hidden
     return;
     case 38:
     this.ExcludedApps1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 40:
     this.ExcludedApps2 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 42:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 457 "..\..\..\..\Views\ProductView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 458 "..\..\..\..\Views\ProductView.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 11 "..\..\..\..\Views\UpdateView.xaml"
                ((MetroDemo.ExampleViews.UpdateView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UpdateView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.EnabledSwitch = ((MahApps.Metro.Controls.ToggleSwitch)(target));

            #line 80 "..\..\..\..\Views\UpdateView.xaml"
                this.EnabledSwitch.IsCheckedChanged += new System.EventHandler(this.EnabledSwitch_OnIsCheckedChanged);

            #line default
            #line hidden
                return;

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

            #line 94 "..\..\..\..\Views\UpdateView.xaml"
                this.BranchInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 7:
                this.UpdateBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 101 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdateBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UpdateBranch_OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 121 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdatePathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 129 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdateUpdatePath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.UpdateUpdatePath_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 133 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);

            #line default
            #line hidden
                return;

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

            #line 136 "..\..\..\..\Views\UpdateView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\..\Views\UpdateView.xaml"
                this.TargetVersionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 157 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdateTargetVersion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.UpdateBranch_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.DeadlineInfo = ((System.Windows.Controls.Button)(target));

            #line 170 "..\..\..\..\Views\UpdateView.xaml"
                this.DeadlineInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 15:
                this.UpdateDeadline = ((System.Windows.Controls.DatePicker)(target));

            #line 175 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdateDeadline.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.UpdateDeadline_OnPreviewKeyUp);

            #line default
            #line hidden

            #line 176 "..\..\..\..\Views\UpdateView.xaml"
                this.UpdateDeadline.SelectedDateChanged += new System.EventHandler <System.Windows.Controls.SelectionChangedEventArgs>(this.UpdateDeadline_OnSelectedDateChanged);

            #line default
            #line hidden
                return;

            case 16:
                this.DeadlineTimeHour = ((System.Windows.Controls.TextBox)(target));

            #line 181 "..\..\..\..\Views\UpdateView.xaml"
                this.DeadlineTimeHour.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DeadlineTimeHour_OnKeyDown);

            #line default
            #line hidden

            #line 182 "..\..\..\..\Views\UpdateView.xaml"
                this.DeadlineTimeHour.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DeadlineTimeHour_OnTextChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.DeadlineTimeMinute = ((System.Windows.Controls.TextBox)(target));

            #line 185 "..\..\..\..\Views\UpdateView.xaml"
                this.DeadlineTimeMinute.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.DeadlineTimeMinute_OnPreviewKeyDown);

            #line default
            #line hidden

            #line 186 "..\..\..\..\Views\UpdateView.xaml"
                this.DeadlineTimeMinute.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.DeadlineTimeMinute_OnTextChanged);

            #line default
            #line hidden
                return;

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

            #line 211 "..\..\..\..\Views\UpdateView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_OnClick);

            #line default
            #line hidden
                return;

            case 19:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 212 "..\..\..\..\Views\UpdateView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_OnClick);

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

            #line 13 "..\..\..\..\ExampleViews\StartView.xaml"
                ((MetroDemo.ExampleViews.StartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.StartView_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 67 "..\..\..\..\ExampleViews\StartView.xaml"
                this.StartNew.Click += new System.Windows.RoutedEventHandler(this.StartNew_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\..\ExampleViews\StartView.xaml"
                this.ImportExisting.Click += new System.Windows.RoutedEventHandler(this.ImportExisting_Click_1);

            #line default
            #line hidden
                return;

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

            #line 101 "..\..\..\..\ExampleViews\StartView.xaml"
                this.ManageLocal.Click += new System.Windows.RoutedEventHandler(this.ManageLocal_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.ImgManageLocal = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.WaitManageLocal = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\..\Views\DownloadView.xaml"
     ((MetroDemo.ExampleViews.DownloadView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DownloadView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     
     #line 46 "..\..\..\..\Views\DownloadView.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.DownloadProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
     return;
     case 6:
     this.ProductUpdateSource = ((System.Windows.Controls.TextBox)(target));
     
     #line 85 "..\..\..\..\Views\DownloadView.xaml"
     this.ProductUpdateSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.UpdatePath = ((System.Windows.Controls.Button)(target));
     
     #line 91 "..\..\..\..\Views\DownloadView.xaml"
     this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);
     
     #line default
     #line hidden
     return;
     case 8:
     this.OpenFolderButton = ((System.Windows.Controls.Button)(target));
     
     #line 93 "..\..\..\..\Views\DownloadView.xaml"
     this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.DownloadPercent = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.Download32Bit = ((System.Windows.Controls.CheckBox)(target));
     
     #line 116 "..\..\..\..\Views\DownloadView.xaml"
     this.Download32Bit.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
     
     #line default
     #line hidden
     
     #line 116 "..\..\..\..\Views\DownloadView.xaml"
     this.Download32Bit.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
     
     #line default
     #line hidden
     return;
     case 11:
     this.Download64Bit = ((System.Windows.Controls.CheckBox)(target));
     
     #line 118 "..\..\..\..\Views\DownloadView.xaml"
     this.Download64Bit.Checked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
     
     #line default
     #line hidden
     
     #line 118 "..\..\..\..\Views\DownloadView.xaml"
     this.Download64Bit.Unchecked += new System.Windows.RoutedEventHandler(this.ToggleButton_OnChecked);
     
     #line default
     #line hidden
     return;
     case 12:
     this.lvUsers = ((System.Windows.Controls.ListView)(target));
     return;
     case 14:
     this.DownloadButton = ((System.Windows.Controls.Button)(target));
     
     #line 188 "..\..\..\..\Views\DownloadView.xaml"
     this.DownloadButton.Click += new System.Windows.RoutedEventHandler(this.DownloadButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.AdvDownloadButton = ((System.Windows.Controls.Button)(target));
     
     #line 190 "..\..\..\..\Views\DownloadView.xaml"
     this.AdvDownloadButton.Click += new System.Windows.RoutedEventHandler(this.AdvDownloadButton_OnClick);
     
     #line default
     #line hidden
     return;
     case 16:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 214 "..\..\..\..\Views\DownloadView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 215 "..\..\..\..\Views\DownloadView.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 16 "..\..\..\..\Views\LocalView.xaml"
                ((MetroDemo.ExampleViews.LocalView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.LocalView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 48 "..\..\..\..\Views\LocalView.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 75 "..\..\..\..\Views\LocalView.xaml"
                this.OPPInstalled.Click += new System.Windows.RoutedEventHandler(this.OPPInstalled_Click);

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\..\..\Views\LocalView.xaml"
                this.InstallOffice.Click += new System.Windows.RoutedEventHandler(this.InstallOffice_OnClick);

            #line default
            #line hidden
                return;

            case 7:
                this.ImgOfficeInstalled = ((System.Windows.Controls.Image)(target));
                return;

            case 8:
                this.ImgLatestInstallFail = ((System.Windows.Controls.Image)(target));
                return;

            case 9:
                this.WaitInstallImage = ((System.Windows.Controls.Image)(target));
                return;

            case 10:
                this.UpdateRow = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 111 "..\..\..\..\Views\LocalView.xaml"
                this.LatestVInstall.Click += new System.Windows.RoutedEventHandler(this.LatestVInstall_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.UpdateButtonColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 13:
                this.RetryButtonColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 14:
                this.UpdateOffice = ((System.Windows.Controls.Button)(target));

            #line 127 "..\..\..\..\Views\LocalView.xaml"
                this.UpdateOffice.Click += new System.Windows.RoutedEventHandler(this.UpdateOffice_OnClick);

            #line default
            #line hidden
                return;

            case 15:
                this.ImgLatestUpdate = ((System.Windows.Controls.Image)(target));
                return;

            case 16:
                this.ImgLatestUpdateFail = ((System.Windows.Controls.Image)(target));
                return;

            case 17:
                this.WaitUpdateImage = ((System.Windows.Controls.Image)(target));
                return;

            case 18:
                this.UpdateStatus = ((System.Windows.Controls.Label)(target));
                return;

            case 19:
                this.RetryUpdateOffice = ((System.Windows.Controls.Button)(target));

            #line 138 "..\..\..\..\Views\LocalView.xaml"
                this.RetryUpdateOffice.Click += new System.Windows.RoutedEventHandler(this.UpdateOffice_OnClick);

            #line default
            #line hidden
                return;

            case 20:
                this.VersionRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 21:
                this.InstalledVersion = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\..\Views\LocalView.xaml"
                this.InstalledVersion.Click += new System.Windows.RoutedEventHandler(this.InstalledVersion_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.ChannelLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 23:
                this.VersionLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.ChannelRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 25:
                this.UpdateChannel = ((System.Windows.Controls.Button)(target));

            #line 190 "..\..\..\..\Views\LocalView.xaml"
                this.UpdateChannel.Click += new System.Windows.RoutedEventHandler(this.UpdateChannel_Click);

            #line default
            #line hidden
                return;

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

            #line 210 "..\..\..\..\Views\LocalView.xaml"
                this.ProductBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductBranch_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.ChangeChannel = ((System.Windows.Controls.Button)(target));

            #line 214 "..\..\..\..\Views\LocalView.xaml"
                this.ChangeChannel.Click += new System.Windows.RoutedEventHandler(this.ChangeChannel_OnClick);

            #line default
            #line hidden
                return;

            case 28:
                this.ShowVersion = ((System.Windows.Controls.Button)(target));

            #line 218 "..\..\..\..\Views\LocalView.xaml"
                this.ShowVersion.Click += new System.Windows.RoutedEventHandler(this.ShowVersion_OnClick);

            #line default
            #line hidden
                return;

            case 29:
                this.NewVersionRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 30:
                this.TargetVersionInfo = ((System.Windows.Controls.Button)(target));

            #line 234 "..\..\..\..\Views\LocalView.xaml"
                this.TargetVersionInfo.Click += new System.Windows.RoutedEventHandler(this.TargetVersionInfo_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.NewVersion = ((System.Windows.Controls.ComboBox)(target));

            #line 251 "..\..\..\..\Views\LocalView.xaml"
                this.NewVersion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.NewVersion_OnSelectionChanged);

            #line default
            #line hidden

            #line 251 "..\..\..\..\Views\LocalView.xaml"
                this.NewVersion.KeyUp += new System.Windows.Input.KeyEventHandler(this.NewVersion_OnKeyUp);

            #line default
            #line hidden
                return;

            case 32:
                this.ModifyInstallRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 33:
                this.ModifyExisting = ((System.Windows.Controls.Button)(target));

            #line 268 "..\..\..\..\Views\LocalView.xaml"
                this.ModifyExisting.Click += new System.Windows.RoutedEventHandler(this.ModifyExisting_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.ReInstallOffice = ((System.Windows.Controls.Button)(target));

            #line 278 "..\..\..\..\Views\LocalView.xaml"
                this.ReInstallOffice.Click += new System.Windows.RoutedEventHandler(this.ReRunInstallOffice_OnClick);

            #line default
            #line hidden
                return;

            case 35:
                this.ModifyUninstallRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 36:
                this.UninstallIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
                return;

            case 37:
                this.OfficeInstall = ((System.Windows.Controls.Button)(target));

            #line 292 "..\..\..\..\Views\LocalView.xaml"
                this.OfficeInstall.Click += new System.Windows.RoutedEventHandler(this.OfficeInstall_Click);

            #line default
            #line hidden
                return;

            case 38:
                this.UnInstallOffice = ((System.Windows.Controls.Button)(target));

            #line 302 "..\..\..\..\Views\LocalView.xaml"
                this.UnInstallOffice.Click += new System.Windows.RoutedEventHandler(this.UnInstallOffice_OnClick);

            #line default
            #line hidden
                return;

            case 39:
                this.ImgRemoveFail = ((System.Windows.Controls.Image)(target));
                return;

            case 40:
                this.WaitRemoveImage = ((System.Windows.Controls.Image)(target));
                return;

            case 41:
                this.ErrorRow = ((System.Windows.Controls.Grid)(target));
                return;

            case 42:
                this.ErrorText = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 43:
                this.xmlBrowser = ((MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl)(target));
                return;

            case 44:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 370 "..\..\..\..\Views\LocalView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 371 "..\..\..\..\Views\LocalView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

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

            case 2:
                this.mainLayout = ((System.Windows.Controls.Canvas)(target));
                return;

            case 3:

            #line 109 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Link);

            #line default
            #line hidden
                return;

            case 4:

            #line 120 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.StackPanel)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.DisLink);

            #line default
            #line hidden
                return;

            case 5:

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

            #line default
            #line hidden
                return;

            case 6:

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

            #line default
            #line hidden
                return;

            case 7:

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

            #line default
            #line hidden
                return;

            case 8:
                this.sv = ((System.Windows.Controls.Slider)(target));

            #line 157 "..\..\MainWindow.xaml"
                this.sv.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.ChangedSv);

            #line default
            #line hidden
                return;

            case 9:
                this.pages = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 171 "..\..\MainWindow.xaml"
                this.pages.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.pages_SelectionChanged);

            #line default
            #line hidden
                return;

            case 10:
                this.distanceAX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 11:
                this.ElectriclDisA = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 12:

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

            #line default
            #line hidden
                return;

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:

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

            #line default
            #line hidden
                return;

            case 16:

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

            #line default
            #line hidden
                return;

            case 17:

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

            #line default
            #line hidden
                return;

            case 18:
                this.distanceBX = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 19:
                this.ElectriclDisB = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 20:
                this.distanceZ = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:

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

            #line default
            #line hidden
                return;

            case 22:

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

            #line default
            #line hidden
                return;

            case 23:

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

            #line default
            #line hidden
                return;

            case 24:

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

            #line default
            #line hidden
                return;

            case 25:

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

            #line default
            #line hidden
                return;

            case 26:

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

            #line default
            #line hidden
                return;

            case 27:

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

            #line default
            #line hidden
                return;

            case 28:

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

            #line default
            #line hidden
                return;

            case 29:

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

            #line default
            #line hidden
                return;

            case 30:
                this.com = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 31:

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

            #line default
            #line hidden
                return;

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

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

            case 34:
                this.logBox = ((System.Windows.Documents.Paragraph)(target));
                return;

            case 35:
                this.interfaceList = ((System.Windows.Controls.ListBox)(target));
                return;

            case 36:

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

            #line default
            #line hidden
                return;

            case 37:
                this.resultBox = ((System.Windows.Controls.TextBox)(target));
                return;

            case 38:
                this.positioninfo = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 39:
                this.stepNum = ((MahApps.Metro.Controls.NumericUpDown)(target));
                return;

            case 40:
                this.leftMenus = ((MahApps.Metro.Controls.HamburgerMenu)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#31
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.Open_Calendar);

            #line default
            #line hidden
                return;

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

            case 3:
                this.MainCalendar = ((System.Windows.Controls.Calendar)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 5:
                this.StartPeriodDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

            case 6:
                this.FinishPeriodDatePicker = ((System.Windows.Controls.DatePicker)(target));
                return;

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

            #line 66 "..\..\MainWindow.xaml"
                this.PeriodCalendarShowButton.Click += new System.Windows.RoutedEventHandler(this.PeriodCalendarShowButton_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 79 "..\..\MainWindow.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged);

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

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.SetBaisCheckBox = ((System.Windows.Controls.CheckBox)(target));
                return;

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

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

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

            #line 62 "..\..\MainWindow.xaml"
                this.openSetWeightButton.Click += new System.Windows.RoutedEventHandler(this.openSetWeightButtonClick);

            #line default
            #line hidden
                return;

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

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

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

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

            case 13:

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

            #line default
            #line hidden
                return;

            case 14:

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

            #line default
            #line hidden
                return;

            case 15:
                this.networkBoard = ((System.Windows.Controls.Grid)(target));
                return;

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

            #line 90 "..\..\MainWindow.xaml"
                this.button.Click += new System.Windows.RoutedEventHandler(this.button_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 13 "..\..\..\..\ExampleViews\StartView.xaml"
     ((MetroDemo.ExampleViews.StartView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.StartView_OnLoaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.StartNew = ((System.Windows.Controls.Button)(target));
     
     #line 67 "..\..\..\..\ExampleViews\StartView.xaml"
     this.StartNew.Click += new System.Windows.RoutedEventHandler(this.StartNew_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ImportExisting = ((System.Windows.Controls.Button)(target));
     
     #line 85 "..\..\..\..\ExampleViews\StartView.xaml"
     this.ImportExisting.Click += new System.Windows.RoutedEventHandler(this.ImportExisting_Click_1);
     
     #line default
     #line hidden
     return;
     case 7:
     this.ManageLocal = ((System.Windows.Controls.Button)(target));
     
     #line 101 "..\..\..\..\ExampleViews\StartView.xaml"
     this.ManageLocal.Click += new System.Windows.RoutedEventHandler(this.ManageLocal_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.ImgManageLocal = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.WaitManageLocal = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
示例#34
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 2:
                this.Ventes = ((System.Windows.Controls.TabItem)(target));
                return;

            case 3:
                this.ContentControlVentes = ((System.Windows.Controls.Frame)(target));
                return;

            case 4:
                this.Clients = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.ContentControlClients = ((System.Windows.Controls.Frame)(target));
                return;

            case 6:
                this.Prestations = ((System.Windows.Controls.TabItem)(target));
                return;

            case 7:
                this.ContentControlPrestations = ((System.Windows.Controls.Frame)(target));
                return;

            case 8:
                this.Produits = ((System.Windows.Controls.TabItem)(target));
                return;

            case 9:
                this.ContentControlProduits = ((System.Windows.Controls.Frame)(target));
                return;

            case 10:
                this.Vendeurs = ((System.Windows.Controls.TabItem)(target));
                return;

            case 11:
                this.ContentControlVendeurs = ((System.Windows.Controls.Frame)(target));
                return;

            case 12:
                this.Caisse = ((System.Windows.Controls.TabItem)(target));
                return;

            case 13:
                this.ContentControlCaisse = ((System.Windows.Controls.Frame)(target));
                return;

            case 14:
                this.Autres = ((System.Windows.Controls.TabItem)(target));
                return;

            case 15:
                this.ContentControlAutres = ((System.Windows.Controls.Frame)(target));
                return;
            }
            this._contentLoaded = true;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 16 "..\..\..\..\ExampleViews\LocalView.xaml"
     ((MetroDemo.ExampleViews.LocalView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.LocalView_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.Product = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     
     #line 48 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 4:
     this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
     return;
     case 5:
     this.InstallOffice = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.InstallOffice.Click += new System.Windows.RoutedEventHandler(this.InstallOffice_OnClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.ImgOfficeInstalled = ((System.Windows.Controls.Image)(target));
     return;
     case 7:
     this.ImgLatestInstallFail = ((System.Windows.Controls.Image)(target));
     return;
     case 8:
     this.WaitInstallImage = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.UpdateRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.UpdateButtonColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 11:
     this.RetryButtonColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 12:
     this.UpdateOffice = ((System.Windows.Controls.Button)(target));
     
     #line 113 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.UpdateOffice.Click += new System.Windows.RoutedEventHandler(this.UpdateOffice_OnClick);
     
     #line default
     #line hidden
     return;
     case 13:
     this.ImgLatestUpdate = ((System.Windows.Controls.Image)(target));
     return;
     case 14:
     this.ImgLatestUpdateFail = ((System.Windows.Controls.Image)(target));
     return;
     case 15:
     this.WaitUpdateImage = ((System.Windows.Controls.Image)(target));
     return;
     case 16:
     this.UpdateStatus = ((System.Windows.Controls.Label)(target));
     return;
     case 17:
     this.RetryUpdateOffice = ((System.Windows.Controls.Button)(target));
     
     #line 124 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.RetryUpdateOffice.Click += new System.Windows.RoutedEventHandler(this.UpdateOffice_OnClick);
     
     #line default
     #line hidden
     return;
     case 18:
     this.VersionRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 19:
     this.VersionLabel = ((System.Windows.Controls.Label)(target));
     return;
     case 20:
     this.ChannelRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 21:
     this.ProductBranch = ((System.Windows.Controls.ComboBox)(target));
     
     #line 171 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.ProductBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductBranch_OnSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 22:
     this.ChangeChannel = ((System.Windows.Controls.Button)(target));
     
     #line 175 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.ChangeChannel.Click += new System.Windows.RoutedEventHandler(this.ChangeChannel_OnClick);
     
     #line default
     #line hidden
     return;
     case 23:
     this.ShowVersion = ((System.Windows.Controls.Button)(target));
     
     #line 179 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.ShowVersion.Click += new System.Windows.RoutedEventHandler(this.ShowVersion_OnClick);
     
     #line default
     #line hidden
     return;
     case 24:
     this.NewVersionRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 25:
     this.NewVersion = ((System.Windows.Controls.ComboBox)(target));
     
     #line 205 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.NewVersion.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.NewVersion_OnSelectionChanged);
     
     #line default
     #line hidden
     
     #line 205 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.NewVersion.KeyUp += new System.Windows.Input.KeyEventHandler(this.NewVersion_OnKeyUp);
     
     #line default
     #line hidden
     return;
     case 26:
     this.ModifyInstallRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 27:
     this.ReInstallOffice = ((System.Windows.Controls.Button)(target));
     
     #line 226 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.ReInstallOffice.Click += new System.Windows.RoutedEventHandler(this.ReRunInstallOffice_OnClick);
     
     #line default
     #line hidden
     return;
     case 28:
     this.ModifyUninstallRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 29:
     this.UninstallIconColumn = ((System.Windows.Controls.ColumnDefinition)(target));
     return;
     case 30:
     this.UnInstallOffice = ((System.Windows.Controls.Button)(target));
     
     #line 243 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.UnInstallOffice.Click += new System.Windows.RoutedEventHandler(this.UnInstallOffice_OnClick);
     
     #line default
     #line hidden
     return;
     case 31:
     this.ImgRemoveFail = ((System.Windows.Controls.Image)(target));
     return;
     case 32:
     this.WaitRemoveImage = ((System.Windows.Controls.Image)(target));
     return;
     case 33:
     this.ErrorRow = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.ErrorText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 35:
     this.xmlBrowser = ((MahApps.Metro.Controls.XmlBrowser.XmlBrowserControl)(target));
     return;
     case 36:
     this.PreviousButton = ((System.Windows.Controls.Button)(target));
     
     #line 312 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);
     
     #line default
     #line hidden
     return;
     case 37:
     this.NextButton = ((System.Windows.Controls.Button)(target));
     
     #line 313 "..\..\..\..\ExampleViews\LocalView.xaml"
     this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
示例#36
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

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

            #line default
            #line hidden

            #line 28 "..\..\..\MainWindow.xaml"
                ((MetroDemo.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.MainWindow_OnLoaded);

            #line default
            #line hidden
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.OptionsFlyout = ((MahApps.Metro.Controls.Flyout)(target));
                return;

            case 7:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroTabControl)(target));

            #line 190 "..\..\..\MainWindow.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.TabStart = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 9:
                this.lblStart = ((System.Windows.Controls.Label)(target));
                return;

            case 10:
                this.TabProducts = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 11:
                this.lblProducts = ((System.Windows.Controls.Label)(target));
                return;

            case 12:
                this.TabDownload = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 13:
                this.lblDownload = ((System.Windows.Controls.Label)(target));
                return;

            case 14:
                this.TabUpdates = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 15:
                this.lblUpdate = ((System.Windows.Controls.Label)(target));
                return;

            case 16:
                this.TabOptions = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 17:
                this.lblOptions = ((System.Windows.Controls.Label)(target));
                return;

            case 18:
                this.GenerateTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 19:
                this.lblGenerate = ((System.Windows.Controls.Label)(target));
                return;

            case 20:
                this.LocalTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 21:
                this.lblLocal = ((System.Windows.Controls.Label)(target));
                return;

            case 22:
                this.RemoteTabName = ((MahApps.Metro.Controls.MetroTabItem)(target));
                return;

            case 23:
                this.lblRemote = ((System.Windows.Controls.Label)(target));
                return;

            case 24:
                this.TabAbout = ((MahApps.Metro.Controls.MetroTabItem)(target));

            #line 304 "..\..\..\MainWindow.xaml"
                this.TabAbout.IsEnabledChanged += new System.Windows.DependencyPropertyChangedEventHandler(this.UIElement_OnIsEnabledChanged);

            #line default
            #line hidden
                return;

            case 25:
                this.lblAbout = ((System.Windows.Controls.Label)(target));
                return;

            case 26:
                this.MainWindowTabs = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 27:
                this.StartView = ((MetroDemo.ExampleViews.StartView)(target));
                return;

            case 28:
                this.ProductView = ((MetroDemo.ExampleViews.ProductView)(target));
                return;

            case 29:
                this.DownloadView = ((MetroDemo.ExampleViews.DownloadView)(target));
                return;

            case 30:
                this.UpdateView = ((MetroDemo.ExampleViews.UpdateView)(target));
                return;

            case 31:
                this.DisplayView = ((MetroDemo.ExampleViews.DisplayView)(target));
                return;

            case 32:
                this.GenerateView = ((MetroDemo.ExampleViews.GenerateView)(target));
                return;

            case 33:
                this.LocalView = ((MetroDemo.ExampleViews.LocalView)(target));
                return;

            case 34:
                this.RemoteView = ((MetroDemo.ExampleViews.RemoteView)(target));
                return;

            case 35:
                this.AboutView = ((MetroDemo.ExampleViews.AboutView)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 13 "..\..\..\..\Views\ProductView.xaml"
                ((MetroDemo.ExampleViews.ProductView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.ProductView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 43 "..\..\..\..\Views\ProductView.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.ProductTab = ((System.Windows.Controls.TabItem)(target));
                return;

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

            #line 79 "..\..\..\..\Views\ProductView.xaml"
                this.ProductInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\..\Views\ProductView.xaml"
                this.chkofficeProd.Checked += new System.Windows.RoutedEventHandler(this.chkofficeProd_Checked);

            #line default
            #line hidden

            #line 86 "..\..\..\..\Views\ProductView.xaml"
                this.chkofficeProd.Unchecked += new System.Windows.RoutedEventHandler(this.chkofficeProd_Checked);

            #line default
            #line hidden

            #line 86 "..\..\..\..\Views\ProductView.xaml"
                this.chkofficeProd.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.MainProducts = ((System.Windows.Controls.ListBox)(target));

            #line 92 "..\..\..\..\Views\ProductView.xaml"
                this.MainProducts.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.Products_OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 103 "..\..\..\..\Views\ProductView.xaml"
                this.VisioInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

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

            #line 110 "..\..\..\..\Views\ProductView.xaml"
                this.chkVisio.Checked += new System.Windows.RoutedEventHandler(this.ChkVisio_OnChecked);

            #line default
            #line hidden

            #line 111 "..\..\..\..\Views\ProductView.xaml"
                this.chkVisio.Unchecked += new System.Windows.RoutedEventHandler(this.ChkVisio_OnChecked);

            #line default
            #line hidden

            #line 111 "..\..\..\..\Views\ProductView.xaml"
                this.chkVisio.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.cbVisio = ((System.Windows.Controls.ComboBox)(target));

            #line 118 "..\..\..\..\Views\ProductView.xaml"
                this.cbVisio.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbVisio_OnSelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 128 "..\..\..\..\Views\ProductView.xaml"
                this.ProjectInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 12:
                this.chkProject = ((System.Windows.Controls.CheckBox)(target));

            #line 135 "..\..\..\..\Views\ProductView.xaml"
                this.chkProject.Checked += new System.Windows.RoutedEventHandler(this.ChkProject_OnChecked);

            #line default
            #line hidden

            #line 136 "..\..\..\..\Views\ProductView.xaml"
                this.chkProject.Unchecked += new System.Windows.RoutedEventHandler(this.ChkProject_OnChecked);

            #line default
            #line hidden

            #line 136 "..\..\..\..\Views\ProductView.xaml"
                this.chkProject.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);

            #line default
            #line hidden
                return;

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

            #line 143 "..\..\..\..\Views\ProductView.xaml"
                this.cbProject.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbProject_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 14:
                this.SkypeInfo = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\..\Views\ProductView.xaml"
                this.SkypeInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 15:
                this.ChkSkype = ((System.Windows.Controls.CheckBox)(target));

            #line 162 "..\..\..\..\Views\ProductView.xaml"
                this.ChkSkype.Click += new System.Windows.RoutedEventHandler(this.chkofficeProd_Click);

            #line default
            #line hidden

            #line 162 "..\..\..\..\Views\ProductView.xaml"
                this.ChkSkype.Checked += new System.Windows.RoutedEventHandler(this.ChkSkype_Checked);

            #line default
            #line hidden

            #line 162 "..\..\..\..\Views\ProductView.xaml"
                this.ChkSkype.Unchecked += new System.Windows.RoutedEventHandler(this.ChkSkype_Checked);

            #line default
            #line hidden
                return;

            case 16:
                this.CbSkype = ((System.Windows.Controls.ComboBox)(target));

            #line 169 "..\..\..\..\Views\ProductView.xaml"
                this.CbSkype.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CbSkype_SelectionChanged);

            #line default
            #line hidden
                return;

            case 17:
                this.EditionInfo = ((System.Windows.Controls.Button)(target));

            #line 180 "..\..\..\..\Views\ProductView.xaml"
                this.EditionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 18:
                this.ProductEdition32Bit = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.ProductEdition64Bit = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 20:
                this.BranchInfo = ((System.Windows.Controls.Button)(target));

            #line 201 "..\..\..\..\Views\ProductView.xaml"
                this.BranchInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 21:
                this.ProductBranch = ((System.Windows.Controls.ComboBox)(target));

            #line 211 "..\..\..\..\Views\ProductView.xaml"
                this.ProductBranch.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ProductBranch_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.LanguagesTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 23:
                this.LanguageList = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 24:
                this.AddLanguageButton = ((System.Windows.Controls.Button)(target));

            #line 251 "..\..\..\..\Views\ProductView.xaml"
                this.AddLanguageButton.Click += new System.Windows.RoutedEventHandler(this.AddLanguageButton_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.RemoveLanguageButton = ((System.Windows.Controls.Button)(target));

            #line 252 "..\..\..\..\Views\ProductView.xaml"
                this.RemoveLanguageButton.Click += new System.Windows.RoutedEventHandler(this.RemoveLanguageButton_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.SetPrimaryButton = ((System.Windows.Controls.Button)(target));

            #line 253 "..\..\..\..\Views\ProductView.xaml"
                this.SetPrimaryButton.Click += new System.Windows.RoutedEventHandler(this.SetPrimaryButton_OnClick);

            #line default
            #line hidden
                return;

            case 27:
                this.LanguageInfo = ((System.Windows.Controls.Button)(target));

            #line 255 "..\..\..\..\Views\ProductView.xaml"
                this.LanguageInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 28:
                this.UseLangForAllLabel = ((System.Windows.Controls.Label)(target));
                return;

            case 29:
                this.UseLangForAllProducts = ((System.Windows.Controls.CheckBox)(target));

            #line 264 "..\..\..\..\Views\ProductView.xaml"
                this.UseLangForAllProducts.Checked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);

            #line default
            #line hidden

            #line 264 "..\..\..\..\Views\ProductView.xaml"
                this.UseLangForAllProducts.Unchecked += new System.Windows.RoutedEventHandler(this.UseLangForAllProducts_OnChecked);

            #line default
            #line hidden
                return;

            case 30:
                this.LanguageUnique = ((System.Windows.Controls.ComboBox)(target));

            #line 266 "..\..\..\..\Views\ProductView.xaml"
                this.LanguageUnique.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.LanguageUnique_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 31:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 32:
                this.VersionInfo = ((System.Windows.Controls.Button)(target));

            #line 301 "..\..\..\..\Views\ProductView.xaml"
                this.VersionInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 33:
                this.ProductVersion = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 34:
                this.RemoteLoggingInfo = ((System.Windows.Controls.Button)(target));

            #line 322 "..\..\..\..\Views\ProductView.xaml"
                this.RemoteLoggingInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 35:
                this.RemoteLoggingPath = ((System.Windows.Controls.TextBox)(target));

            #line 333 "..\..\..\..\Views\ProductView.xaml"
                this.RemoteLoggingPath.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.RemoteLoggingPath_OnTextChanged);

            #line default
            #line hidden
                return;

            case 36:
                this.RemotePath = ((System.Windows.Controls.Button)(target));

            #line 338 "..\..\..\..\Views\ProductView.xaml"
                this.RemotePath.Click += new System.Windows.RoutedEventHandler(this.RemoteLoggingPath_OnClick);

            #line default
            #line hidden
                return;

            case 37:
                this.OpenLoggingFolderButton = ((System.Windows.Controls.Button)(target));

            #line 340 "..\..\..\..\Views\ProductView.xaml"
                this.OpenLoggingFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenLoggingFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 38:
                this.SourcePathInfo = ((System.Windows.Controls.Button)(target));

            #line 357 "..\..\..\..\Views\ProductView.xaml"
                this.SourcePathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 39:
                this.DownloadProgressBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 40:
                this.ProductUpdateSource = ((System.Windows.Controls.TextBox)(target));

            #line 378 "..\..\..\..\Views\ProductView.xaml"
                this.ProductUpdateSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.BuildFilePath_OnTextChanged);

            #line default
            #line hidden
                return;

            case 41:
                this.UpdatePath = ((System.Windows.Controls.Button)(target));

            #line 384 "..\..\..\..\Views\ProductView.xaml"
                this.UpdatePath.Click += new System.Windows.RoutedEventHandler(this.UpdatePath_OnClick);

            #line default
            #line hidden
                return;

            case 42:
                this.OpenFolderButton = ((System.Windows.Controls.Button)(target));

            #line 386 "..\..\..\..\Views\ProductView.xaml"
                this.OpenFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenFolderButton_OnClick);

            #line default
            #line hidden
                return;

            case 43:
                this.DownloadPathInfo = ((System.Windows.Controls.Button)(target));

            #line 406 "..\..\..\..\Views\ProductView.xaml"
                this.DownloadPathInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 44:
                this.DownloadProgressBarPath = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

            case 45:
                this.ProductDownloadSource = ((System.Windows.Controls.TextBox)(target));

            #line 428 "..\..\..\..\Views\ProductView.xaml"
                this.ProductDownloadSource.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.ProductDownloadSource_TextChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.DownloadPath = ((System.Windows.Controls.Button)(target));

            #line 433 "..\..\..\..\Views\ProductView.xaml"
                this.DownloadPath.Click += new System.Windows.RoutedEventHandler(this.DownloadPath_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.OpenDownloadFolderButton = ((System.Windows.Controls.Button)(target));

            #line 435 "..\..\..\..\Views\ProductView.xaml"
                this.OpenDownloadFolderButton.Click += new System.Windows.RoutedEventHandler(this.OpenDownloadFolderButton_Click);

            #line default
            #line hidden
                return;

            case 48:
                this.ExcludedTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 49:
                this.ExcludeAppInfo = ((System.Windows.Controls.Button)(target));

            #line 465 "..\..\..\..\Views\ProductView.xaml"
                this.ExcludeAppInfo.Click += new System.Windows.RoutedEventHandler(this.ProductInfo_OnClick);

            #line default
            #line hidden
                return;

            case 50:
                this.ExcludedApps1 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 52:
                this.ExcludedApps2 = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 54:
                this.PreviousButton = ((System.Windows.Controls.Button)(target));

            #line 566 "..\..\..\..\Views\ProductView.xaml"
                this.PreviousButton.Click += new System.Windows.RoutedEventHandler(this.PreviousButton_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.NextButton = ((System.Windows.Controls.Button)(target));

            #line 567 "..\..\..\..\Views\ProductView.xaml"
                this.NextButton.Click += new System.Windows.RoutedEventHandler(this.NextButton_Click);

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

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

            #line default
            #line hidden

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

            #line default
            #line hidden
                return;

            case 2:
                this.metroAnimatedTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
                return;

            case 3:
                this.lbtest = ((System.Windows.Controls.ListBox)(target));

            #line 92 "..\..\MainWindow.xaml"
                this.lbtest.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbtest_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.groupBoxpkginfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 7:
                this.lvpkginfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 8:
                this.groupBoxsfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 9:
                this.lvpkgsfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 10:
                this.groupBoxpkgtools = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

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

            #line 334 "..\..\MainWindow.xaml"
                this.button_Copy3.Click += new System.Windows.RoutedEventHandler(this.button_Copy3_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.button_Copy4 = ((System.Windows.Controls.Button)(target));
                return;

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

            case 16:
                this.pkgwb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 17:
                this.lbisotest = ((System.Windows.Controls.ListBox)(target));

            #line 568 "..\..\MainWindow.xaml"
                this.lbisotest.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbtest_SelectionChanged);

            #line default
            #line hidden
                return;

            case 19:
                this.groupBoxisoinfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 20:
                this.lvisoinfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 21:
                this.groupBoxisosfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 22:
                this.lvisosfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 23:
                this.groupBoxisotools = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 24:
                this.buttoniso = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.lbgametest = ((System.Windows.Controls.ListBox)(target));

            #line 891 "..\..\MainWindow.xaml"
                this.lbgametest.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbtest_SelectionChanged);

            #line default
            #line hidden
                return;

            case 27:
                this.groupBoxgameinfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 28:
                this.lvgameinfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 29:
                this.groupBoxgamesfo = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 30:
                this.lvgamesfo = ((System.Windows.Controls.ListView)(target));
                return;

            case 31:
                this.groupBoxgametools = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 32:
                this.buttongame = ((System.Windows.Controls.Button)(target));
                return;

            case 33:
                this.updtab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 34:

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

            #line default
            #line hidden
                return;

            case 35:
                this.buttonud = ((System.Windows.Controls.Button)(target));

            #line 1210 "..\..\MainWindow.xaml"
                this.buttonud.Click += new System.Windows.RoutedEventHandler(this.buttonud_Click);

            #line default
            #line hidden
                return;

            case 36:
                this.labelud = ((System.Windows.Controls.Label)(target));
                return;

            case 37:
                this.textBoxud = ((System.Windows.Controls.TextBox)(target));

            #line 1230 "..\..\MainWindow.xaml"
                this.textBoxud.PreviewDragOver += new System.Windows.DragEventHandler(this.textBox1_PreviewDragOver);

            #line default
            #line hidden

            #line 1230 "..\..\MainWindow.xaml"
                this.textBoxud.PreviewDrop += new System.Windows.DragEventHandler(this.textBox1_PreviewDrop);

            #line default
            #line hidden
                return;

            case 38:
                this.dataGrid = ((System.Windows.Controls.DataGrid)(target));
                return;

            case 41:
                this.textBox3 = ((System.Windows.Controls.TextBox)(target));
                return;

            case 42:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 43:
                this.buttonud_Copy = ((System.Windows.Controls.Button)(target));

            #line 1416 "..\..\MainWindow.xaml"
                this.buttonud_Copy.Click += new System.Windows.RoutedEventHandler(this.dlbuttonud_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.buttonud_Copy1 = ((System.Windows.Controls.Button)(target));

            #line 1433 "..\..\MainWindow.xaml"
                this.buttonud_Copy1.Click += new System.Windows.RoutedEventHandler(this.buttonud_Click);

            #line default
            #line hidden
                return;

            case 45:
                this.groupBox1 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 46:
                this.button1 = ((System.Windows.Controls.Button)(target));

            #line 1536 "..\..\MainWindow.xaml"
                this.button1.Click += new System.Windows.RoutedEventHandler(this.button1_Click);

            #line default
            #line hidden
                return;

            case 47:
                this.label1 = ((System.Windows.Controls.Label)(target));
                return;

            case 48:
                this.textBox1 = ((System.Windows.Controls.TextBox)(target));

            #line 1538 "..\..\MainWindow.xaml"
                this.textBox1.PreviewDragOver += new System.Windows.DragEventHandler(this.textBox1_PreviewDragOver);

            #line default
            #line hidden

            #line 1538 "..\..\MainWindow.xaml"
                this.textBox1.PreviewDrop += new System.Windows.DragEventHandler(this.textBox1_PreviewDrop);

            #line default
            #line hidden
                return;

            case 49:
                this.groupBox2 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 50:
                this.label2 = ((System.Windows.Controls.Label)(target));
                return;

            case 51:
                this.button2 = ((System.Windows.Controls.Button)(target));

            #line 1544 "..\..\MainWindow.xaml"
                this.button2.Click += new System.Windows.RoutedEventHandler(this.button2_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.textBox2 = ((System.Windows.Controls.TextBox)(target));

            #line 1545 "..\..\MainWindow.xaml"
                this.textBox2.PreviewDragOver += new System.Windows.DragEventHandler(this.textBox2_PreviewDragOver);

            #line default
            #line hidden

            #line 1545 "..\..\MainWindow.xaml"
                this.textBox2.PreviewDragEnter += new System.Windows.DragEventHandler(this.textBox2_PreviewDragOver);

            #line default
            #line hidden

            #line 1545 "..\..\MainWindow.xaml"
                this.textBox2.PreviewDrop += new System.Windows.DragEventHandler(this.textBox2_PreviewDrop);

            #line default
            #line hidden
                return;

            case 53:
                this.groupBox3 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 54:
                this.label3 = ((System.Windows.Controls.Label)(target));
                return;

            case 55:
                this.button3 = ((System.Windows.Controls.Button)(target));

            #line 1551 "..\..\MainWindow.xaml"
                this.button3.Click += new System.Windows.RoutedEventHandler(this.button3_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.textBox = ((System.Windows.Controls.TextBox)(target));

            #line 1552 "..\..\MainWindow.xaml"
                this.textBox.PreviewDragOver += new System.Windows.DragEventHandler(this.textBox_PreviewDragOver);

            #line default
            #line hidden

            #line 1552 "..\..\MainWindow.xaml"
                this.textBox.PreviewDragEnter += new System.Windows.DragEventHandler(this.textBox_PreviewDragOver);

            #line default
            #line hidden

            #line 1552 "..\..\MainWindow.xaml"
                this.textBox.PreviewDrop += new System.Windows.DragEventHandler(this.textBox_PreviewDrop);

            #line default
            #line hidden
                return;

            case 57:
                this.groupBoxtheme = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 58:
                this.listBox1 = ((System.Windows.Controls.ListBox)(target));

            #line 1577 "..\..\MainWindow.xaml"
                this.listBox1.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ListBoxItem_Selected);

            #line default
            #line hidden
                return;

            case 59:
                this.button7 = ((System.Windows.Controls.Button)(target));

            #line 1602 "..\..\MainWindow.xaml"
                this.button7.Click += new System.Windows.RoutedEventHandler(this.button7_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.b7tb1 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 61:
                this.trellowb = ((System.Windows.Controls.WebBrowser)(target));
                return;

            case 62:
                this.gridInfo2 = ((System.Windows.Controls.Grid)(target));
                return;

            case 63:
                this.fv1 = ((MahApps.Metro.Controls.FlipView)(target));
                return;

            case 64:
                this.fvi1 = ((MahApps.Metro.Controls.FlipViewItem)(target));
                return;

            case 65:
                this.VisitPlanScrollView = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 66:
                this.VisitPlanItems = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 68:
                this.fvidg = ((MahApps.Metro.Controls.FlipViewItem)(target));
                return;

            case 69:
                this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));

            #line 1756 "..\..\MainWindow.xaml"
                this.dataGrid1.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.dataGrid1_MouseDoubleClick);

            #line default
            #line hidden
                return;

            case 70:
                this.gridInfo3 = ((System.Windows.Controls.Grid)(target));
                return;

            case 71:

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

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

            #line 17 "..\..\..\..\Views\RemoteView.xaml"
                ((MetroDemo.ExampleViews.RemoteView)(target)).Loaded += new System.Windows.RoutedEventHandler(this.RemoteView_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.Product = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));

            #line 49 "..\..\..\..\Views\RemoteView.xaml"
                this.MainTabControl.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.MainTabControl_OnSelectionChanged);

            #line default
            #line hidden
                return;

            case 4:
                this.OptionalTab = ((System.Windows.Controls.TabItem)(target));
                return;

            case 5:
                this.RemoteMachineList = ((System.Windows.Controls.DataGrid)(target));
                return;

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

            #line 145 "..\..\..\..\Views\RemoteView.xaml"
                this.AddComputersButton.Click += new System.Windows.RoutedEventHandler(this.AddComputersButton_Click);

            #line default
            #line hidden
                return;

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

            #line 146 "..\..\..\..\Views\RemoteView.xaml"
                this.btnRemoveComputers.Click += new System.Windows.RoutedEventHandler(this.btnRemoveComputers_Click);

            #line default
            #line hidden
                return;

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

            #line 147 "..\..\..\..\Views\RemoteView.xaml"
                this.btnChangeChannelOrVersion.Click += new System.Windows.RoutedEventHandler(this.btnChangeChannelOrVersion_Click);

            #line default
            #line hidden
                return;

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

            #line 148 "..\..\..\..\Views\RemoteView.xaml"
                this.btnUpdateRemote.Click += new System.Windows.RoutedEventHandler(this.btnUpdateRemote_Click);

            #line default
            #line hidden
                return;

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

            #line 150 "..\..\..\..\Views\RemoteView.xaml"
                this.RemoteConfiguration.Click += new System.Windows.RoutedEventHandler(this.RemoteConfiguration_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.WaitImage = ((System.Windows.Controls.Image)(target));
                return;
            }
            this._contentLoaded = true;
        }
示例#40
-1
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.MainTabControl = ((MahApps.Metro.Controls.MetroAnimatedSingleRowTabControl)(target));
     return;
     case 2:
     this.UserListFilter = ((MahApps.Metro.Controls.SplitButton)(target));
     return;
     case 3:
     this.chx_userfilter = ((System.Windows.Controls.CheckBox)(target));
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Checked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     
     #line 45 "..\..\..\Views\ERPSettingsView.xaml"
     this.chx_userfilter.Unchecked += new System.Windows.RoutedEventHandler(this.chx_userfilter_Checked);
     
     #line default
     #line hidden
     return;
     case 4:
     this.lbl_userCount = ((System.Windows.Controls.Label)(target));
     return;
     case 5:
     this.actionBar = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 6:
     this.btn_activateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 7:
     this.btn_deactivateUser = ((System.Windows.Controls.Button)(target));
     return;
     case 8:
     this.btn_showAddUser = ((System.Windows.Controls.Button)(target));
     return;
     case 9:
     this.viewUsers = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 10:
     this.txtFirstName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 11:
     this.txtLastName = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.txtEmail = ((System.Windows.Controls.TextBox)(target));
     return;
     case 13:
     this.txtPassword = ((System.Windows.Controls.PasswordBox)(target));
     return;
     case 14:
     this.cmbUserDeparment = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 15:
     this.time_interval_updatenotifications = ((MahApps.Metro.Controls.NumericUpDown)(target));
     return;
     case 16:
     this.tb_emailsmtphost = ((System.Windows.Controls.TextBox)(target));
     return;
     case 17:
     this.smtpring = ((MahApps.Metro.Controls.ProgressRing)(target));
     return;
     case 18:
     this.tb_emailfrom = ((System.Windows.Controls.TextBox)(target));
     return;
     }
     this._contentLoaded = true;
 }