Пример #1
0
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 74 "..\..\..\MainWindow.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ToolPanelHideAnimaton_Completed);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 78 "..\..\..\MainWindow.xaml"
     ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.SlideListHideAnimation_Completed);
     
     #line default
     #line hidden
     return;
     case 3:
     this.grdMain = ((System.Windows.Controls.Grid)(target));
     return;
     case 4:
     this.btnTop = ((System.Windows.Controls.Button)(target));
     
     #line 105 "..\..\..\MainWindow.xaml"
     this.btnTop.ManipulationStarted += new System.EventHandler<System.Windows.Input.ManipulationStartedEventArgs>(this.btnTop_ManipulationStarted);
     
     #line default
     #line hidden
     
     #line 106 "..\..\..\MainWindow.xaml"
     this.btnTop.ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.btnTop_ManipulationDelta);
     
     #line default
     #line hidden
     
     #line 107 "..\..\..\MainWindow.xaml"
     this.btnTop.Click += new System.Windows.RoutedEventHandler(this.btnTop_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.btnBottom = ((System.Windows.Controls.Button)(target));
     
     #line 128 "..\..\..\MainWindow.xaml"
     this.btnBottom.ManipulationStarted += new System.EventHandler<System.Windows.Input.ManipulationStartedEventArgs>(this.btnBottom_ManipulationStarted);
     
     #line default
     #line hidden
     
     #line 129 "..\..\..\MainWindow.xaml"
     this.btnBottom.ManipulationDelta += new System.EventHandler<System.Windows.Input.ManipulationDeltaEventArgs>(this.btnBottom_ManipulationDelta);
     
     #line default
     #line hidden
     
     #line 131 "..\..\..\MainWindow.xaml"
     this.btnBottom.Click += new System.Windows.RoutedEventHandler(this.btnBottom_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.DrawingCanvas = ((TablectionSketch.Controls.MultiTouchInkCanvas)(target));
     return;
     case 7:
     this.SlideList = ((DrWPF.Windows.Controls.LoopingListBox)(target));
     return;
     case 8:
     this.SlideListHideAnimation = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 9:
     this.SlideListHideAnimation2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 10:
     this.ToolPanel = ((System.Windows.Controls.StackPanel)(target));
     
     #line 244 "..\..\..\MainWindow.xaml"
     this.ToolPanel.TouchEnter += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ToolPanel_TouchEnter);
     
     #line default
     #line hidden
     
     #line 245 "..\..\..\MainWindow.xaml"
     this.ToolPanel.TouchLeave += new System.EventHandler<System.Windows.Input.TouchEventArgs>(this.ToolPanel_TouchLeave);
     
     #line default
     #line hidden
     
     #line 246 "..\..\..\MainWindow.xaml"
     this.ToolPanel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolPanel_MouseEnter);
     
     #line default
     #line hidden
     
     #line 247 "..\..\..\MainWindow.xaml"
     this.ToolPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolPanel_MouseLeave);
     
     #line default
     #line hidden
     return;
     case 11:
     this.ToolPanelHideAnimation = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 12:
     this.ToolPanelHideAnimation2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
     return;
     case 13:
     this.llbToolHeaders = ((TablectionSketch.Controls.SlideListBox)(target));
     return;
     case 14:
     this.radioTools = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 15:
     this.llbTools = ((TablectionSketch.Controls.SlideListBox)(target));
     return;
     case 16:
     this.radioColors = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 17:
     this.llbColors = ((TablectionSketch.Controls.SlideListBox)(target));
     return;
     case 18:
     this.radioStrokes = ((System.Windows.Controls.RadioButton)(target));
     return;
     case 19:
     this.llbStroke = ((TablectionSketch.Controls.SlideListBox)(target));
     return;
     }
     this._contentLoaded = true;
 }
