void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 14 "..\..\..\MainWindow.xaml"
     ((DoodleAnimator.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DXRibbonWindow_Loaded);
     
     #line default
     #line hidden
     
     #line 14 "..\..\..\MainWindow.xaml"
     ((DoodleAnimator.MainWindow)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DXRibbonWindow_PreviewMouseRightButtonDown);
     
     #line default
     #line hidden
     return;
     case 2:
     this.barManager = ((DevExpress.Xpf.Bars.BarManager)(target));
     return;
     case 3:
     this.bInfo = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     return;
     case 4:
     this.bCopy = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     return;
     case 5:
     this.bPaste = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     return;
     case 6:
     this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 25 "..\..\..\MainWindow.xaml"
     this.bNew.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bNew_ItemClick);
     
     #line default
     #line hidden
     return;
     case 7:
     this.bPrint = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     return;
     case 8:
     this.bOpen = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 27 "..\..\..\MainWindow.xaml"
     this.bOpen.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bOpen_ItemClick);
     
     #line default
     #line hidden
     return;
     case 9:
     this.bSave = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 28 "..\..\..\MainWindow.xaml"
     this.bSave.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bSave_ItemClick);
     
     #line default
     #line hidden
     return;
     case 10:
     this.bClose = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 29 "..\..\..\MainWindow.xaml"
     this.bClose.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bClose_ItemClick);
     
     #line default
     #line hidden
     return;
     case 11:
     this.bCut = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     return;
     case 12:
     this.bSelect = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 31 "..\..\..\MainWindow.xaml"
     this.bSelect.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bSelect_ItemClick);
     
     #line default
     #line hidden
     return;
     case 13:
     this.bPencil = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 32 "..\..\..\MainWindow.xaml"
     this.bPencil.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPencil_ItemClick);
     
     #line default
     #line hidden
     return;
     case 14:
     this.bEraserSmall = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 33 "..\..\..\MainWindow.xaml"
     this.bEraserSmall.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraserSmall_ItemClick);
     
     #line default
     #line hidden
     return;
     case 15:
     this.bEraserLarge = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 34 "..\..\..\MainWindow.xaml"
     this.bEraserLarge.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraserLarge_ItemClick);
     
     #line default
     #line hidden
     return;
     case 16:
     this.bEraser = ((DevExpress.Xpf.Bars.BarSubItem)(target));
     
     #line 35 "..\..\..\MainWindow.xaml"
     this.bEraser.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraser_ItemClick);
     
     #line default
     #line hidden
     return;
     case 17:
     this.bEraserSmallLink = ((DevExpress.Xpf.Bars.BarButtonItemLink)(target));
     return;
     case 18:
     this.bEraserLargeLink = ((DevExpress.Xpf.Bars.BarButtonItemLink)(target));
     return;
     case 19:
     this.bClear = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 42 "..\..\..\MainWindow.xaml"
     this.bClear.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bClear_ItemClick);
     
     #line default
     #line hidden
     return;
     case 20:
     this.bPlay = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 43 "..\..\..\MainWindow.xaml"
     this.bPlay.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPlay_ItemClick);
     
     #line default
     #line hidden
     return;
     case 21:
     this.bPause = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 44 "..\..\..\MainWindow.xaml"
     this.bPause.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPause_ItemClick);
     
     #line default
     #line hidden
     return;
     case 22:
     this.bStop = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 45 "..\..\..\MainWindow.xaml"
     this.bStop.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bStop_ItemClick);
     
     #line default
     #line hidden
     return;
     case 23:
     this.bImport = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 46 "..\..\..\MainWindow.xaml"
     this.bImport.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bImport_ItemClick);
     
     #line default
     #line hidden
     return;
     case 24:
     this.txtFPS = ((DevExpress.Xpf.Bars.BarEditItem)(target));
     return;
     case 25:
     this.barStaticItem1 = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
     return;
     case 26:
     this.barStaticItem2 = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
     return;
     case 27:
     this.ribbonControl1 = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
     return;
     case 28:
     this.Home = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
     return;
     case 29:
     this.dockLayoutManager = ((DevExpress.Xpf.Docking.DockLayoutManager)(target));
     return;
     case 30:
     this.inkCanvas1 = ((System.Windows.Controls.InkCanvas)(target));
     return;
     case 31:
     this.Bottom = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
     return;
     case 32:
     this.TimeLine = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
     return;
     case 33:
     this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
     return;
     case 34:
     this.slider = ((System.Windows.Controls.Slider)(target));
     
     #line 142 "..\..\..\MainWindow.xaml"
     this.slider.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.slider_PreviewMouseDown);
     
     #line default
     #line hidden
     return;
     case 35:
     this.listboxTimeLine = ((System.Windows.Controls.ListBox)(target));
     
     #line 143 "..\..\..\MainWindow.xaml"
     this.listboxTimeLine.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listboxTimeLine_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 143 "..\..\..\MainWindow.xaml"
     this.listboxTimeLine.LayoutUpdated += new System.EventHandler(this.listboxTimeLine_LayoutUpdated);
     
     #line default
     #line hidden
     
     #line 143 "..\..\..\MainWindow.xaml"
     this.listboxTimeLine.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.listboxTimeLine_PreviewMouseLeftButtonDown);
     
     #line default
     #line hidden
     return;
     case 36:
     this.ActionsFrames = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
     return;
     case 37:
     this.grid1 = ((System.Windows.Controls.Grid)(target));
     return;
     case 38:
     this.btnAdd = ((System.Windows.Controls.Button)(target));
     
     #line 154 "..\..\..\MainWindow.xaml"
     this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);
     
     #line default
     #line hidden
     return;
     case 39:
     this.btnRemove = ((System.Windows.Controls.Button)(target));
     
     #line 157 "..\..\..\MainWindow.xaml"
     this.btnRemove.Click += new System.Windows.RoutedEventHandler(this.btnRemove_Click);
     
     #line default
     #line hidden
     return;
     case 40:
     this.btnCut = ((System.Windows.Controls.Button)(target));
     
     #line 160 "..\..\..\MainWindow.xaml"
     this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click);
     
     #line default
     #line hidden
     return;
     case 41:
     this.btnCopy = ((System.Windows.Controls.Button)(target));
     
     #line 163 "..\..\..\MainWindow.xaml"
     this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);
     
     #line default
     #line hidden
     return;
     case 42:
     this.btnDuplicate = ((System.Windows.Controls.Button)(target));
     
     #line 166 "..\..\..\MainWindow.xaml"
     this.btnDuplicate.Click += new System.Windows.RoutedEventHandler(this.btnDuplicate_Click);
     
     #line default
     #line hidden
     return;
     case 43:
     this.btnPaste = ((System.Windows.Controls.Button)(target));
     
     #line 169 "..\..\..\MainWindow.xaml"
     this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click);
     
     #line default
     #line hidden
     return;
     }
     this._contentLoaded = true;
 }
