Example #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((WebKidzPlus.MainWindow)(target));
                return;

            case 2:
                this.HeaderMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 3:
                this.Menu_File = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 4:
                this.Menu_File_NewPoject = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 5:
                this.Menu_File_OpenPoject = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 6:
                this.Menu_File_CloseTab = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 7:
                this.Menu_File_ImportPoject = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 8:
                this.Menu_File_ClosePoject = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 9:
                this.Menu_File_About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 10:
                this.ProjectList = ((System.Windows.Controls.TreeView)(target));
                return;

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

            case 12:
                this.GridSpliterControl1 = ((System.Windows.Controls.GridSplitter)(target));
                return;
            }
            this._contentLoaded = true;
        }
Example #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.MainWindow1 = ((WebKidzPlus.MainWindow)(target));
                return;

            case 2:
                this.Close_File = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 3:
                this.Close_All = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 4:
                this.Save_File = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 5:
                this.Save_All_File = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 6:
                this.Save_Project = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 7:
                this.Import_File = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 8:
                this.Close_Project = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 9:
                this.Open_Project = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 10:
                this.Copy = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 11:
                this.Cut = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 12:
                this.Paste = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 13:
                this.Undo = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 14:
                this.Redo = ((System.Windows.Input.KeyBinding)(target));
                return;

            case 15:
                this.HeaderMenu = ((System.Windows.Controls.Menu)(target));
                return;

            case 16:
                this.Menu_File = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 17:
                this.Menu_File_NewPoject = ((System.Windows.Controls.MenuItem)(target));

            #line 39 "..\..\MainWindow.xaml"
                this.Menu_File_NewPoject.Click += new System.Windows.RoutedEventHandler(this.NewProject);

            #line default
            #line hidden
                return;

            case 18:
                this.Menu_File_OpenPoject = ((System.Windows.Controls.MenuItem)(target));

            #line 48 "..\..\MainWindow.xaml"
                this.Menu_File_OpenPoject.Click += new System.Windows.RoutedEventHandler(this.OpenProject);

            #line default
            #line hidden
                return;

            case 19:
                this.Menu_File_SavePoject = ((System.Windows.Controls.MenuItem)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.Menu_File_SavePoject.Click += new System.Windows.RoutedEventHandler(this.SaveProject);

            #line default
            #line hidden
                return;

            case 20:
                this.Menu_File_ClosePoject = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 21:
                this.Menu_File_SaveFile = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 22:
                this.Menu_File_SaveAll = ((System.Windows.Controls.MenuItem)(target));

            #line 71 "..\..\MainWindow.xaml"
                this.Menu_File_SaveAll.Click += new System.Windows.RoutedEventHandler(this.SaveAll);

            #line default
            #line hidden
                return;

            case 23:
                this.Menu_File_CloseFile = ((System.Windows.Controls.MenuItem)(target));

            #line 80 "..\..\MainWindow.xaml"
                this.Menu_File_CloseFile.Click += new System.Windows.RoutedEventHandler(this.CloseFile);

            #line default
            #line hidden
                return;

            case 24:
                this.Menu_File_CloseAll = ((System.Windows.Controls.MenuItem)(target));

            #line 81 "..\..\MainWindow.xaml"
                this.Menu_File_CloseAll.Click += new System.Windows.RoutedEventHandler(this.CloseAll);

            #line default
            #line hidden
                return;

            case 25:
                this.Menu_File_Exit = ((System.Windows.Controls.MenuItem)(target));

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

            #line default
            #line hidden
                return;

            case 26:
                this.Edit = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 27:
                this.Edit_Undo = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 28:
                this.Edit_Redo = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 29:
                this.Edit_Cut = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 30:
                this.Edit_Copy = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 31:
                this.Edit_Paste = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 32:
                this.Menu_Help = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 33:
                this.Menu_File_About = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 34:
                this.ProjectList = ((WebKidzPlus.DirectoryListing)(target));
                return;

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

            case 36:
                this.GridSpliterControl1 = ((System.Windows.Controls.GridSplitter)(target));
                return;

            case 37:
                this.OverlayBackgroud = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 38:
                this.Overlay = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 39:
                this.OverlayText = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }