コード例 #1
0
ファイル: MainWindow.g.i.cs プロジェクト: gjtjx/ImageDatabase
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.frmMain = ((ImageDatabase.MainWindow)(target));
     
     #line 5 "..\..\MainWindow.xaml"
     this.frmMain.Loaded += new System.Windows.RoutedEventHandler(this.frmMain_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnIndex = ((System.Windows.Controls.Button)(target));
     
     #line 7 "..\..\MainWindow.xaml"
     this.btnIndex.Click += new System.Windows.RoutedEventHandler(this.btnIndex_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.lblDirectoryPath = ((System.Windows.Controls.TextBox)(target));
     return;
     case 4:
     this.pbIndex = ((System.Windows.Controls.ProgressBar)(target));
     return;
     case 5:
     this.lblIndexStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 6:
     this.btnSelectQueryImage = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\MainWindow.xaml"
     this.btnSelectQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnSelectQueryImage_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.btnQueryImage = ((System.Windows.Controls.Button)(target));
     
     #line 15 "..\..\MainWindow.xaml"
     this.btnQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnQueryImage_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.imqQuery = ((System.Windows.Controls.Image)(target));
     return;
     case 9:
     this.txtQuery = ((System.Windows.Controls.TextBox)(target));
     return;
     case 10:
     this.ImageList = ((System.Windows.Controls.ItemsControl)(target));
     return;
     case 13:
     this.cmbAlgo = ((System.Windows.Controls.ComboBox)(target));
     
     #line 56 "..\..\MainWindow.xaml"
     this.cmbAlgo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbAlgo_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 14:
     this.lblQueryStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.btnSelectFolder = ((System.Windows.Controls.Button)(target));
     
     #line 66 "..\..\MainWindow.xaml"
     this.btnSelectFolder.Click += new System.Windows.RoutedEventHandler(this.btnSelectFolder_Click);
     
     #line default
     #line hidden
     return;
     case 16:
     this.chkIndexAysc = ((System.Windows.Controls.CheckBox)(target));
     
     #line 67 "..\..\MainWindow.xaml"
     this.chkIndexAysc.Click += new System.Windows.RoutedEventHandler(this.chkIndexAysc_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btnClear = ((System.Windows.Controls.Button)(target));
     
     #line 68 "..\..\MainWindow.xaml"
     this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btnShowHideSettings = ((System.Windows.Controls.Button)(target));
     
     #line 69 "..\..\MainWindow.xaml"
     this.btnShowHideSettings.Click += new System.Windows.RoutedEventHandler(this.btnShowHideSettings_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.VectorSetting = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.grpSurf = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 21:
     this.lblSurfThreshold = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.cmbSurfThreshold = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 23:
     this.lbl2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 24:
     this.nudsurfUniqueThreshold = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
     return;
     case 25:
     this.lbl3 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 26:
     this.nudsurfGoodMatchThreshold = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
     return;
     case 27:
     this.lblSurfApproach = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 28:
     this.cmbSurfApproach = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 29:
     this.CeddSetting = ((System.Windows.Controls.Grid)(target));
     return;
     case 30:
     this.grpCEDD = ((System.Windows.Controls.GroupBox)(target));
     return;
     case 31:
     this.lblCeddAlgoType = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 32:
     this.cmbCeddAlgoType = ((System.Windows.Controls.ComboBox)(target));
     return;
     case 33:
     this.lblCutOffDistance = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 34:
     this.nudCEDDGoodMatchThreshold = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
     return;
     }
     this._contentLoaded = true;
 }
コード例 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMain = ((ImageDatabase.MainWindow)(target));

            #line 5 "..\..\MainWindow.xaml"
                this.frmMain.Loaded += new System.Windows.RoutedEventHandler(this.frmMain_Loaded);

            #line default
            #line hidden
                return;

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

            #line 7 "..\..\MainWindow.xaml"
                this.btnIndex.Click += new System.Windows.RoutedEventHandler(this.btnIndex_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.pbIndex = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

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

            #line 14 "..\..\MainWindow.xaml"
                this.btnSelectQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnSelectQueryImage_Click);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\MainWindow.xaml"
                this.btnQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnQueryImage_Click);

            #line default
            #line hidden
                return;

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

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

            case 10:
                this.ImageList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 11:
                this.cmbAlgo = ((System.Windows.Controls.ComboBox)(target));

            #line 50 "..\..\MainWindow.xaml"
                this.cmbAlgo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbAlgo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 12:
                this.lblQueryStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 59 "..\..\MainWindow.xaml"
                this.btnSelectFolder.Click += new System.Windows.RoutedEventHandler(this.btnSelectFolder_Click);

            #line default
            #line hidden
                return;

            case 14:
                this.chkIndexAysc = ((System.Windows.Controls.CheckBox)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.chkIndexAysc.Click += new System.Windows.RoutedEventHandler(this.chkIndexAysc_Click);

            #line default
            #line hidden
                return;

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

            #line 61 "..\..\MainWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 17:
                this.VectorSetting = ((System.Windows.Controls.Grid)(target));
                return;

            case 18:
                this.grpSurf = ((System.Windows.Controls.GroupBox)(target));
                return;

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

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

            case 21:
                this.lbl2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 22:
                this.nudsurfUniqueThreshold = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;
            }
            this._contentLoaded = true;
        }
