Exemplo n.º 1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 9 "..\..\..\Apps\MainControl.xaml"
                ((C3D_2016_Anno.Apps.MainControl)(target)).Loaded += new System.Windows.RoutedEventHandler(this.UserControl_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

            #line 26 "..\..\..\Apps\MainControl.xaml"
                this.cBox_Mapper.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cBox_Mapper_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Apps\MainControl.xaml"
                this.btn_open_mapperFile.Click += new System.Windows.RoutedEventHandler(this.btn_open_mapperFile_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\..\Apps\MainControl.xaml"
                this.btn_fetchSelectedmapperFiles.Click += new System.Windows.RoutedEventHandler(this.btn_fetchSelectedmapperFiles_Click);

            #line default
            #line hidden
                return;

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

            #line 56 "..\..\..\Apps\MainControl.xaml"
                this.btn_browse_mapperFile.Click += new System.Windows.RoutedEventHandler(this.btn_browse_mapperFile_Click);

            #line default
            #line hidden
                return;

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

            #line 66 "..\..\..\Apps\MainControl.xaml"
                this.btn_browse_mapperFile_Copy.Click += new System.Windows.RoutedEventHandler(this.btn_fetchmapperFiles_Click);

            #line default
            #line hidden
                return;

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

            #line 76 "..\..\..\Apps\MainControl.xaml"
                this.cBox_template.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cBox_template_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 86 "..\..\..\Apps\MainControl.xaml"
                this.btn_open_templateFile.Click += new System.Windows.RoutedEventHandler(this.btn_open_templateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 96 "..\..\..\Apps\MainControl.xaml"
                this.btn_fetchSelectedtamplateFile.Click += new System.Windows.RoutedEventHandler(this.btn_fetchSelectedtamplateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 106 "..\..\..\Apps\MainControl.xaml"
                this.btn_browse_templateFile.Click += new System.Windows.RoutedEventHandler(this.btn_browse_templateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 116 "..\..\..\Apps\MainControl.xaml"
                this.btn_browse_templateFile_Copy.Click += new System.Windows.RoutedEventHandler(this.btn_fetchtamplateFile_Click);

            #line default
            #line hidden
                return;

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

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

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

            #line 131 "..\..\..\Apps\MainControl.xaml"
                this.btn_selectLabels.Click += new System.Windows.RoutedEventHandler(this.btn_selectLabels_Click);

            #line default
            #line hidden
                return;

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

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

            #line 142 "..\..\..\Apps\MainControl.xaml"
                this.btn_selectViewport.Click += new System.Windows.RoutedEventHandler(this.btn_selectViewport_Click);

            #line default
            #line hidden
                return;

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

            case 19:
                this.proBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

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

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

            case 22:
                this.btn_HeadingBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 163 "..\..\..\Apps\MainControl.xaml"
                this.btn_HeadingBold.Click += new System.Windows.RoutedEventHandler(this.btn_fetchmapperFiles_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btn_HeadingUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 164 "..\..\..\Apps\MainControl.xaml"
                this.btn_HeadingUnderline.Click += new System.Windows.RoutedEventHandler(this.btn_fetchmapperFiles_Click);

            #line default
            #line hidden
                return;

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

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

            #line 166 "..\..\..\Apps\MainControl.xaml"
                this.btn_CreateKeyNote.Click += new System.Windows.RoutedEventHandler(this.btn_CreateKeyNote_Click);

            #line default
            #line hidden
                return;

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

            case 27:
                this.cBox_objectType = ((System.Windows.Controls.ComboBox)(target));

            #line 169 "..\..\..\Apps\MainControl.xaml"
                this.cBox_objectType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cBox_objectType_SelectionChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.tabControl = ((System.Windows.Controls.TabControl)(target));
                return;

            case 29:
                this.lBox_CurrentNotes = ((System.Windows.Controls.ListView)(target));
                return;

            case 30:

            #line 178 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 183 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 32:
                this.lBox_missingNotes = ((System.Windows.Controls.ListView)(target));
                return;

            case 33:

            #line 198 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 34:

            #line 203 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.groupBox4 = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 36:
                this.lBox_labels = ((System.Windows.Controls.ListView)(target));

            #line 216 "..\..\..\Apps\MainControl.xaml"
                this.lBox_labels.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lBox_labels_SelectionChanged);

            #line default
            #line hidden
                return;

            case 37:

            #line 219 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.lBox_labels_zoomto_Click);

            #line default
            #line hidden
                return;

            case 38:

            #line 220 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.lBox_labels_select_Click);

            #line default
            #line hidden
                return;

            case 39:

            #line 227 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.labellistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 40:

            #line 232 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.labellistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 41:

            #line 237 "..\..\..\Apps\MainControl.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.labellistColumnHeader_Click);

            #line default
            #line hidden
                return;

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

            #line 247 "..\..\..\Apps\MainControl.xaml"
                this.btn_openXMLMan.Click += new System.Windows.RoutedEventHandler(this.btn_openXMLMan_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.loginUserControl = ((VirtuaLicense.LoginControl)(target));
                return;

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

            #line 249 "..\..\..\Apps\MainControl.xaml"
                this.BtnLogOut.Click += new System.Windows.RoutedEventHandler(this.BtnLogOut_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemplo n.º 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.tBox_StyleStructureFile = ((System.Windows.Controls.TextBox)(target));

            #line 38 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.tBox_StyleStructureFile.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tBox_StyleStructureFile_TextChanged);

            #line default
            #line hidden
                return;

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

            #line 39 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_browse_SSTFile.Click += new System.Windows.RoutedEventHandler(this.btn_browse_SSTFile_Click);

            #line default
            #line hidden
                return;

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

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

            #line 50 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.cBox_template.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cBox_template_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 60 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_open_templateFile.Click += new System.Windows.RoutedEventHandler(this.btn_open_templateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 70 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_fetchSelectedtamplateFile.Click += new System.Windows.RoutedEventHandler(this.btn_fetchSelectedtamplateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 80 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_browse_templateFile.Click += new System.Windows.RoutedEventHandler(this.btn_browse_templateFile_Click);

            #line default
            #line hidden
                return;

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

            #line 90 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_browse_templateFile_Copy.Click += new System.Windows.RoutedEventHandler(this.btn_fetchtamplateFile_Click);

            #line default
            #line hidden
                return;

            case 9:
                this.groupBox = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            #line 106 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_selectLabels.Click += new System.Windows.RoutedEventHandler(this.btn_selectLabels_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.label1_Copy = ((System.Windows.Controls.Label)(target));
                return;

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

            #line 117 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_selectViewport.Click += new System.Windows.RoutedEventHandler(this.btn_selectViewport_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.lbl_statusCount = ((System.Windows.Controls.Label)(target));
                return;

            case 15:
                this.proBar = ((MahApps.Metro.Controls.MetroProgressBar)(target));
                return;

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

            #line 139 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.cBox_objectType.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cBox_objectType_SelectionChanged);

            #line default
            #line hidden
                return;

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

            #line 140 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_clearCollectionandUI.Click += new System.Windows.RoutedEventHandler(this.btn_clearCollectionandUI_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.lBox_CurrentNotes = ((System.Windows.Controls.ListView)(target));
                return;

            case 19:

            #line 155 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

            case 20:

            #line 160 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                ((System.Windows.Controls.GridViewColumnHeader)(target)).Click += new System.Windows.RoutedEventHandler(this.notelistColumnHeader_Click);

            #line default
            #line hidden
                return;

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

            case 22:
                this.btn_HeadingBold = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

            case 23:
                this.btn_HeadingUnderline = ((System.Windows.Controls.Primitives.ToggleButton)(target));
                return;

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

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

            #line 175 "..\..\..\..\Apps\AAnno2\AAnnoView.xaml"
                this.btn_CreateKeyNote.Click += new System.Windows.RoutedEventHandler(this.btn_CreateKeyNote_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.loginUserControl = ((VirtuaLicense.LoginControl)(target));
                return;
            }
            this._contentLoaded = true;
        }