Пример #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 74 "..\..\..\MainWindow.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.ToolPanelHideAnimaton_Completed);

            #line default
            #line hidden
                return;

            case 2:

            #line 78 "..\..\..\MainWindow.xaml"
                ((System.Windows.Media.Animation.Storyboard)(target)).Completed += new System.EventHandler(this.SlideListHideAnimation_Completed);

            #line default
            #line hidden
                return;

            case 3:
                this.grdMain = ((System.Windows.Controls.Grid)(target));
                return;

            case 4:
                this.btnTop = ((System.Windows.Controls.Button)(target));

            #line 105 "..\..\..\MainWindow.xaml"
                this.btnTop.ManipulationStarted += new System.EventHandler <System.Windows.Input.ManipulationStartedEventArgs>(this.btnTop_ManipulationStarted);

            #line default
            #line hidden

            #line 106 "..\..\..\MainWindow.xaml"
                this.btnTop.ManipulationDelta += new System.EventHandler <System.Windows.Input.ManipulationDeltaEventArgs>(this.btnTop_ManipulationDelta);

            #line default
            #line hidden

            #line 107 "..\..\..\MainWindow.xaml"
                this.btnTop.Click += new System.Windows.RoutedEventHandler(this.btnTop_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.btnBottom = ((System.Windows.Controls.Button)(target));

            #line 128 "..\..\..\MainWindow.xaml"
                this.btnBottom.ManipulationStarted += new System.EventHandler <System.Windows.Input.ManipulationStartedEventArgs>(this.btnBottom_ManipulationStarted);

            #line default
            #line hidden

            #line 129 "..\..\..\MainWindow.xaml"
                this.btnBottom.ManipulationDelta += new System.EventHandler <System.Windows.Input.ManipulationDeltaEventArgs>(this.btnBottom_ManipulationDelta);

            #line default
            #line hidden

            #line 131 "..\..\..\MainWindow.xaml"
                this.btnBottom.Click += new System.Windows.RoutedEventHandler(this.btnBottom_Click);

            #line default
            #line hidden
                return;

            case 6:
                this.DrawingCanvas = ((TablectionSketch.Controls.MultiTouchInkCanvas)(target));
                return;

            case 7:
                this.SlideList = ((DrWPF.Windows.Controls.LoopingListBox)(target));
                return;

            case 8:
                this.SlideListHideAnimation = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 9:
                this.SlideListHideAnimation2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 10:
                this.ToolPanel = ((System.Windows.Controls.StackPanel)(target));

            #line 244 "..\..\..\MainWindow.xaml"
                this.ToolPanel.TouchEnter += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ToolPanel_TouchEnter);

            #line default
            #line hidden

            #line 245 "..\..\..\MainWindow.xaml"
                this.ToolPanel.TouchLeave += new System.EventHandler <System.Windows.Input.TouchEventArgs>(this.ToolPanel_TouchLeave);

            #line default
            #line hidden

            #line 246 "..\..\..\MainWindow.xaml"
                this.ToolPanel.MouseEnter += new System.Windows.Input.MouseEventHandler(this.ToolPanel_MouseEnter);

            #line default
            #line hidden

            #line 247 "..\..\..\MainWindow.xaml"
                this.ToolPanel.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ToolPanel_MouseLeave);

            #line default
            #line hidden
                return;

            case 11:
                this.ToolPanelHideAnimation = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 12:
                this.ToolPanelHideAnimation2 = ((System.Windows.Media.Animation.BeginStoryboard)(target));
                return;

            case 13:
                this.llbToolHeaders = ((TablectionSketch.Controls.SlideListBox)(target));
                return;

            case 14:
                this.radioTools = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 15:
                this.llbTools = ((TablectionSketch.Controls.SlideListBox)(target));
                return;

            case 16:
                this.radioColors = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 17:
                this.llbColors = ((TablectionSketch.Controls.SlideListBox)(target));
                return;

            case 18:
                this.radioStrokes = ((System.Windows.Controls.RadioButton)(target));
                return;

            case 19:
                this.llbStroke = ((TablectionSketch.Controls.SlideListBox)(target));
                return;
            }
            this._contentLoaded = true;
        }