コード例 #3
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.frmMain = ((ImageDatabase.MainWindow)(target));

            #line 5 "..\..\..\MainWindow.xaml"
                this.frmMain.Loaded += new System.Windows.RoutedEventHandler(this.frmMain_Loaded);

            #line default
            #line hidden
                return;

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

            #line 15 "..\..\..\MainWindow.xaml"
                this.btnIndex.Click += new System.Windows.RoutedEventHandler(this.btnIndex_Click);

            #line default
            #line hidden
                return;

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

            case 4:
                this.pbIndex = ((System.Windows.Controls.ProgressBar)(target));
                return;

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

            #line 21 "..\..\..\MainWindow.xaml"
                this.btnSelectQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnSelectQueryImage_Click);

            #line default
            #line hidden
                return;

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

            #line 22 "..\..\..\MainWindow.xaml"
                this.btnQueryImage.Click += new System.Windows.RoutedEventHandler(this.btnQueryImage_Click);

            #line default
            #line hidden
                return;

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

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

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

            case 10:
                this.ImageList = ((System.Windows.Controls.ItemsControl)(target));
                return;

            case 14:
                this.cmbAlgo = ((System.Windows.Controls.ComboBox)(target));

            #line 71 "..\..\..\MainWindow.xaml"
                this.cmbAlgo.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cmbAlgo_SelectionChanged);

            #line default
            #line hidden
                return;

            case 15:
                this.lblQueryStatus = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            #line 82 "..\..\..\MainWindow.xaml"
                this.btnSelectFolder.Click += new System.Windows.RoutedEventHandler(this.btnSelectFolder_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.chkIndexAysc = ((System.Windows.Controls.CheckBox)(target));

            #line 83 "..\..\..\MainWindow.xaml"
                this.chkIndexAysc.Click += new System.Windows.RoutedEventHandler(this.chkIndexAysc_Click);

            #line default
            #line hidden
                return;

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

            #line 84 "..\..\..\MainWindow.xaml"
                this.btnClear.Click += new System.Windows.RoutedEventHandler(this.btnClear_Click);

            #line default
            #line hidden
                return;

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

            #line 85 "..\..\..\MainWindow.xaml"
                this.btnShowHideSettings.Click += new System.Windows.RoutedEventHandler(this.btnShowHideSettings_Click);

            #line default
            #line hidden
                return;

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

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

            case 22:
                this.lblSurfThreshold = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 24:
                this.lbl2 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 25:
                this.nudsurfUniqueThreshold = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 26:
                this.lbl3 = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 27:
                this.nudsurfGoodMatchThreshold = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 28:
                this.lblSurfApproach = ((System.Windows.Controls.TextBlock)(target));
                return;

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

            case 30:
                this.grpLocate = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 31:
                this.chkCreateCodeBook = ((System.Windows.Controls.CheckBox)(target));

            #line 114 "..\..\..\MainWindow.xaml"
                this.chkCreateCodeBook.Checked += new System.Windows.RoutedEventHandler(this.CheckBox_changed);

            #line default
            #line hidden

            #line 114 "..\..\..\MainWindow.xaml"
                this.chkCreateCodeBook.Unchecked += new System.Windows.RoutedEventHandler(this.CheckBox_changed);

            #line default
            #line hidden
                return;

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

            #line 115 "..\..\..\MainWindow.xaml"
                this.btnSelectCodeBook.Click += new System.Windows.RoutedEventHandler(this.btnSelectCodeBook_Click);

            #line default
            #line hidden
                return;

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

            case 34:
                this.lblCodeBookLength = ((System.Windows.Controls.Label)(target));
                return;

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

            case 36:
                this.chkLTEScheme = ((System.Windows.Controls.CheckBox)(target));
                return;

            case 37:
                this.nudLocateDistanceThreshold = ((Xceed.Wpf.Toolkit.DoubleUpDown)(target));
                return;

            case 38:
                this.nudCodeBookLength = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 39:
                this.lblQueryAlgo = ((System.Windows.Controls.Label)(target));
                return;

            case 40:
                this.cmbLocateQueryAlgo = ((System.Windows.Controls.ComboBox)(target));
                return;

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

            case 42:
                this.grpCEDD = ((System.Windows.Controls.GroupBox)(target));
                return;

            case 43:
                this.lblCeddAlgoType = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 44:
                this.cmbCeddAlgoType = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 45:
                this.lblCutOffDistance = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 46:
                this.nudCEDDGoodMatchThreshold = ((Xceed.Wpf.Toolkit.IntegerUpDown)(target));
                return;

            case 47:
                this.lblIndexStatus = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }