Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.LayoutRoot = ((DevExpress.Xpf.LayoutControl.LayoutControl)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:
                this.grid = ((DevExpress.Xpf.Grid.GridControl)(target));
                return;

            case 4:
                this.tableView = ((DevExpress.Xpf.Grid.TableView)(target));
                return;

            case 5:
                this.spreadsheetControl = ((DevExpress.Xpf.Spreadsheet.SpreadsheetControl)(target));
                return;

            case 6:
                this.richEditControl = ((DevExpress.Xpf.RichEdit.RichEditControl)(target));
                return;

            case 7:
                this.webBrowser = ((System.Windows.Controls.WebBrowser)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.reProgram = ((DevExpress.Xpf.RichEdit.RichEditControl)(target));

            #line 25 "..\..\MainWindow.xaml"
                this.reProgram.Loaded += new System.Windows.RoutedEventHandler(this.reProgram_Loaded);

            #line default
            #line hidden

            #line 25 "..\..\MainWindow.xaml"
                this.reProgram.ContentChanged += new System.EventHandler(this.reProgram_ContentChanged);

            #line default
            #line hidden
                return;

            case 2:
                this.reConsole = ((DevExpress.Xpf.RichEdit.RichEditControl)(target));

            #line 27 "..\..\MainWindow.xaml"
                this.reConsole.Loaded += new System.Windows.RoutedEventHandler(this.reConsole_Loaded);

            #line default
            #line hidden

            #line 27 "..\..\MainWindow.xaml"
                this.reConsole.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.reConsole_KeyDown);

            #line default
            #line hidden
                return;

            case 3:
                this.btnExecute = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 29 "..\..\MainWindow.xaml"
                this.btnExecute.Click += new System.Windows.RoutedEventHandler(this.btnExecute_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnCompile = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 30 "..\..\MainWindow.xaml"
                this.btnCompile.Click += new System.Windows.RoutedEventHandler(this.btnCompile_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnLoad = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 31 "..\..\MainWindow.xaml"
                this.btnLoad.Click += new System.Windows.RoutedEventHandler(this.btnLoad_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.btnLoadMultiple = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 32 "..\..\MainWindow.xaml"
                this.btnLoadMultiple.Click += new System.Windows.RoutedEventHandler(this.btnLoadMultiple_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.btnSave = ((DevExpress.Xpf.Core.SimpleButton)(target));

            #line 33 "..\..\MainWindow.xaml"
                this.btnSave.Click += new System.Windows.RoutedEventHandler(this.btnSave_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }