當前位置: 首頁>>代碼示例>>C#>>正文


C# Integration.WindowsFormsHost類代碼示例

本文整理匯總了C#中System.Windows.Forms.Integration.WindowsFormsHost的典型用法代碼示例。如果您正苦於以下問題:C# WindowsFormsHost類的具體用法?C# WindowsFormsHost怎麽用?C# WindowsFormsHost使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


WindowsFormsHost類屬於System.Windows.Forms.Integration命名空間,在下文中一共展示了WindowsFormsHost類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:erwin-hamid,項目名稱:LogPro,代碼行數:9,代碼來源:ViewDocumentBrowser.g.i.cs

示例2: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.UserControl = ((ProcessCapture.PDF.PDFViewer)(target));
     return;
     case 2:
     this.host = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:millsy,項目名稱:Process-Capture,代碼行數:12,代碼來源:PDFViewer.g.cs

示例3: initializeBoard

        public void initializeBoard()
        {
            new WorldMap().Show();
            for (int i = 0; i < 12; i++)
            {
                for (int j = 0; j < 12; j++)
                {
                   
                            host[i, j] = new System.Windows.Forms.Integration.WindowsFormsHost();

                            play[i, j] = new System.Windows.Forms.Tyle();
                            play[i, j].Size = new System.Drawing.Size(50, 50);
                            play[i, j].Row = i;
                            play[i, j].Col = j;
                            play[i, j].BorderStyle = BorderStyle.None;
                            play[i, j].Location = new System.Drawing.Point(j * 50 + 50, i * 50 + 50);
                            if (table[i, j] == 2)
                            {
                                play[i, j].BackColor = System.Drawing.Color.Blue;
                            }
                            else
                            {
                                play[i, j].BackColor = System.Drawing.Color.Green;
                            } 
                            
                            play[i, j].BackgroundImageLayout = ImageLayout.Center;

                            play[i, j].Click += new EventHandler(Tyle_Click);
                            play[i, j].Timer += new EventHandler(timer_Tick);

                            host[i, j].Child = play[i, j];
                   
                           
                            board.Children.Add(host[i, j]);
                             
                           
                  }
                }
            }
開發者ID:insonia78,項目名稱:project,代碼行數:39,代碼來源:MainWindow.xaml.cs

示例4: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.HousePlacerStackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 2:
     this.HousePlacerListBox = ((System.Windows.Controls.ListBox)(target));
     return;
     case 5:
     this.StartCaculateButton = ((System.Windows.Controls.Button)(target));
     
     #line 211 "..\..\..\..\UserControl\HousePlacerUserControl.xaml"
     this.StartCaculateButton.Click += new System.Windows.RoutedEventHandler(this.StartCaculateButtonClick);
     
     #line default
     #line hidden
     return;
     case 6:
     this.HouseToolbarHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 7:
     this.HouseMapHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:Leooonard,項目名稱:CGXM,代碼行數:27,代碼來源:HousePlacerUserControl.g.cs

示例5: switch


//.........這裏部分代碼省略.........
     return;
     case 77:
     this.stackValidation5 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 78:
     this.Stack_Adicionales_4 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 79:
     this.textblock_recuento4 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 80:
     this.Border_Detail1 = ((System.Windows.Controls.Border)(target));
     return;
     case 81:
     this.Stack_DetailSerial18 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 82:
     this.Stack_DetailSerial1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 83:
     this.Stack_DetailSerial455 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 84:
     this.Stack_DetailSerial9 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 85:
     this.Stack_UploadPrealerta9 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 86:
     this.txt_serial = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 87:
     this.tb_serial = ((System.Windows.Controls.TextBox)(target));
     
     #line 397 "..\..\..\..\IQ\Views\AdministradorView.xaml"
     this.tb_serial.KeyDown += new System.Windows.Input.KeyEventHandler(this.tb_Serial_keydown_admin);
     
     #line default
     #line hidden
     return;
     case 88:
     this.Stack_UploadPrealerta10 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 89:
     this.txt_mac = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 90:
     this.tb_mac = ((System.Windows.Controls.TextBox)(target));
     
     #line 402 "..\..\..\..\IQ\Views\AdministradorView.xaml"
     this.tb_mac.KeyDown += new System.Windows.Input.KeyEventHandler(this.tb_mac_keydown_admin);
     
     #line default
     #line hidden
     return;
     case 91:
     this.Stack_Adicionales_2 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 92:
     this.lv_equipos = ((System.Windows.Controls.ListView)(target));
     
     #line 406 "..\..\..\..\IQ\Views\AdministradorView.xaml"
     this.lv_equipos.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lv_listEquipos_selectionChanged);
     
     #line default
     #line hidden
     return;
     case 93:
     this.GridViewDetails3 = ((System.Windows.Controls.GridView)(target));
     return;
     case 94:
     this.textblock_recuento1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 95:
     this.Stack_DetailSerial45 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 96:
     this.host = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 97:
     this.MyWinformChart = ((System.Windows.Forms.DataVisualization.Charting.Chart)(target));
     return;
     case 98:
     this.Stack_DetailSerial55 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 99:
     this.Stack_Adicionales1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 100:
     this.dataGrid1 = ((System.Windows.Controls.DataGrid)(target));
     return;
     case 101:
     this.textblock_recuento2 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 102:
     this.Stack_Button1 = ((System.Windows.Controls.StackPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:erwin-hamid,項目名稱:LogPro,代碼行數:101,代碼來源:AdministradorView.g.cs

示例6: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\View\ImportDialog.xaml"
     ((WordToTFSWordAddIn.Views.ImportDialog)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.DataWindowClosed);
     
     #line default
     #line hidden
     return;
     case 2:
     this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 3:
     this.importButton = ((System.Windows.Controls.Button)(target));
     
     #line 24 "..\..\..\View\ImportDialog.xaml"
     this.importButton.Click += new System.Windows.RoutedEventHandler(this.importButton_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.cancelButton = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\View\ImportDialog.xaml"
     this.cancelButton.Click += new System.Windows.RoutedEventHandler(this.cancelButton_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.contentImportCheckBox = ((System.Windows.Controls.CheckBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:NikitaEgorov,項目名稱:SALMA,代碼行數:38,代碼來源:ImportDialog.g.cs

示例7: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\..\窗體\MainWindow.xaml"
     ((Intersect.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.SelectHousePopup = ((System.Windows.Controls.Primitives.Popup)(target));
     return;
     case 3:
     this.ProgramListTitle = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 4:
     this.CreateProgramButton = ((System.Windows.Controls.Button)(target));
     
     #line 152 "..\..\..\..\窗體\MainWindow.xaml"
     this.CreateProgramButton.Click += new System.Windows.RoutedEventHandler(this.CreateProgramButtonClick);
     
     #line default
     #line hidden
     return;
     case 5:
     this.ProgramList = ((System.Windows.Controls.ListBox)(target));
     return;
     case 8:
     this.toolbarHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 9:
     this.mapHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 10:
     this.TotalHouseInfo = ((System.Windows.Controls.TextBlock)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:wingzhangmaybe,項目名稱:CGXM,代碼行數:41,代碼來源:MainWindow.g.cs

示例8: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\LichSuBanHang\WindowLichSuBanHang.xaml"
     ((Report.LichSuBanHang.WindowLichSuBanHang)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ReportData = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 3:
     this._reportViewer = ((Microsoft.Reporting.WinForms.ReportViewer)(target));
     return;
     case 4:
     this.uCTileReport = ((Report.UCTileReport)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:MisterTobi,項目名稱:restaurant-cafe,代碼行數:23,代碼來源:WindowLichSuBanHang.g.cs

示例9: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((EzMon_V0._01.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     
     #line 7 "..\..\..\MainWindow.xaml"
     ((EzMon_V0._01.MainWindow)(target)).Closing += new System.ComponentModel.CancelEventHandler(this.Window_Closing);
     
     #line default
     #line hidden
     return;
     case 2:
     this.ChartGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 3:
     this.GraphicalDisplayGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.sliderGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 5:
     this.youPointer = ((System.Windows.Controls.Image)(target));
     return;
     case 6:
     this.TBHRDisplay_secondary = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 7:
     this.tbHRStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 8:
     this.ChartHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 9:
     this.leftColumn = ((System.Windows.Controls.Grid)(target));
     return;
     case 10:
     this.HRGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 11:
     this.tbHeartRate = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 12:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 13:
     this.tempGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 14:
     this.tbTemperature = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 15:
     this.AccGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 16:
     this.arcActivity = ((Microsoft.Expression.Shapes.Arc)(target));
     return;
     case 17:
     this.txtActivityIndex = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 18:
     this.txtActivityStatus = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 19:
     this.Grid2 = ((System.Windows.Controls.Grid)(target));
     return;
     case 20:
     this.xVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.yVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 22:
     this.zVal = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 23:
     this.fallGrid = ((System.Windows.Controls.Grid)(target));
     return;
     case 24:
     this.debugText = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 25:
     this.top = ((System.Windows.Controls.Grid)(target));
     return;
     case 26:
     this.ConnectDisconnectButton = ((System.Windows.Controls.Button)(target));
     
     #line 186 "..\..\..\MainWindow.xaml"
     this.ConnectDisconnectButton.Click += new System.Windows.RoutedEventHandler(this.ConnectDisconnectButton_Click);
     
     #line default
     #line hidden
     return;
     case 27:
     this.grid2 = ((System.Windows.Controls.Grid)(target));
//.........這裏部分代碼省略.........
開發者ID:rhlrjv,項目名稱:ezmon,代碼行數:101,代碼來源:MainWindow.g.cs

示例10: switch


//.........這裏部分代碼省略.........
     this.checkBox4 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 48:
     this.checkBox5 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 49:
     this.checkBox6 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 50:
     this.checkBox7 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 51:
     this.checkBox8 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 52:
     this.checkBox9 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 53:
     this.checkBox10 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 54:
     this.checkBox11 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 55:
     this.checkBox12 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 56:
     this.checkBox13 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 57:
     this.checkBox14 = ((System.Windows.Controls.CheckBox)(target));
     return;
     case 58:
     this.WinFormHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 59:
     this.gridView = ((System.Windows.Forms.DataGridView)(target));
     return;
     case 60:
     this.Lbl_Explain3 = ((System.Windows.Controls.Label)(target));
     return;
     case 61:
     this.textBox18 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 62:
     this.Lbl_Malek = ((System.Windows.Controls.Label)(target));
     return;
     case 63:
     this.textBox14 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 64:
     this.Lbl_TelHamahangi = ((System.Windows.Controls.Label)(target));
     return;
     case 65:
     this.textBox15 = ((System.Windows.Controls.TextBox)(target));
     return;
     case 66:
     this._4thOrder = ((System.Windows.Controls.Grid)(target));
     return;
     case 67:
     this.Lbl_Price_harmetr_zamin = ((System.Windows.Controls.Label)(target));
     return;
     case 68:
     this.textBox16 = ((System.Windows.Controls.TextBox)(target));
     
     #line 284 "..\..\..\..\Results\HouseS.xaml"
開發者ID:omid55,項目名稱:real_state_manager,代碼行數:67,代碼來源:HouseS.g.cs

示例11: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.Window = ((UseWindowsFormsHost.Window1)(target));
     return;
     case 2:
     this.chkMakeAppt = ((System.Windows.Controls.CheckBox)(target));
     
     #line 18 "..\..\Window1.xaml"
     this.chkMakeAppt.Checked += new System.Windows.RoutedEventHandler(this.chkMakeAppt_Checked);
     
     #line default
     #line hidden
     
     #line 18 "..\..\Window1.xaml"
     this.chkMakeAppt.Unchecked += new System.Windows.RoutedEventHandler(this.chkMakeAppt_Unchecked);
     
     #line default
     #line hidden
     return;
     case 3:
     this.wfhAppt = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 4:
     this.dtpAppt = ((System.Windows.Forms.DateTimePicker)(target));
     return;
     case 5:
     this.wfhAppt1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 6:
     this.cmb = ((System.Windows.Forms.ComboBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:tian1ll1,項目名稱:WPF_Examples,代碼行數:36,代碼來源:Window1.g.i.cs

示例12: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 6 "..\..\..\TableauWinformsWindow.xaml"
     ((Soggiorni.TableauWinformsWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.btnLeft = ((System.Windows.Controls.Button)(target));
     
     #line 14 "..\..\..\TableauWinformsWindow.xaml"
     this.btnLeft.Click += new System.Windows.RoutedEventHandler(this.btnLeft_Click);
     
     #line default
     #line hidden
     return;
     case 3:
     this.btnRight = ((System.Windows.Controls.Button)(target));
     
     #line 19 "..\..\..\TableauWinformsWindow.xaml"
     this.btnRight.Click += new System.Windows.RoutedEventHandler(this.btnRight_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.txtIntervallo = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 5:
     this.btnPrint = ((System.Windows.Controls.Button)(target));
     
     #line 25 "..\..\..\TableauWinformsWindow.xaml"
     this.btnPrint.Click += new System.Windows.RoutedEventHandler(this.btnPrint_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.windowsFormsHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:eddiez,項目名稱:soggiorni,代碼行數:47,代碼來源:TableauWinformsWindow.g.i.cs

示例13: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.fondo = ((System.Windows.Controls.Grid)(target));
     
     #line 6 "..\..\..\..\VisoresDocumentos\VentanaDocumentos.xaml"
     this.fondo.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.fondo_MouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.label2 = ((System.Windows.Controls.Label)(target));
     return;
     case 3:
     this.image1 = ((System.Windows.Controls.Image)(target));
     return;
     case 4:
     this.btnCerrar = ((mialejandria.mifaro.Controles.BotonCerrado)(target));
     return;
     case 5:
     this.btnRestaurar = ((mialejandria.mifaro.Controles.BotonRestaurar)(target));
     return;
     case 6:
     this.windowsFormsHost1 = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 7:
     this.label1 = ((System.Windows.Controls.Label)(target));
     return;
     case 8:
     this.panelEtiquetas = ((System.Windows.Controls.WrapPanel)(target));
     return;
     case 9:
     this.label3 = ((System.Windows.Controls.Label)(target));
     return;
     case 10:
     this.textBlock1 = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 11:
     this.txtAddLabel = ((System.Windows.Controls.TextBox)(target));
     return;
     case 12:
     this.btnAddEtiqueta = ((System.Windows.Controls.Image)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:mialejandriastartup,項目名稱:mialejandria.mifaro,代碼行數:48,代碼來源:VentanaDocumentos.g.i.cs

示例14: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 31 "..\..\..\..\Samples\AvalonEdit\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.openFileClick);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 32 "..\..\..\..\Samples\AvalonEdit\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.saveFileClick);
     
     #line default
     #line hidden
     return;
     case 3:
     
     #line 34 "..\..\..\..\Samples\AvalonEdit\Window1.xaml"
     ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.exitClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.highlightingComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 61 "..\..\..\..\Samples\AvalonEdit\Window1.xaml"
     this.highlightingComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.HighlightingComboBox_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 5:
     this.textEditor = ((ICSharpCode.AvalonEdit.TextEditor)(target));
     return;
     case 6:
     this.propertyGridComboBox = ((System.Windows.Controls.ComboBox)(target));
     
     #line 78 "..\..\..\..\Samples\AvalonEdit\Window1.xaml"
     this.propertyGridComboBox.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.propertyGridComboBoxSelectionChanged);
     
     #line default
     #line hidden
     return;
     case 7:
     this.propertyGridHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     case 8:
     this.propertyGrid = ((System.Windows.Forms.PropertyGrid)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:santatamas,項目名稱:WPF-Presentation,代碼行數:57,代碼來源:Window1.g.i.cs

示例15: switch

 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 5 "..\..\..\..\Modules\Utilities\SQLDataBaseDocumentationrPage.xaml"
     ((System.Windows.Controls.Grid)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Grid_Loaded);
     
     #line default
     #line hidden
     return;
     case 2:
     this.MainWindowsFormsHost = ((System.Windows.Forms.Integration.WindowsFormsHost)(target));
     return;
     }
     this._contentLoaded = true;
 }
開發者ID:Nsobi,項目名稱:PoliceReports,代碼行數:17,代碼來源:SQLDataBaseDocumentationrPage.g.i.cs


注:本文中的System.Windows.Forms.Integration.WindowsFormsHost類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。