예제 #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 14 "..\..\..\MainWindow.xaml"
                ((DoodleAnimator.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.DXRibbonWindow_Loaded);

            #line default
            #line hidden

            #line 14 "..\..\..\MainWindow.xaml"
                ((DoodleAnimator.MainWindow)(target)).PreviewMouseRightButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.DXRibbonWindow_PreviewMouseRightButtonDown);

            #line default
            #line hidden
                return;

            case 2:
                this.barManager = ((DevExpress.Xpf.Bars.BarManager)(target));
                return;

            case 3:
                this.bInfo = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 4:
                this.bCopy = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 5:
                this.bPaste = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 6:
                this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 25 "..\..\..\MainWindow.xaml"
                this.bNew.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bNew_ItemClick);

            #line default
            #line hidden
                return;

            case 7:
                this.bPrint = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 8:
                this.bOpen = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 27 "..\..\..\MainWindow.xaml"
                this.bOpen.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bOpen_ItemClick);

            #line default
            #line hidden
                return;

            case 9:
                this.bSave = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 28 "..\..\..\MainWindow.xaml"
                this.bSave.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bSave_ItemClick);

            #line default
            #line hidden
                return;

            case 10:
                this.bClose = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 29 "..\..\..\MainWindow.xaml"
                this.bClose.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bClose_ItemClick);

            #line default
            #line hidden
                return;

            case 11:
                this.bCut = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 12:
                this.bSelect = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 31 "..\..\..\MainWindow.xaml"
                this.bSelect.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bSelect_ItemClick);

            #line default
            #line hidden
                return;

            case 13:
                this.bPencil = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 32 "..\..\..\MainWindow.xaml"
                this.bPencil.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPencil_ItemClick);

            #line default
            #line hidden
                return;

            case 14:
                this.bEraserSmall = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 33 "..\..\..\MainWindow.xaml"
                this.bEraserSmall.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraserSmall_ItemClick);

            #line default
            #line hidden
                return;

            case 15:
                this.bEraserLarge = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 34 "..\..\..\MainWindow.xaml"
                this.bEraserLarge.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraserLarge_ItemClick);

            #line default
            #line hidden
                return;

            case 16:
                this.bEraser = ((DevExpress.Xpf.Bars.BarSubItem)(target));

            #line 35 "..\..\..\MainWindow.xaml"
                this.bEraser.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bEraser_ItemClick);

            #line default
            #line hidden
                return;

            case 17:
                this.bEraserSmallLink = ((DevExpress.Xpf.Bars.BarButtonItemLink)(target));
                return;

            case 18:
                this.bEraserLargeLink = ((DevExpress.Xpf.Bars.BarButtonItemLink)(target));
                return;

            case 19:
                this.bClear = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 42 "..\..\..\MainWindow.xaml"
                this.bClear.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bClear_ItemClick);

            #line default
            #line hidden
                return;

            case 20:
                this.bPlay = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 43 "..\..\..\MainWindow.xaml"
                this.bPlay.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPlay_ItemClick);

            #line default
            #line hidden
                return;

            case 21:
                this.bPause = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 44 "..\..\..\MainWindow.xaml"
                this.bPause.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bPause_ItemClick);

            #line default
            #line hidden
                return;

            case 22:
                this.bStop = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 45 "..\..\..\MainWindow.xaml"
                this.bStop.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bStop_ItemClick);

            #line default
            #line hidden
                return;

            case 23:
                this.bImport = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 46 "..\..\..\MainWindow.xaml"
                this.bImport.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bImport_ItemClick);

            #line default
            #line hidden
                return;

            case 24:
                this.txtFPS = ((DevExpress.Xpf.Bars.BarEditItem)(target));
                return;

            case 25:
                this.barStaticItem1 = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
                return;

            case 26:
                this.barStaticItem2 = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
                return;

            case 27:
                this.ribbonControl1 = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 28:
                this.Home = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 29:
                this.dockLayoutManager = ((DevExpress.Xpf.Docking.DockLayoutManager)(target));
                return;

            case 30:
                this.inkCanvas1 = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 31:
                this.Bottom = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
                return;

            case 32:
                this.TimeLine = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 33:
                this.stackPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 34:
                this.slider = ((System.Windows.Controls.Slider)(target));

            #line 142 "..\..\..\MainWindow.xaml"
                this.slider.PreviewMouseDown += new System.Windows.Input.MouseButtonEventHandler(this.slider_PreviewMouseDown);

            #line default
            #line hidden
                return;

            case 35:
                this.listboxTimeLine = ((System.Windows.Controls.ListBox)(target));

            #line 143 "..\..\..\MainWindow.xaml"
                this.listboxTimeLine.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.listboxTimeLine_SelectionChanged);

            #line default
            #line hidden

            #line 143 "..\..\..\MainWindow.xaml"
                this.listboxTimeLine.LayoutUpdated += new System.EventHandler(this.listboxTimeLine_LayoutUpdated);

            #line default
            #line hidden

            #line 143 "..\..\..\MainWindow.xaml"
                this.listboxTimeLine.PreviewMouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.listboxTimeLine_PreviewMouseLeftButtonDown);

            #line default
            #line hidden
                return;

            case 36:
                this.ActionsFrames = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 37:
                this.grid1 = ((System.Windows.Controls.Grid)(target));
                return;

            case 38:
                this.btnAdd = ((System.Windows.Controls.Button)(target));

            #line 154 "..\..\..\MainWindow.xaml"
                this.btnAdd.Click += new System.Windows.RoutedEventHandler(this.btnAdd_Click);

            #line default
            #line hidden
                return;

            case 39:
                this.btnRemove = ((System.Windows.Controls.Button)(target));

            #line 157 "..\..\..\MainWindow.xaml"
                this.btnRemove.Click += new System.Windows.RoutedEventHandler(this.btnRemove_Click);

            #line default
            #line hidden
                return;

            case 40:
                this.btnCut = ((System.Windows.Controls.Button)(target));

            #line 160 "..\..\..\MainWindow.xaml"
                this.btnCut.Click += new System.Windows.RoutedEventHandler(this.btnCut_Click);

            #line default
            #line hidden
                return;

            case 41:
                this.btnCopy = ((System.Windows.Controls.Button)(target));

            #line 163 "..\..\..\MainWindow.xaml"
                this.btnCopy.Click += new System.Windows.RoutedEventHandler(this.btnCopy_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.btnDuplicate = ((System.Windows.Controls.Button)(target));

            #line 166 "..\..\..\MainWindow.xaml"
                this.btnDuplicate.Click += new System.Windows.RoutedEventHandler(this.btnDuplicate_Click);

            #line default
            #line hidden
                return;

            case 43:
                this.btnPaste = ((System.Windows.Controls.Button)(target));

            #line 169 "..\..\..\MainWindow.xaml"
                this.btnPaste.Click += new System.Windows.RoutedEventHandler(this.btnPaste_Click);

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