void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:

            #line 15 "..\..\MainWindow.xaml"
                ((StaffScheduler.MainWindow)(target)).Loaded += new System.Windows.RoutedEventHandler(this.Window_Loaded);

            #line default
            #line hidden
                return;

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

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

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

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

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

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

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

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

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

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

            case 12:
                this.biSwitchToDayView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 13:
                this.biSwitchToWorkWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 14:
                this.biSwitchToWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 15:
                this.biSwitchToFullWeekView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 16:
                this.biSwitchToMonthView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 17:
                this.biSwitchToTimelineView = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 18:
                this.biSwitchToGroupByNone = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 19:
                this.biSwitchToGroupByDate = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 20:
                this.biSwitchToGroupByResource = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 21:
                this.biSwitchTimeScalesUICommand = ((DevExpress.Xpf.Scheduler.UI.TimeScaleBarSubItem)(target));
                return;

            case 22:
                this.biSetTimeIntervalCount = ((DevExpress.Xpf.Bars.BarEditItem)(target));
                return;

            case 23:
                this.biSwitchTimeScalesCaptionUICommand = ((DevExpress.Xpf.Scheduler.UI.SwitchTimeScalesCaptionBarSubItem)(target));
                return;

            case 24:
                this.biSwitchCompressWeekend = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 25:
                this.biSwitchShowWorkTimeOnly = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 26:
                this.biChangeSnapToCellsUI = ((DevExpress.Xpf.Scheduler.UI.SnapToCellsSubItem)(target));
                return;

            case 27:
                this.biEditAppointmentSeriesGroup = ((DevExpress.Xpf.Scheduler.UI.EditAppointmentSeriesBarItem)(target));
                return;

            case 28:
                this.biEditAppointment = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 29:
                this.biDeleteAppointmentSeriesGroup = ((DevExpress.Xpf.Scheduler.UI.DeleteAppointmentSeriesBarItem)(target));
                return;

            case 30:
                this.biDeleteAppointment = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 31:
                this.biChangeAppointmentStatus = ((DevExpress.Xpf.Scheduler.UI.ChangeStatusBarItem)(target));
                return;

            case 32:
                this.biChangeAppointmentLabel = ((DevExpress.Xpf.Scheduler.UI.ChangeLabelBarItem)(target));
                return;

            case 33:
                this.biToggleRecurrence = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

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

            case 35:
                this.pagePageFile = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 36:
                this.grpPageFileCommon = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 37:
                this.pagePageHome = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 38:
                this.grpPageHomeAppointment = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 39:
                this.grpPageHomeViewNavigator = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 40:
                this.grpPageHomeArrangeView = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 41:
                this.grpPageHomeGroupBy = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 42:
                this.pagePageView = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 43:
                this.grpPageViewViewSelector = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 44:
                this.grpPageViewTimeScale = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 45:
                this.grpPageViewLayout = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 46:
                this.catAppointmentTools = ((DevExpress.Xpf.Ribbon.RibbonPageCategory)(target));
                return;

            case 47:
                this.pageAppointmentToolsAppointment = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

            case 48:
                this.grpAppointmentToolsAppointmentActions = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 49:
                this.grpAppointmentToolsAppointmentOptions = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

            case 51:
                this.navBarControl = ((DevExpress.Xpf.NavBar.NavBarControl)(target));
                return;

            case 52:
                this.biCalendar = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 137 "..\..\MainWindow.xaml"
                this.biCalendar.Click += new System.EventHandler(this.biCalendar_Click);

            #line default
            #line hidden
                return;

            case 53:
                this.biGroupByDate = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 138 "..\..\MainWindow.xaml"
                this.biGroupByDate.Click += new System.EventHandler(this.biGroupByDate_Click);

            #line default
            #line hidden
                return;

            case 54:
                this.biGroupByResource = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 139 "..\..\MainWindow.xaml"
                this.biGroupByResource.Click += new System.EventHandler(this.biGroupByResource_Click);

            #line default
            #line hidden
                return;

            case 55:
                this.biAnnual = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 143 "..\..\MainWindow.xaml"
                this.biAnnual.Click += new System.EventHandler(this.biAnnual_Click);

            #line default
            #line hidden
                return;

            case 56:
                this.schedulerControl1 = ((DevExpress.Xpf.Scheduler.SchedulerControl)(target));
                return;

            case 57:
                this.dateNavigator = ((DevExpress.Xpf.Editors.DateNavigator.DateNavigator)(target));
                return;
            }
            this._contentLoaded = true;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.RibbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 2:

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

            #line default
            #line hidden
                return;

            case 3:

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

            #line default
            #line hidden
                return;

            case 4:
                this.pgFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));

            #line 98 "..\..\MainWindow.xaml"
                this.pgFile.CaptionButtonClick += new DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventHandler(this.groupFile_CaptionButtonClick);

            #line default
            #line hidden
                return;

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

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

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

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

            case 9:
                this.sbSave = ((DevExpress.Xpf.Bars.BarSplitButtonItem)(target));
                return;

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

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

            case 12:

            #line 151 "..\..\MainWindow.xaml"
                ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target)).CaptionButtonClick += new DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventHandler(this.groupEdit_CaptionButtonClick);

            #line default
            #line hidden
                return;

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

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

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

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

            case 17:
                this.bgFontShape = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target));
                return;

            case 18:
                this.bBold = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 19:
                this.bItalic = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 20:
                this.bUnderline = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 21:
                this.categorySelection = ((DevExpress.Xpf.Ribbon.RibbonPageCategory)(target));
                return;

            case 22:
                this.gFont = ((DevExpress.Xpf.Ribbon.RibbonGalleryBarItem)(target));
                return;

            case 23:

            #line 200 "..\..\MainWindow.xaml"
                ((DevExpress.Xpf.Bars.Gallery)(target)).ItemChecked += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.FontFamilyGallery_ItemChecked);

            #line default
            #line hidden
                return;

            case 24:
                this.FontFamilyGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

            case 25:

            #line 217 "..\..\MainWindow.xaml"
                ((DevExpress.Xpf.Bars.Gallery)(target)).ItemChecked += new DevExpress.Xpf.Bars.GalleryItemEventHandler(this.FontFamilyGallery_ItemChecked);

            #line default
            #line hidden
                return;

            case 26:
                this.FontFamilyDropDownGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

            case 27:
                this.eFontSize = ((DevExpress.Xpf.Bars.BarEditItem)(target));

            #line 228 "..\..\MainWindow.xaml"
                this.eFontSize.EditValueChanged += new System.Windows.RoutedEventHandler(this.eFontSize_EditValueChanged);

            #line default
            #line hidden
                return;

            case 28:
                this.StatusBar = ((DevExpress.Xpf.Ribbon.RibbonStatusBarControl)(target));
                return;

            case 29:
                this.bAgvState = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
                return;

            case 30:
                this.bRobotState = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
                return;

            case 31:
                this.bPosInfo = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
                return;

            case 32:
                this.drawingSurface = ((System.Windows.Controls.Canvas)(target));

            #line 261 "..\..\MainWindow.xaml"
                this.drawingSurface.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.drawingSurface_MouseLeftButtonDown);

            #line default
            #line hidden

            #line 261 "..\..\MainWindow.xaml"
                this.drawingSurface.MouseUp += new System.Windows.Input.MouseButtonEventHandler(this.drawingSurface_MouseLeftButtonUp);

            #line default
            #line hidden

            #line 261 "..\..\MainWindow.xaml"
                this.drawingSurface.MouseMove += new System.Windows.Input.MouseEventHandler(this.drawingSurface_MouseMove);

            #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.Ribbon = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 2:
                this.eRibbonStyle = ((DevExpress.Xpf.Bars.BarEditItem)(target));
                return;

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

            case 4:
                this.pgFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

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

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

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

            case 9:
                this.sbSave = ((DevExpress.Xpf.Bars.BarSplitButtonItem)(target));
                return;

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

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

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

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

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

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

            case 16:
                this.bgFontShape = ((DevExpress.Xpf.Ribbon.BarButtonGroup)(target));
                return;

            case 17:
                this.bBold = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 18:
                this.bItalic = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 19:
                this.bUnderline = ((DevExpress.Xpf.Bars.BarCheckItem)(target));
                return;

            case 20:
                this.categorySelection = ((DevExpress.Xpf.Ribbon.RibbonPageCategory)(target));
                return;

            case 21:
                this.gFont = ((DevExpress.Xpf.Ribbon.RibbonGalleryBarItem)(target));
                return;

            case 22:
                this.FontFamilyGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

            case 23:
                this.FontFamilyDropDownGalleryGroup = ((DevExpress.Xpf.Bars.GalleryItemGroup)(target));
                return;

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

            case 25:
                this.StatusBar = ((DevExpress.Xpf.Ribbon.RibbonStatusBarControl)(target));
                return;

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

            case 27:
                this.bPosInfo = ((DevExpress.Xpf.Bars.BarStaticItem)(target));
                return;

            case 28:
                this.dockManager1 = ((DevExpress.Xpf.Docking.DockLayoutManager)(target));
                return;

            case 29:
                this.paneProperties = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 30:
                this.paneToolbox = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 31:
                this.paneDocument1 = ((DevExpress.Xpf.Docking.DocumentPanel)(target));
                return;

            case 32:
                this.paneDocument2 = ((DevExpress.Xpf.Docking.DocumentPanel)(target));
                return;
            }
            this._contentLoaded = true;
        }