Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ContainerRibbon = ((Infragistics.Windows.Ribbon.XamRibbon)(target));
                return;

            case 2:
                this.TaskManagementRibbon = ((Infragistics.Windows.Ribbon.RibbonTabItem)(target));
                return;

            case 3:
                this.btnProjects = ((Infragistics.Windows.Ribbon.ButtonTool)(target));

            #line 13 "..\..\..\..\Views\RibbonTabItem\RibbonTabItemView.xaml"
                this.btnProjects.Click += new System.Windows.RoutedEventHandler(this.btnProjects_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnTasks = ((Infragistics.Windows.Ribbon.ButtonTool)(target));

            #line 17 "..\..\..\..\Views\RibbonTabItem\RibbonTabItemView.xaml"
                this.btnTasks.Click += new System.Windows.RoutedEventHandler(this.btnTasks_Click);

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

            #line 14 "..\..\Shell.xaml"
                this.Window.Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

            case 2:
                this.appMenu = ((Infragistics.Windows.Ribbon.ApplicationMenu)(target));
                return;

            case 3:
                this.btnSettings = ((Infragistics.Windows.Ribbon.ButtonTool)(target));

            #line 40 "..\..\Shell.xaml"
                this.btnSettings.Click += new System.Windows.RoutedEventHandler(this.btnSettings_Click);

            #line default
            #line hidden
                return;

            case 4:
                this.btnExit = ((Infragistics.Windows.Ribbon.ButtonTool)(target));

            #line 42 "..\..\Shell.xaml"
                this.btnExit.Click += new System.Windows.RoutedEventHandler(this.btnExit_Click);

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

            case 2:

            #line 25 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.OpenProCommand_CanExecute);

            #line default
            #line hidden

            #line 26 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.OpenProCommand_Executed);

            #line default
            #line hidden
                return;

            case 3:

            #line 29 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.NewProCommand_CanExecute);

            #line default
            #line hidden

            #line 30 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.NewProCommand_Executed);

            #line default
            #line hidden
                return;

            case 4:

            #line 33 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.SaveProCommand_CanExecute);

            #line default
            #line hidden

            #line 34 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.SaveProCommand_Executed);

            #line default
            #line hidden
                return;

            case 5:

            #line 37 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CloseProCommand_CanExecute);

            #line default
            #line hidden

            #line 38 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CloseProCommand_Executed);

            #line default
            #line hidden
                return;

            case 6:

            #line 41 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CopyCommand_CanExecute);

            #line default
            #line hidden

            #line 42 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CopyCommand_Executed);

            #line default
            #line hidden
                return;

            case 7:

            #line 45 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.PasteCommand_CanExecute);

            #line default
            #line hidden

            #line 46 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.PasteCommand_Executed);

            #line default
            #line hidden
                return;

            case 8:

            #line 49 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CutCommand_CanExecute);

            #line default
            #line hidden

            #line 50 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CutCommand_Executed);

            #line default
            #line hidden
                return;

            case 9:

            #line 53 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.DeleteCommand_CanExecute);

            #line default
            #line hidden

            #line 54 "..\..\MainWindow.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.DeleteCommand_Executed);

            #line default
            #line hidden
                return;

            case 10:
                this.xmlDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 11:
                this.xamSyntaxEditor1 = ((Infragistics.Controls.Editors.XamSyntaxEditor)(target));
                return;

            case 12:
                this.debugDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 13:
                this.DebugTextBox = ((System.Windows.Controls.RichTextBox)(target));
                return;

            case 14:
                this.ToolGroupPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 15:
                this.structDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 16:
                this.propertiesDockPane = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 17:
                this.xamPropertyGrid = ((Infragistics.Controls.Editors.XamPropertyGrid)(target));
                return;

            case 21:
                this.MainContentHost = ((Infragistics.Windows.DockManager.DocumentContentHost)(target));

            #line 216 "..\..\MainWindow.xaml"
                this.MainContentHost.ActiveDocumentChanged += new System.Windows.RoutedPropertyChangedEventHandler <Infragistics.Windows.DockManager.ContentPane>(this.MainContentHost_ActiveDocumentChanged);

            #line default
            #line hidden
                return;

            case 22:
                this.MainTabGroupPane = ((Infragistics.Windows.DockManager.TabGroupPane)(target));
                return;

            case 23:
                this.MainPage = ((Infragistics.Windows.DockManager.ContentPane)(target));
                return;

            case 24:
                this.Stsbar = ((System.Windows.Controls.Primitives.StatusBar)(target));
                return;

            case 25:
                this.MainApplicationMenu = ((Infragistics.Windows.Ribbon.ApplicationMenu)(target));
                return;

            case 26:
                this.NewProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 27:
                this.OpenProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 28:
                this.SaveProjectButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 29:
                this.ExitApplicationButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 30:
                this.SelectAllButton = ((Infragistics.Windows.Ribbon.ButtonTool)(target));
                return;

            case 31:

            #line 369 "..\..\MainWindow.xaml"
                ((Infragistics.Windows.Ribbon.ButtonTool)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewButtonTool_Click);

            #line default
            #line hidden
                return;

            case 32:

            #line 376 "..\..\MainWindow.xaml"
                ((Infragistics.Windows.Ribbon.ButtonTool)(target)).Click += new System.Windows.RoutedEventHandler(this.ViewButtonTool_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.WordButtonGroup = ((Infragistics.Windows.Ribbon.ButtonGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }