Exemple #1
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.AlignmentPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 2:
                this.Button_VTopAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 3:
                this.Button_VCenterAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 4:
                this.Button_VBottomAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 5:
                this.Button_LeftAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 6:
                this.Button_CenterAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 7:
                this.Button_RightAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.selectbutton = ((Good_Teacher.Controls.SelectButton)(target));

            #line 8 "..\..\..\Controls\SelectButton.xaml"
                this.selectbutton.MouseEnter += new System.Windows.Input.MouseEventHandler(this.selectbutton_MouseEnter);

            #line default
            #line hidden

            #line 8 "..\..\..\Controls\SelectButton.xaml"
                this.selectbutton.MouseLeave += new System.Windows.Input.MouseEventHandler(this.selectbutton_MouseLeave);

            #line default
            #line hidden

            #line 8 "..\..\..\Controls\SelectButton.xaml"
                this.selectbutton.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.selectbutton_MouseLeftButtonDown);

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

            case 2:
                this.inkCanvas = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 3:
                this.Rect_BackColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 4:

            #line 23 "..\..\..\Controls\InkCanvas_Control.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonColor_Click);

            #line default
            #line hidden
                return;

            case 5:
                this.CB_PaintSize = ((System.Windows.Controls.ComboBox)(target));

            #line 27 "..\..\..\Controls\InkCanvas_Control.xaml"
                this.CB_PaintSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_PaintSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 6:
                this.Button_Draw = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 7:
                this.Button_Eraser = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 8:
                this.Button_ExportOut = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 9:
                this.Button_EraseAll = ((Good_Teacher.Controls.FlatButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.TB_Text = ((System.Windows.Controls.TextBox)(target));

            #line 16 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                this.TB_Text.KeyUp += new System.Windows.Input.KeyEventHandler(this.TB_Text_KeyUp);

            #line default
            #line hidden
                return;

            case 2:
                this.ComboBox_FontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                this.ComboBox_FontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.ComboBox_FontSize_TextChanged));

            #line default
            #line hidden
                return;

            case 3:
                this.TB_MarginLeft = ((System.Windows.Controls.TextBox)(target));

            #line 54 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                this.TB_MarginLeft.KeyUp += new System.Windows.Input.KeyEventHandler(this.TB_MarginLeft_KeyUp);

            #line default
            #line hidden
                return;

            case 4:
                this.Rect_BackColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 5:

            #line 60 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonColor_Click);

            #line default
            #line hidden
                return;

            case 6:

            #line 65 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonBrush_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.Label_font = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.ComboBox_FontName = ((System.Windows.Controls.ComboBox)(target));

            #line 72 "..\..\..\..\Pages\Content\ContentEditor_Text.xaml"
                this.ComboBox_FontName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_FontName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 9:
                this.SButton_Bold = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 10:
                this.SButton_Italic = ((Good_Teacher.Controls.SelectButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #5
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Toolbar_Editor = ((System.Windows.Controls.ToolBar)(target));
                return;

            case 2:

            #line 21 "..\..\..\..\Pages\Special\Page_TextEdit.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonClose_Click);

            #line default
            #line hidden
                return;

            case 3:
                this.ComboBox_FontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 28 "..\..\..\..\Pages\Special\Page_TextEdit.xaml"
                this.ComboBox_FontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.ComboBox_FontSize_TextChanged));

            #line default
            #line hidden
                return;

            case 4:
                this.Button_FontUp = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 5:
                this.Button_FontDown = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 6:
                this.Label_font = ((System.Windows.Controls.Label)(target));
                return;

            case 7:
                this.ComboBox_FontName = ((System.Windows.Controls.ComboBox)(target));

            #line 75 "..\..\..\..\Pages\Special\Page_TextEdit.xaml"
                this.ComboBox_FontName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_FontName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 8:
                this.SButton_Bold = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 9:
                this.SButton_Italic = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 10:
                this.SButton_Underline = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 11:
                this.SButton_Strikeline = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 12:
                this.SButton_SuperScript = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 13:
                this.SButton_SubScript = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 14:
                this.FButton_Undo = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 15:
                this.FButton_Redo = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 16:
                this.FButton_RTFLoad = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 17:
                this.FButton_RTFSave = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 18:
                this.ForColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 19:
                this.FButton_CPickerF = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 20:
                this.FButton_CustomColorFor = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 21:
                this.BackColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 22:
                this.FButton_CPickerB = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 23:
                this.FButton_CustomColorBack = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 24:
                this.Button_LeftAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 25:
                this.Button_CenterAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 26:
                this.Button_RightAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 27:
                this.Button_JustifyAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 28:
                this.FButton_Hyperlink = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 29:
                this.FButton_AddImage = ((Good_Teacher.Controls.FlatButton)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #6
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 22 "..\..\..\..\Windows\Special\Window_PrintPreview.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Print_Click);

            #line default
            #line hidden
                return;

            case 2:
                this.SB_Real = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 3:
                this.SB_Fit = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 4:
                this.CB_OutPutColor = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 5:
                this.CB_Orientation = ((System.Windows.Controls.ComboBox)(target));
                return;

            case 6:
                this.SB_OnePage = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 7:
                this.SB_AllPage = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 8:
                this.SB_ScaleView = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 9:
                this.SB_RealView = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 10:

            #line 102 "..\..\..\..\Windows\Special\Window_PrintPreview.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Previous_Click);

            #line default
            #line hidden
                return;

            case 11:

            #line 110 "..\..\..\..\Windows\Special\Window_PrintPreview.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.Next_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.L_Page = ((System.Windows.Controls.Label)(target));
                return;

            case 13:
                this.SV_Preview = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 14:
                this.VB_Image = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 15:
                this.SPanel = ((System.Windows.Controls.StackPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #7
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 8 "..\..\MainWindow.xaml"
                ((Good_Teacher_Repairo.MainWindow)(target)).PreviewKeyDown += new System.Windows.Input.KeyEventHandler(this.MainWindow_KeyDown);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((Good_Teacher_Repairo.MainWindow)(target)).SizeChanged += new System.Windows.SizeChangedEventHandler(this.Window_SizeChanged);

            #line default
            #line hidden

            #line 11 "..\..\MainWindow.xaml"
                ((Good_Teacher_Repairo.MainWindow)(target)).PreviewMouseWheel += new System.Windows.Input.MouseWheelEventHandler(this.Window_PreviewMouseWheel);

            #line default
            #line hidden
                return;

            case 2:
                this.MainWindow_Border = ((System.Windows.Controls.Border)(target));
                return;

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

            #line 33 "..\..\MainWindow.xaml"
                this.HeaderLine.MouseLeftButtonDown += new System.Windows.Input.MouseButtonEventHandler(this.HeaderLine_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 33 "..\..\MainWindow.xaml"
                this.HeaderLine.MouseMove += new System.Windows.Input.MouseEventHandler(this.HeaderLine_MouseMove);

            #line default
            #line hidden
                return;

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

            #line 38 "..\..\MainWindow.xaml"
                this.QuitButton.Click += new System.Windows.RoutedEventHandler(this.QuitButton_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 6:
                this.MinimizeButton = ((System.Windows.Controls.Button)(target));

            #line 124 "..\..\MainWindow.xaml"
                this.MinimizeButton.Click += new System.Windows.RoutedEventHandler(this.MinimizeButton_Click);

            #line default
            #line hidden
                return;

            case 7:
                this.L_FileName = ((System.Windows.Controls.Label)(target));
                return;

            case 8:
                this.Toolbar_Main = ((System.Windows.Controls.ToolBar)(target));
                return;

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

            #line 181 "..\..\MainWindow.xaml"
                this.MenuItem_Open.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Open_Click);

            #line default
            #line hidden
                return;

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

            #line 188 "..\..\MainWindow.xaml"
                this.MenuItem_Save.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Save_Click);

            #line default
            #line hidden
                return;

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

            #line 193 "..\..\MainWindow.xaml"
                this.MenuItem_SaveAs.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Save_Click);

            #line default
            #line hidden
                return;

            case 12:
                this.MenuItem_Print = ((System.Windows.Controls.MenuItem)(target));

            #line 197 "..\..\MainWindow.xaml"
                this.MenuItem_Print.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Print_Click);

            #line default
            #line hidden
                return;

            case 13:
                this.MenuItem_Export = ((System.Windows.Controls.MenuItem)(target));
                return;

            case 14:

            #line 219 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 15:

            #line 224 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 16:

            #line 235 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 17:

            #line 240 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 18:

            #line 249 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemExportToPDF_Click);

            #line default
            #line hidden
                return;

            case 19:

            #line 255 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

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

            #line 264 "..\..\MainWindow.xaml"
                this.MenuItem_Close.Click += new System.Windows.RoutedEventHandler(this.MenuItem_Close_Click);

            #line default
            #line hidden
                return;

            case 21:

            #line 276 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_View_Click);

            #line default
            #line hidden
                return;

            case 22:

            #line 284 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Info_Click);

            #line default
            #line hidden
                return;

            case 23:

            #line 292 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Answer_Click);

            #line default
            #line hidden
                return;

            case 24:

            #line 306 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.AppSettings_Click);

            #line default
            #line hidden
                return;

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

            #line 316 "..\..\MainWindow.xaml"
                this.MenuItem_About.Click += new System.Windows.RoutedEventHandler(this.MenuItem_About_Click);

            #line default
            #line hidden
                return;

            case 26:

            #line 318 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.CheckForUpdates_Click);

            #line default
            #line hidden
                return;

            case 27:

            #line 329 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.RunGoodTeacher_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.ScrollViewer_TestList = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 29:
                this.Stack_TestList = ((System.Windows.Controls.VirtualizingStackPanel)(target));
                return;

            case 30:

            #line 383 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Open_Click);

            #line default
            #line hidden
                return;

            case 31:

            #line 395 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Answer_Click);

            #line default
            #line hidden
                return;

            case 32:

            #line 407 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_View_Click);

            #line default
            #line hidden
                return;

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

            case 34:

            #line 437 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 35:

            #line 442 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 36:

            #line 453 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 37:

            #line 458 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 38:

            #line 467 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItemExportToPDF_Click);

            #line default
            #line hidden
                return;

            case 39:

            #line 473 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.ExportToImage_Click);

            #line default
            #line hidden
                return;

            case 40:

            #line 483 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Print_Click);

            #line default
            #line hidden
                return;

            case 41:

            #line 496 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.MenuItem)(target)).Click += new System.Windows.RoutedEventHandler(this.MenuItem_Info_Click);

            #line default
            #line hidden
                return;

            case 42:
                this.Rect_BackColor = ((System.Windows.Shapes.Rectangle)(target));
                return;

            case 43:

            #line 519 "..\..\MainWindow.xaml"
                ((System.Windows.Controls.Button)(target)).Click += new System.Windows.RoutedEventHandler(this.ButtonColor_Click);

            #line default
            #line hidden
                return;

            case 44:
                this.CB_PaintSize = ((System.Windows.Controls.ComboBox)(target));

            #line 523 "..\..\MainWindow.xaml"
                this.CB_PaintSize.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.CB_PaintSize_SelectionChanged);

            #line default
            #line hidden
                return;

            case 45:
                this.Button_Cursor = ((Good_Teacher.Controls.SelectButton)(target));

            #line 552 "..\..\MainWindow.xaml"
                this.Button_Cursor.OnCheckChanged += new Good_Teacher.Controls.SelectButton.CheckedChanged(this.Button_Cursor_OnCheckChanged);

            #line default
            #line hidden
                return;

            case 46:
                this.Button_Draw = ((Good_Teacher.Controls.SelectButton)(target));

            #line 553 "..\..\MainWindow.xaml"
                this.Button_Draw.OnCheckChanged += new Good_Teacher.Controls.SelectButton.CheckedChanged(this.Button_Draw_OnCheckChanged);

            #line default
            #line hidden
                return;

            case 47:
                this.Button_Eraser = ((Good_Teacher.Controls.SelectButton)(target));

            #line 554 "..\..\MainWindow.xaml"
                this.Button_Eraser.OnCheckChanged += new Good_Teacher.Controls.SelectButton.CheckedChanged(this.Button_Eraser_OnCheckChanged);

            #line default
            #line hidden
                return;

            case 48:
                this.Button_EraseAll = ((Good_Teacher.Controls.FlatButton)(target));

            #line 557 "..\..\MainWindow.xaml"
                this.Button_EraseAll.Click += new Good_Teacher.Controls.FlatButton.OnClick(this.Button_EraseAll_Click);

            #line default
            #line hidden
                return;

            case 49:
                this.ControlInputPanel = ((System.Windows.Controls.VirtualizingStackPanel)(target));
                return;

            case 50:
                this.ScrollViewerZoom = ((System.Windows.Controls.ScrollViewer)(target));
                return;

            case 51:
                this.viewboxDC = ((System.Windows.Controls.Viewbox)(target));
                return;

            case 52:
                this.BorderWindowSize = ((System.Windows.Controls.Border)(target));
                return;

            case 53:
                this.DesignCanvas = ((System.Windows.Controls.InkCanvas)(target));
                return;

            case 54:
                this.SliderZoom = ((System.Windows.Controls.Slider)(target));

            #line 599 "..\..\MainWindow.xaml"
                this.SliderZoom.ValueChanged += new System.Windows.RoutedPropertyChangedEventHandler <double>(this.SliderZoom_ValueChanged);

            #line default
            #line hidden
                return;

            case 55:
                this.TextBox_Zoom = ((System.Windows.Controls.TextBox)(target));

            #line 600 "..\..\MainWindow.xaml"
                this.TextBox_Zoom.LostFocus += new System.Windows.RoutedEventHandler(this.TB_Zoom_LostFocus);

            #line default
            #line hidden

            #line 600 "..\..\MainWindow.xaml"
                this.TextBox_Zoom.KeyDown += new System.Windows.Input.KeyEventHandler(this.TB_Zoom_KeyDown);

            #line default
            #line hidden
                return;

            case 56:

            #line 601 "..\..\MainWindow.xaml"
                ((Good_Teacher.Controls.FlatButton)(target)).Click += new Good_Teacher.Controls.FlatButton.OnClick(this.FlatButtonZoomCancel_Click);

            #line default
            #line hidden
                return;

            case 57:
                this.Notification = ((System.Windows.Controls.Border)(target));
                return;

            case 58:
                this.NotificationLabel = ((System.Windows.Controls.Label)(target));
                return;
            }
            this._contentLoaded = true;
        }
