예제 #1
0
파일: Editor.g.cs 프로젝트: Dr1N/Whiteboard
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     
     #line 23 "..\..\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanUndo);
     
     #line default
     #line hidden
     
     #line 24 "..\..\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedUndo);
     
     #line default
     #line hidden
     return;
     case 2:
     
     #line 26 "..\..\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanRedo);
     
     #line default
     #line hidden
     
     #line 27 "..\..\Editor.xaml"
     ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedRedo);
     
     #line default
     #line hidden
     return;
     case 3:
     this.mnTest = ((System.Windows.Controls.MenuItem)(target));
     
     #line 34 "..\..\Editor.xaml"
     this.mnTest.Click += new System.Windows.RoutedEventHandler(this.mnTest_Click);
     
     #line default
     #line hidden
     return;
     case 4:
     this.mnSetting = ((System.Windows.Controls.MenuItem)(target));
     
     #line 35 "..\..\Editor.xaml"
     this.mnSetting.Click += new System.Windows.RoutedEventHandler(this.mnSetting_Click);
     
     #line default
     #line hidden
     return;
     case 5:
     this.mnExit = ((System.Windows.Controls.MenuItem)(target));
     
     #line 37 "..\..\Editor.xaml"
     this.mnExit.Click += new System.Windows.RoutedEventHandler(this.mnExit_Click);
     
     #line default
     #line hidden
     return;
     case 6:
     this.mnDeleteText = ((System.Windows.Controls.MenuItem)(target));
     
     #line 43 "..\..\Editor.xaml"
     this.mnDeleteText.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 7:
     this.mnDeleteNotes = ((System.Windows.Controls.MenuItem)(target));
     
     #line 44 "..\..\Editor.xaml"
     this.mnDeleteNotes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 8:
     this.mnDeleteShapes = ((System.Windows.Controls.MenuItem)(target));
     
     #line 45 "..\..\Editor.xaml"
     this.mnDeleteShapes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 9:
     this.mnDeleteAll = ((System.Windows.Controls.MenuItem)(target));
     
     #line 46 "..\..\Editor.xaml"
     this.mnDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 10:
     this.mnPanel = ((System.Windows.Controls.MenuItem)(target));
     
     #line 50 "..\..\Editor.xaml"
     this.mnPanel.Click += new System.Windows.RoutedEventHandler(this.mnPanel_Click);
     
     #line default
     #line hidden
     return;
     case 11:
     this.mnAbout = ((System.Windows.Controls.MenuItem)(target));
     
     #line 54 "..\..\Editor.xaml"
     this.mnAbout.Click += new System.Windows.RoutedEventHandler(this.mnAbout_Click);
     
     #line default
     #line hidden
     return;
     case 12:
     this.sbCoord = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 13:
     this.sbTool = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 14:
     this.tbtTop = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 15:
     this.tbBoards = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 16:
     this.btPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));
     
     #line 69 "..\..\Editor.xaml"
     this.btPlay.Click += new System.Windows.RoutedEventHandler(this.btPlay_Click);
     
     #line default
     #line hidden
     return;
     case 17:
     this.btNewBoard = ((System.Windows.Controls.Button)(target));
     
     #line 74 "..\..\Editor.xaml"
     this.btNewBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);
     
     #line default
     #line hidden
     return;
     case 18:
     this.btFirstBoard = ((System.Windows.Controls.Button)(target));
     
     #line 79 "..\..\Editor.xaml"
     this.btFirstBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);
     
     #line default
     #line hidden
     return;
     case 19:
     this.btPrevBoard = ((System.Windows.Controls.Button)(target));
     
     #line 83 "..\..\Editor.xaml"
     this.btPrevBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);
     
     #line default
     #line hidden
     return;
     case 20:
     this.tbCurrentBoard = ((System.Windows.Controls.TextBlock)(target));
     return;
     case 21:
     this.btNextBoard = ((System.Windows.Controls.Button)(target));
     
     #line 92 "..\..\Editor.xaml"
     this.btNextBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);
     
     #line default
     #line hidden
     return;
     case 22:
     this.btLastBoard = ((System.Windows.Controls.Button)(target));
     
     #line 96 "..\..\Editor.xaml"
     this.btLastBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);
     
     #line default
     #line hidden
     return;
     case 23:
     this.btUndo = ((System.Windows.Controls.Button)(target));
     return;
     case 24:
     this.btRedo = ((System.Windows.Controls.Button)(target));
     return;
     case 25:
     this.tbShapeSetting = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 26:
     this.cbStrokeColor = ((BoardControls.BrushComboBox)(target));
     
     #line 112 "..\..\Editor.xaml"
     this.cbStrokeColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbStrokeColor_ColorChanged);
     
     #line default
     #line hidden
     
     #line 113 "..\..\Editor.xaml"
     this.cbStrokeColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);
     
     #line default
     #line hidden
     return;
     case 27:
     this.cbFillColor = ((BoardControls.BrushComboBox)(target));
     
     #line 116 "..\..\Editor.xaml"
     this.cbFillColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbFillColor_ColorChanged);
     
     #line default
     #line hidden
     
     #line 117 "..\..\Editor.xaml"
     this.cbFillColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);
     
     #line default
     #line hidden
     return;
     case 28:
     this.cbThickness = ((BoardControls.ThicknessComboBox)(target));
     
     #line 120 "..\..\Editor.xaml"
     this.cbThickness.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbThickness_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 29:
     this.cbDash = ((BoardControls.DashComboBox)(target));
     
     #line 123 "..\..\Editor.xaml"
     this.cbDash.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbDash_SelectionChanged);
     
     #line default
     #line hidden
     return;
     case 30:
     this.tbFontSetting = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 31:
     this.cbFontFamaly = ((BoardControls.FontComboBox)(target));
     
     #line 129 "..\..\Editor.xaml"
     this.cbFontFamaly.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 130 "..\..\Editor.xaml"
     this.cbFontFamaly.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);
     
     #line default
     #line hidden
     return;
     case 32:
     this.cbFontSize = ((System.Windows.Controls.ComboBox)(target));
     
     #line 134 "..\..\Editor.xaml"
     this.cbFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 135 "..\..\Editor.xaml"
     this.cbFontSize.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);
     
     #line default
     #line hidden
     return;
     case 33:
     this.spRight = ((System.Windows.Controls.Grid)(target));
     return;
     case 34:
     this.lbShapes = ((System.Windows.Controls.ListBox)(target));
     
     #line 186 "..\..\Editor.xaml"
     this.lbShapes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbShapes_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 187 "..\..\Editor.xaml"
     this.lbShapes.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbShapes_KeyDown);
     
     #line default
     #line hidden
     
     #line 188 "..\..\Editor.xaml"
     this.lbShapes.GotFocus += new System.Windows.RoutedEventHandler(this.lbShapes_GotFocus);
     
     #line default
     #line hidden
     return;
     case 35:
     this.lbBoards = ((System.Windows.Controls.ListBox)(target));
     
     #line 193 "..\..\Editor.xaml"
     this.lbBoards.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbBoards_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 194 "..\..\Editor.xaml"
     this.lbBoards.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbBoards_KeyDown);
     
     #line default
     #line hidden
     return;
     case 36:
     this.tbtLeft = ((System.Windows.Controls.ToolBarTray)(target));
     return;
     case 37:
     this.tbInput = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 38:
     this.rbType = ((System.Windows.Controls.RadioButton)(target));
     
     #line 202 "..\..\Editor.xaml"
     this.rbType.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 39:
     this.rbInk = ((System.Windows.Controls.RadioButton)(target));
     
     #line 208 "..\..\Editor.xaml"
     this.rbInk.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 40:
     this.rbPen = ((System.Windows.Controls.RadioButton)(target));
     
     #line 215 "..\..\Editor.xaml"
     this.rbPen.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 41:
     this.rbLine = ((System.Windows.Controls.RadioButton)(target));
     
     #line 221 "..\..\Editor.xaml"
     this.rbLine.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 42:
     this.rbRect = ((System.Windows.Controls.RadioButton)(target));
     
     #line 227 "..\..\Editor.xaml"
     this.rbRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 43:
     this.rbRoundRect = ((System.Windows.Controls.RadioButton)(target));
     
     #line 233 "..\..\Editor.xaml"
     this.rbRoundRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 44:
     this.rbEllipse = ((System.Windows.Controls.RadioButton)(target));
     
     #line 239 "..\..\Editor.xaml"
     this.rbEllipse.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 45:
     this.rbLabel = ((System.Windows.Controls.RadioButton)(target));
     
     #line 245 "..\..\Editor.xaml"
     this.rbLabel.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 46:
     this.tbEdit = ((System.Windows.Controls.ToolBar)(target));
     return;
     case 47:
     this.rbSelect = ((System.Windows.Controls.RadioButton)(target));
     
     #line 253 "..\..\Editor.xaml"
     this.rbSelect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 48:
     this.rbErase = ((System.Windows.Controls.RadioButton)(target));
     
     #line 259 "..\..\Editor.xaml"
     this.rbErase.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 49:
     this.rbRemove = ((System.Windows.Controls.RadioButton)(target));
     
     #line 265 "..\..\Editor.xaml"
     this.rbRemove.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);
     
     #line default
     #line hidden
     return;
     case 50:
     this.btDeleteText = ((System.Windows.Controls.Button)(target));
     
     #line 269 "..\..\Editor.xaml"
     this.btDeleteText.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 51:
     this.btDeleteNotes = ((System.Windows.Controls.Button)(target));
     
     #line 272 "..\..\Editor.xaml"
     this.btDeleteNotes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 52:
     this.btDeleteShapes = ((System.Windows.Controls.Button)(target));
     
     #line 275 "..\..\Editor.xaml"
     this.btDeleteShapes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 53:
     this.btDeleteAll = ((System.Windows.Controls.Button)(target));
     
     #line 278 "..\..\Editor.xaml"
     this.btDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);
     
     #line default
     #line hidden
     return;
     case 54:
     this.scvBoard = ((System.Windows.Controls.ScrollViewer)(target));
     return;
     case 55:
     this.inkBoard = ((System.Windows.Controls.InkCanvas)(target));
     
     #line 287 "..\..\Editor.xaml"
     this.inkBoard.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseDown);
     
     #line default
     #line hidden
     
     #line 288 "..\..\Editor.xaml"
     this.inkBoard.MouseMove += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseMove);
     
     #line default
     #line hidden
     
     #line 289 "..\..\Editor.xaml"
     this.inkBoard.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseUp);
     
     #line default
     #line hidden
     
     #line 290 "..\..\Editor.xaml"
     this.inkBoard.MouseEnter += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseEnter);
     
     #line default
     #line hidden
     
     #line 291 "..\..\Editor.xaml"
     this.inkBoard.MouseLeave += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseLeave);
     
     #line default
     #line hidden
     
     #line 292 "..\..\Editor.xaml"
     this.inkBoard.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyUp);
     
     #line default
     #line hidden
     
     #line 293 "..\..\Editor.xaml"
     this.inkBoard.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyDown);
     
     #line default
     #line hidden
     
     #line 294 "..\..\Editor.xaml"
     this.inkBoard.SelectionChanged += new System.EventHandler(this.inkBoard_SelectionChanged);
     
     #line default
     #line hidden
     
     #line 295 "..\..\Editor.xaml"
     this.inkBoard.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.inkBoard_StrokeCollected);
     
     #line default
     #line hidden
     
     #line 296 "..\..\Editor.xaml"
     this.inkBoard.StrokeErased += new System.Windows.RoutedEventHandler(this.inkBoard_StrokeErased);
     
     #line default
     #line hidden
     
     #line 297 "..\..\Editor.xaml"
     this.inkBoard.SelectionMoved += new System.EventHandler(this.inkBoard_SelectionMoved);
     
     #line default
     #line hidden
     
     #line 298 "..\..\Editor.xaml"
     this.inkBoard.SelectionResized += new System.EventHandler(this.inkBoard_SelectionResized);
     
     #line default
     #line hidden
     return;
     case 56:
     this.tbBoard = ((BoardControls.BoardTextBox)(target));
     
     #line 312 "..\..\Editor.xaml"
     this.tbBoard.GotFocus += new System.Windows.RoutedEventHandler(this.tbBoard_GotFocus);
     
     #line default
     #line hidden
     
     #line 312 "..\..\Editor.xaml"
     this.tbBoard.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbBoard_TextChanged);
     
     #line default
     #line hidden
     
     #line 313 "..\..\Editor.xaml"
     this.tbBoard.LostFocus += new System.Windows.RoutedEventHandler(this.tbBoard_LostFocus);
     
     #line default
     #line hidden
     
     #line 313 "..\..\Editor.xaml"
     this.tbBoard.SelectionChanged += new System.Windows.RoutedEventHandler(this.tbBoard_SelectionChanged);
     
     #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 23 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanUndo);

            #line default
            #line hidden

            #line 24 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedUndo);

            #line default
            #line hidden
                return;

            case 2:

            #line 26 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanRedo);

            #line default
            #line hidden

            #line 27 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedRedo);

            #line default
            #line hidden
                return;

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

            #line 34 "..\..\Editor.xaml"
                this.mnTest.Click += new System.Windows.RoutedEventHandler(this.mnTest_Click);

            #line default
            #line hidden
                return;

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

            #line 35 "..\..\Editor.xaml"
                this.mnSetting.Click += new System.Windows.RoutedEventHandler(this.mnSetting_Click);

            #line default
            #line hidden
                return;

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

            #line 37 "..\..\Editor.xaml"
                this.mnExit.Click += new System.Windows.RoutedEventHandler(this.mnExit_Click);

            #line default
            #line hidden
                return;

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

            #line 43 "..\..\Editor.xaml"
                this.mnDeleteText.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 44 "..\..\Editor.xaml"
                this.mnDeleteNotes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 45 "..\..\Editor.xaml"
                this.mnDeleteShapes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

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

            #line 46 "..\..\Editor.xaml"
                this.mnDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.mnPanel = ((System.Windows.Controls.MenuItem)(target));

            #line 50 "..\..\Editor.xaml"
                this.mnPanel.Click += new System.Windows.RoutedEventHandler(this.mnPanel_Click);

            #line default
            #line hidden
                return;

            case 11:
                this.mnAbout = ((System.Windows.Controls.MenuItem)(target));

            #line 54 "..\..\Editor.xaml"
                this.mnAbout.Click += new System.Windows.RoutedEventHandler(this.mnAbout_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.sbCoord = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 13:
                this.sbTool = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 14:
                this.tbtTop = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 15:
                this.tbBoards = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 16:
                this.btPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 69 "..\..\Editor.xaml"
                this.btPlay.Click += new System.Windows.RoutedEventHandler(this.btPlay_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.btNewBoard = ((System.Windows.Controls.Button)(target));

            #line 74 "..\..\Editor.xaml"
                this.btNewBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.btFirstBoard = ((System.Windows.Controls.Button)(target));

            #line 79 "..\..\Editor.xaml"
                this.btFirstBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.btPrevBoard = ((System.Windows.Controls.Button)(target));

            #line 83 "..\..\Editor.xaml"
                this.btPrevBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.tbCurrentBoard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 21:
                this.btNextBoard = ((System.Windows.Controls.Button)(target));

            #line 92 "..\..\Editor.xaml"
                this.btNextBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.btLastBoard = ((System.Windows.Controls.Button)(target));

            #line 96 "..\..\Editor.xaml"
                this.btLastBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.btUndo = ((System.Windows.Controls.Button)(target));
                return;

            case 24:
                this.btRedo = ((System.Windows.Controls.Button)(target));
                return;

            case 25:
                this.tbShapeSetting = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 26:
                this.cbStrokeColor = ((BoardControls.BrushComboBox)(target));

            #line 112 "..\..\Editor.xaml"
                this.cbStrokeColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbStrokeColor_ColorChanged);

            #line default
            #line hidden

            #line 113 "..\..\Editor.xaml"
                this.cbStrokeColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 27:
                this.cbFillColor = ((BoardControls.BrushComboBox)(target));

            #line 116 "..\..\Editor.xaml"
                this.cbFillColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbFillColor_ColorChanged);

            #line default
            #line hidden

            #line 117 "..\..\Editor.xaml"
                this.cbFillColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 28:
                this.cbThickness = ((BoardControls.ThicknessComboBox)(target));

            #line 120 "..\..\Editor.xaml"
                this.cbThickness.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbThickness_SelectionChanged);

            #line default
            #line hidden
                return;

            case 29:
                this.cbDash = ((BoardControls.DashComboBox)(target));

            #line 123 "..\..\Editor.xaml"
                this.cbDash.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbDash_SelectionChanged);

            #line default
            #line hidden
                return;

            case 30:
                this.tbFontSetting = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 31:
                this.cbFontFamaly = ((BoardControls.FontComboBox)(target));

            #line 129 "..\..\Editor.xaml"
                this.cbFontFamaly.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);

            #line default
            #line hidden

            #line 130 "..\..\Editor.xaml"
                this.cbFontFamaly.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 32:
                this.cbFontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 134 "..\..\Editor.xaml"
                this.cbFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);

            #line default
            #line hidden

            #line 135 "..\..\Editor.xaml"
                this.cbFontSize.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 33:
                this.spRight = ((System.Windows.Controls.Grid)(target));
                return;

            case 34:
                this.lbShapes = ((System.Windows.Controls.ListBox)(target));

            #line 186 "..\..\Editor.xaml"
                this.lbShapes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbShapes_SelectionChanged);

            #line default
            #line hidden

            #line 187 "..\..\Editor.xaml"
                this.lbShapes.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbShapes_KeyDown);

            #line default
            #line hidden

            #line 188 "..\..\Editor.xaml"
                this.lbShapes.GotFocus += new System.Windows.RoutedEventHandler(this.lbShapes_GotFocus);

            #line default
            #line hidden
                return;

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

            #line 193 "..\..\Editor.xaml"
                this.lbBoards.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbBoards_SelectionChanged);

            #line default
            #line hidden

            #line 194 "..\..\Editor.xaml"
                this.lbBoards.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbBoards_KeyDown);

            #line default
            #line hidden
                return;

            case 36:
                this.tbtLeft = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 37:
                this.tbInput = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 38:
                this.rbType = ((System.Windows.Controls.RadioButton)(target));

            #line 202 "..\..\Editor.xaml"
                this.rbType.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 39:
                this.rbInk = ((System.Windows.Controls.RadioButton)(target));

            #line 208 "..\..\Editor.xaml"
                this.rbInk.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.rbPen = ((System.Windows.Controls.RadioButton)(target));

            #line 215 "..\..\Editor.xaml"
                this.rbPen.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 41:
                this.rbLine = ((System.Windows.Controls.RadioButton)(target));

            #line 221 "..\..\Editor.xaml"
                this.rbLine.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 42:
                this.rbRect = ((System.Windows.Controls.RadioButton)(target));

            #line 227 "..\..\Editor.xaml"
                this.rbRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 43:
                this.rbRoundRect = ((System.Windows.Controls.RadioButton)(target));

            #line 233 "..\..\Editor.xaml"
                this.rbRoundRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 44:
                this.rbEllipse = ((System.Windows.Controls.RadioButton)(target));

            #line 239 "..\..\Editor.xaml"
                this.rbEllipse.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 45:
                this.rbLabel = ((System.Windows.Controls.RadioButton)(target));

            #line 245 "..\..\Editor.xaml"
                this.rbLabel.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 46:
                this.tbEdit = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 47:
                this.rbSelect = ((System.Windows.Controls.RadioButton)(target));

            #line 253 "..\..\Editor.xaml"
                this.rbSelect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 48:
                this.rbErase = ((System.Windows.Controls.RadioButton)(target));

            #line 259 "..\..\Editor.xaml"
                this.rbErase.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 49:
                this.rbRemove = ((System.Windows.Controls.RadioButton)(target));

            #line 265 "..\..\Editor.xaml"
                this.rbRemove.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 50:
                this.btDeleteText = ((System.Windows.Controls.Button)(target));

            #line 269 "..\..\Editor.xaml"
                this.btDeleteText.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 51:
                this.btDeleteNotes = ((System.Windows.Controls.Button)(target));

            #line 272 "..\..\Editor.xaml"
                this.btDeleteNotes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 52:
                this.btDeleteShapes = ((System.Windows.Controls.Button)(target));

            #line 275 "..\..\Editor.xaml"
                this.btDeleteShapes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.btDeleteAll = ((System.Windows.Controls.Button)(target));

            #line 278 "..\..\Editor.xaml"
                this.btDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.scvBoard = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 55:
                this.inkBoard = ((System.Windows.Controls.InkCanvas)(target));

            #line 287 "..\..\Editor.xaml"
                this.inkBoard.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseDown);

            #line default
            #line hidden

            #line 288 "..\..\Editor.xaml"
                this.inkBoard.MouseMove += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseMove);

            #line default
            #line hidden

            #line 289 "..\..\Editor.xaml"
                this.inkBoard.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseUp);

            #line default
            #line hidden

            #line 290 "..\..\Editor.xaml"
                this.inkBoard.MouseEnter += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseEnter);

            #line default
            #line hidden

            #line 291 "..\..\Editor.xaml"
                this.inkBoard.MouseLeave += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseLeave);

            #line default
            #line hidden

            #line 292 "..\..\Editor.xaml"
                this.inkBoard.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyUp);

            #line default
            #line hidden

            #line 293 "..\..\Editor.xaml"
                this.inkBoard.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyDown);

            #line default
            #line hidden

            #line 294 "..\..\Editor.xaml"
                this.inkBoard.SelectionChanged += new System.EventHandler(this.inkBoard_SelectionChanged);

            #line default
            #line hidden

            #line 295 "..\..\Editor.xaml"
                this.inkBoard.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.inkBoard_StrokeCollected);

            #line default
            #line hidden

            #line 296 "..\..\Editor.xaml"
                this.inkBoard.StrokeErased += new System.Windows.RoutedEventHandler(this.inkBoard_StrokeErased);

            #line default
            #line hidden

            #line 297 "..\..\Editor.xaml"
                this.inkBoard.SelectionMoved += new System.EventHandler(this.inkBoard_SelectionMoved);

            #line default
            #line hidden

            #line 298 "..\..\Editor.xaml"
                this.inkBoard.SelectionResized += new System.EventHandler(this.inkBoard_SelectionResized);

            #line default
            #line hidden
                return;

            case 56:
                this.tbBoard = ((BoardControls.BoardTextBox)(target));

            #line 312 "..\..\Editor.xaml"
                this.tbBoard.GotFocus += new System.Windows.RoutedEventHandler(this.tbBoard_GotFocus);

            #line default
            #line hidden

            #line 312 "..\..\Editor.xaml"
                this.tbBoard.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbBoard_TextChanged);

            #line default
            #line hidden

            #line 313 "..\..\Editor.xaml"
                this.tbBoard.LostFocus += new System.Windows.RoutedEventHandler(this.tbBoard_LostFocus);

            #line default
            #line hidden

            #line 313 "..\..\Editor.xaml"
                this.tbBoard.SelectionChanged += new System.Windows.RoutedEventHandler(this.tbBoard_SelectionChanged);

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

            #line 17 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanUndo);

            #line default
            #line hidden

            #line 17 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedUndo);

            #line default
            #line hidden
                return;

            case 2:

            #line 18 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).CanExecute += new System.Windows.Input.CanExecuteRoutedEventHandler(this.CommandBinding_CanRedo);

            #line default
            #line hidden

            #line 18 "..\..\Editor.xaml"
                ((System.Windows.Input.CommandBinding)(target)).Executed += new System.Windows.Input.ExecutedRoutedEventHandler(this.CommandBinding_ExecutedRedo);

            #line default
            #line hidden
                return;

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

            case 4:
                this.pTopGrid = ((System.Windows.Controls.RowDefinition)(target));
                return;

            case 5:
                this.pTop = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 6:
                this.imgIcon = ((System.Windows.Controls.Image)(target));
                return;

            case 7:

            #line 34 "..\..\Editor.xaml"
                ((System.Windows.Controls.Grid)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Move_Click);

            #line default
            #line hidden
                return;

            case 8:
                this.title = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 9:

            #line 43 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Min_Click);

            #line default
            #line hidden
                return;

            case 10:

            #line 44 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Resize_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 45 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.Close_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.dpMain = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 13:
                this.goToBoard = ((System.Windows.Controls.Label)(target));

            #line 50 "..\..\Editor.xaml"
                this.goToBoard.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.goToBoard_MouseDown);

            #line default
            #line hidden
                return;

            case 14:
                this.dpBorad = ((System.Windows.Controls.Grid)(target));
                return;

            case 15:
                this.middle = ((System.Windows.Controls.Grid)(target));
                return;

            case 16:
                this.tabMenu = ((System.Windows.Controls.Label)(target));

            #line 71 "..\..\Editor.xaml"
                this.tabMenu.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tabClick);

            #line default
            #line hidden
                return;

            case 17:
                this.tabTools = ((System.Windows.Controls.Label)(target));

            #line 75 "..\..\Editor.xaml"
                this.tabTools.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tabClick);

            #line default
            #line hidden
                return;

            case 18:
                this.tabExtended = ((System.Windows.Controls.Label)(target));

            #line 79 "..\..\Editor.xaml"
                this.tabExtended.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.tabClick);

            #line default
            #line hidden
                return;

            case 19:
                this.pMenu = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 20:

            #line 88 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnOpen_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 89 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnSave_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 90 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnSaveAs_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 91 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnSetting_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 92 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnExit_Click);

            #line default
            #line hidden
                return;

            case 25:
                this.mnDeleteText = ((System.Windows.Controls.Label)(target));

            #line 102 "..\..\Editor.xaml"
                this.mnDeleteText.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 26:
                this.mnDeleteNotes = ((System.Windows.Controls.Label)(target));

            #line 103 "..\..\Editor.xaml"
                this.mnDeleteNotes.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 27:
                this.mnDeleteShapes = ((System.Windows.Controls.Label)(target));

            #line 104 "..\..\Editor.xaml"
                this.mnDeleteShapes.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.mnDeleteAll = ((System.Windows.Controls.Label)(target));

            #line 105 "..\..\Editor.xaml"
                this.mnDeleteAll.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 29:
                this.mnRDS = ((System.Windows.Controls.CheckBox)(target));

            #line 113 "..\..\Editor.xaml"
                this.mnRDS.Click += new System.Windows.RoutedEventHandler(this.mnRDS_Click);

            #line default
            #line hidden
                return;

            case 30:

            #line 121 "..\..\Editor.xaml"
                ((System.Windows.Controls.Label)(target)).MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.mnAbout_Click);

            #line default
            #line hidden
                return;

            case 31:
                this.pTool = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 32:
                this.btPlay = ((System.Windows.Controls.Primitives.ToggleButton)(target));

            #line 133 "..\..\Editor.xaml"
                this.btPlay.Click += new System.Windows.RoutedEventHandler(this.btPlay_Click);

            #line default
            #line hidden
                return;

            case 33:
                this.btNewBoard = ((System.Windows.Controls.Button)(target));

            #line 136 "..\..\Editor.xaml"
                this.btNewBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 34:
                this.btPrevBoard = ((System.Windows.Controls.Button)(target));

            #line 139 "..\..\Editor.xaml"
                this.btPrevBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 35:
                this.tbCurrentBoard = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 36:
                this.btNextBoard = ((System.Windows.Controls.Button)(target));

            #line 143 "..\..\Editor.xaml"
                this.btNextBoard.Click += new System.Windows.RoutedEventHandler(this.btBoard_Click);

            #line default
            #line hidden
                return;

            case 37:
                this.rbType = ((System.Windows.Controls.RadioButton)(target));

            #line 154 "..\..\Editor.xaml"
                this.rbType.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 38:
                this.rbInk = ((System.Windows.Controls.RadioButton)(target));

            #line 158 "..\..\Editor.xaml"
                this.rbInk.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 39:
                this.rbPen = ((System.Windows.Controls.RadioButton)(target));

            #line 162 "..\..\Editor.xaml"
                this.rbPen.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 40:
                this.rbLabel = ((System.Windows.Controls.RadioButton)(target));

            #line 166 "..\..\Editor.xaml"
                this.rbLabel.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 41:
                this.rbLine = ((System.Windows.Controls.RadioButton)(target));

            #line 170 "..\..\Editor.xaml"
                this.rbLine.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 42:
                this.rbRect = ((System.Windows.Controls.RadioButton)(target));

            #line 174 "..\..\Editor.xaml"
                this.rbRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 43:
                this.rbRoundRect = ((System.Windows.Controls.RadioButton)(target));

            #line 178 "..\..\Editor.xaml"
                this.rbRoundRect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 44:
                this.rbEllipse = ((System.Windows.Controls.RadioButton)(target));

            #line 182 "..\..\Editor.xaml"
                this.rbEllipse.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 45:
                this.cbStrokeColor = ((BoardControls.BrushComboBox)(target));

            #line 194 "..\..\Editor.xaml"
                this.cbStrokeColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbStrokeColor_ColorChanged);

            #line default
            #line hidden

            #line 194 "..\..\Editor.xaml"
                this.cbStrokeColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 46:
                this.cbFillColor = ((BoardControls.BrushComboBox)(target));

            #line 197 "..\..\Editor.xaml"
                this.cbFillColor.ColorChanged += new System.Windows.RoutedEventHandler(this.cbFillColor_ColorChanged);

            #line default
            #line hidden

            #line 197 "..\..\Editor.xaml"
                this.cbFillColor.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 47:
                this.cbThickness = ((BoardControls.ThicknessComboBox)(target));

            #line 199 "..\..\Editor.xaml"
                this.cbThickness.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbThickness_SelectionChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.cbDash = ((BoardControls.DashComboBox)(target));

            #line 201 "..\..\Editor.xaml"
                this.cbDash.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbDash_SelectionChanged);

            #line default
            #line hidden
                return;

            case 49:
                this.cbFontFamaly = ((BoardControls.FontComboBox)(target));

            #line 202 "..\..\Editor.xaml"
                this.cbFontFamaly.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);

            #line default
            #line hidden

            #line 203 "..\..\Editor.xaml"
                this.cbFontFamaly.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 50:
                this.cbFontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 204 "..\..\Editor.xaml"
                this.cbFontSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.cbFont_SelectionChanged);

            #line default
            #line hidden

            #line 205 "..\..\Editor.xaml"
                this.cbFontSize.GotFocus += new System.Windows.RoutedEventHandler(this.cbSetting_GotFocus);

            #line default
            #line hidden
                return;

            case 51:
                this.btUndo = ((System.Windows.Controls.Button)(target));
                return;

            case 52:
                this.btRedo = ((System.Windows.Controls.Button)(target));
                return;

            case 53:
                this.rbSelect = ((System.Windows.Controls.RadioButton)(target));

            #line 253 "..\..\Editor.xaml"
                this.rbSelect.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 54:
                this.rbRemove = ((System.Windows.Controls.RadioButton)(target));

            #line 258 "..\..\Editor.xaml"
                this.rbRemove.Checked += new System.Windows.RoutedEventHandler(this.RadioButton_Checked);

            #line default
            #line hidden
                return;

            case 55:
                this.btDeleteText = ((System.Windows.Controls.Button)(target));

            #line 261 "..\..\Editor.xaml"
                this.btDeleteText.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.btDeleteNotes = ((System.Windows.Controls.Button)(target));

            #line 264 "..\..\Editor.xaml"
                this.btDeleteNotes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.btDeleteShapes = ((System.Windows.Controls.Button)(target));

            #line 267 "..\..\Editor.xaml"
                this.btDeleteShapes.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 58:
                this.btDeleteAll = ((System.Windows.Controls.Button)(target));

            #line 270 "..\..\Editor.xaml"
                this.btDeleteAll.Click += new System.Windows.RoutedEventHandler(this.btDelete_Click);

            #line default
            #line hidden
                return;

            case 59:
                this.cbRDS = ((System.Windows.Controls.CheckBox)(target));

            #line 280 "..\..\Editor.xaml"
                this.cbRDS.Click += new System.Windows.RoutedEventHandler(this.mnRDS_Click);

            #line default
            #line hidden
                return;

            case 60:
                this.pExtended = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 61:
                this.lbBoards = ((System.Windows.Controls.ListBox)(target));

            #line 292 "..\..\Editor.xaml"
                this.lbBoards.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbBoards_SelectionChanged);

            #line default
            #line hidden

            #line 292 "..\..\Editor.xaml"
                this.lbBoards.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbBoards_KeyDown);

            #line default
            #line hidden
                return;

            case 62:
                this.lbShapes = ((System.Windows.Controls.ListBox)(target));

            #line 299 "..\..\Editor.xaml"
                this.lbShapes.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.lbShapes_SelectionChanged);

            #line default
            #line hidden

            #line 299 "..\..\Editor.xaml"
                this.lbShapes.KeyDown += new System.Windows.Input.KeyEventHandler(this.lbShapes_KeyDown);

            #line default
            #line hidden

            #line 299 "..\..\Editor.xaml"
                this.lbShapes.GotFocus += new System.Windows.RoutedEventHandler(this.lbShapes_GotFocus);

            #line default
            #line hidden
                return;

            case 63:
                this.dpMain1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 64:
                this.mnMain = ((System.Windows.Controls.Menu)(target));
                return;

            case 65:
                this.dpBorad1 = ((System.Windows.Controls.DockPanel)(target));
                return;

            case 66:
                this.tbtTop = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 67:
                this.tbBoards = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 68:
                this.tbShapeSetting = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 69:
                this.tbFontSetting = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 70:
                this.tbtLeft = ((System.Windows.Controls.ToolBarTray)(target));
                return;

            case 71:
                this.tbInput = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 72:
                this.tbEdit = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 73:
                this.scvBoard = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 74:
                this.inkBoard = ((System.Windows.Controls.InkCanvas)(target));

            #line 320 "..\..\Editor.xaml"
                this.inkBoard.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseDown);

            #line default
            #line hidden

            #line 321 "..\..\Editor.xaml"
                this.inkBoard.MouseMove += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseMove);

            #line default
            #line hidden

            #line 321 "..\..\Editor.xaml"
                this.inkBoard.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.inkBoard_MouseUp);

            #line default
            #line hidden

            #line 321 "..\..\Editor.xaml"
                this.inkBoard.MouseEnter += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseEnter);

            #line default
            #line hidden

            #line 321 "..\..\Editor.xaml"
                this.inkBoard.MouseLeave += new System.Windows.Input.MouseEventHandler(this.inkBoard_MouseLeave);

            #line default
            #line hidden

            #line 322 "..\..\Editor.xaml"
                this.inkBoard.PreviewKeyUp += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyUp);

            #line default
            #line hidden

            #line 322 "..\..\Editor.xaml"
                this.inkBoard.PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.inkBoard_PreviewKeyDown);

            #line default
            #line hidden

            #line 322 "..\..\Editor.xaml"
                this.inkBoard.SelectionChanged += new System.EventHandler(this.inkBoard_SelectionChanged);

            #line default
            #line hidden

            #line 323 "..\..\Editor.xaml"
                this.inkBoard.StrokeCollected += new System.Windows.Controls.InkCanvasStrokeCollectedEventHandler(this.inkBoard_StrokeCollected);

            #line default
            #line hidden

            #line 323 "..\..\Editor.xaml"
                this.inkBoard.StrokeErased += new System.Windows.RoutedEventHandler(this.inkBoard_StrokeErased);

            #line default
            #line hidden

            #line 323 "..\..\Editor.xaml"
                this.inkBoard.SelectionMoved += new System.EventHandler(this.inkBoard_SelectionMoved);

            #line default
            #line hidden

            #line 324 "..\..\Editor.xaml"
                this.inkBoard.SelectionResized += new System.EventHandler(this.inkBoard_SelectionResized);

            #line default
            #line hidden
                return;

            case 75:
                this.tbBoard = ((BoardControls.BoardTextBox)(target));

            #line 331 "..\..\Editor.xaml"
                this.tbBoard.GotFocus += new System.Windows.RoutedEventHandler(this.tbBoard_GotFocus);

            #line default
            #line hidden

            #line 331 "..\..\Editor.xaml"
                this.tbBoard.TextChanged += new System.Windows.Controls.TextChangedEventHandler(this.tbBoard_TextChanged);

            #line default
            #line hidden

            #line 331 "..\..\Editor.xaml"
                this.tbBoard.SelectionChanged += new System.Windows.RoutedEventHandler(this.tbBoard_SelectionChanged);

            #line default
            #line hidden

            #line 331 "..\..\Editor.xaml"
                this.tbBoard.LostFocus += new System.Windows.RoutedEventHandler(this.tbBoard_LostFocus);

            #line default
            #line hidden
                return;

            case 76:
                this.sbCoord = ((System.Windows.Controls.TextBlock)(target));
                return;

            case 77:
                this.sbTool = ((System.Windows.Controls.TextBlock)(target));
                return;
            }
            this._contentLoaded = true;
        }