Exemple #8
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.Label_font = ((System.Windows.Controls.Label)(target));
                return;

            case 2:
                this.ComboBox_FontName = ((System.Windows.Controls.ComboBox)(target));

            #line 15 "..\..\..\..\Controls\Special\FontEditorPanel.xaml"
                this.ComboBox_FontName.SelectionChanged += new System.Windows.Controls.SelectionChangedEventHandler(this.ComboBox_FontName_SelectionChanged);

            #line default
            #line hidden
                return;

            case 3:
                this.ComboBox_FontSize = ((System.Windows.Controls.ComboBox)(target));

            #line 21 "..\..\..\..\Controls\Special\FontEditorPanel.xaml"
                this.ComboBox_FontSize.AddHandler(System.Windows.Controls.Primitives.TextBoxBase.TextChangedEvent, new System.Windows.Controls.TextChangedEventHandler(this.ComboBox_FontSize_TextChanged));

            #line default
            #line hidden
                return;

            case 4:
                this.Button_FontUp = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 5:
                this.Button_FontDown = ((Good_Teacher.Controls.FlatButton)(target));
                return;

            case 6:
                this.SButton_Bold = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 7:
                this.SButton_Italic = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 8:
                this.AlignmentPanel = ((System.Windows.Controls.StackPanel)(target));
                return;

            case 9:
                this.Button_VTopAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 10:
                this.Button_VCenterAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 11:
                this.Button_VBottomAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 12:
                this.Button_LeftAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 13:
                this.Button_CenterAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;

            case 14:
                this.Button_RightAlign = ((Good_Teacher.Controls.SelectButton)(target));
                return;
            }
            this._contentLoaded = true;
        }