void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.barManager = ((DevExpress.Xpf.Bars.BarManager)(target));
                return;

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

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

            #line default
            #line hidden
                return;

            case 3:
                this.pFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));

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

            #line default
            #line hidden
                return;

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

            case 5:
                this.RootGroup = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
                return;

            case 6:
                this.ToolsLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
                return;

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

            case 8:
                this.DocumentsLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
                return;

            case 9:
                this.documentGroup1 = ((DevExpress.Xpf.Docking.DocumentGroup)(target));
                return;

            case 10:
                this.NetworkLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
                return;

            case 11:
                this.chatPanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 12:
                this.groupPanel = ((DevExpress.Xpf.Docking.LayoutPanel)(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;
        }
 void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
     switch (connectionId)
     {
     case 1:
     this.mainRibbonControl = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
     return;
     case 2:
     this.viewRibbonPage = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
     return;
     case 3:
     this.navigationRibbonPageGroup = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
     return;
     case 4:
     this.appearanceRibbonPageGroup = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
     return;
     }
     this._contentLoaded = true;
 }
Exemple #4
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this._rpgsach = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

            case 2:
                this._btntheloai = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

            #line 26 "..\..\frmMain.xaml"
                this._btntheloai.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._btntheloai_ItemClick);

            #line default
            #line hidden
                return;

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

            #line 28 "..\..\frmMain.xaml"
                this._btnkhosach.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._btnkhosach_ItemClick);

            #line default
            #line hidden
                return;

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

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

            #line 32 "..\..\frmMain.xaml"
                this._bbidocgia.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbidocgia_ItemClick);

            #line default
            #line hidden
                return;

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

            #line 33 "..\..\frmMain.xaml"
                this._bbikhoalop.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbikhoalop_ItemClick);

            #line default
            #line hidden
                return;

            case 7:
                this._rpgmuontra = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

            #line 38 "..\..\frmMain.xaml"
                this._bbisachdamuon.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbisachdamuon_ItemClick);

            #line default
            #line hidden
                return;

            case 9:
                this._rpgthongke = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

            #line 41 "..\..\frmMain.xaml"
                this._bbisachmuon.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbisachmuon_ItemClick);

            #line default
            #line hidden
                return;

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

            #line 42 "..\..\frmMain.xaml"
                this._bbidocgiareport.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbidocgiareport_ItemClick);

            #line default
            #line hidden
                return;

            case 12:
                this._rpguser = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

            #line 48 "..\..\frmMain.xaml"
                this._bbirestart.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbirestart_ItemClick);

            #line default
            #line hidden
                return;

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

            #line 49 "..\..\frmMain.xaml"
                this._bbiadduser.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this._bbiadduser_ItemClick);

            #line default
            #line hidden
                return;

            case 15:
                this._navsachgroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 16:
                this._navsach = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 58 "..\..\frmMain.xaml"
                this._navsach.Click += new System.EventHandler(this._navsach_Click);

            #line default
            #line hidden
                return;

            case 17:
                this._navtheloai = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 59 "..\..\frmMain.xaml"
                this._navtheloai.Click += new System.EventHandler(this._navtheloai_Click);

            #line default
            #line hidden
                return;

            case 18:
                this._navtacgia = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 60 "..\..\frmMain.xaml"
                this._navtacgia.Click += new System.EventHandler(this._navtacgia_Click);

            #line default
            #line hidden
                return;

            case 19:
                this._navnxb = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 61 "..\..\frmMain.xaml"
                this._navnxb.Click += new System.EventHandler(this._navnxb_Click);

            #line default
            #line hidden
                return;

            case 20:
                this._navngoidunggroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 21:
                this._navdocgia = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 65 "..\..\frmMain.xaml"
                this._navdocgia.Click += new System.EventHandler(this._navdocgia_Click);

            #line default
            #line hidden
                return;

            case 22:
                this._navlop = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 66 "..\..\frmMain.xaml"
                this._navlop.Click += new System.EventHandler(this._navlop_Click);

            #line default
            #line hidden
                return;

            case 23:
                this._navkhoa = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 67 "..\..\frmMain.xaml"
                this._navkhoa.Click += new System.EventHandler(this._navkhoa_Click);

            #line default
            #line hidden
                return;

            case 24:
                this._navusergroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 25:
                this._navnguoidung = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 70 "..\..\frmMain.xaml"
                this._navnguoidung.Click += new System.EventHandler(this._navnguoidung_Click);

            #line default
            #line hidden
                return;

            case 26:
                this._navsachmuongroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 27:
                this._navsachmuon = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 73 "..\..\frmMain.xaml"
                this._navsachmuon.Click += new System.EventHandler(this._navsachmuon_Click);

            #line default
            #line hidden
                return;

            case 28:
                this.datenavi = ((DevExpress.Xpf.Editors.DateNavigator.DateNavigator)(target));

            #line 76 "..\..\frmMain.xaml"
                this.datenavi.MouseDoubleClick += new System.Windows.Input.MouseButtonEventHandler(this.datenavi_MouseDoubleClick);

            #line default
            #line hidden
                return;

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

            case 30:
                this.documentGr = ((DevExpress.Xpf.Docking.DocumentGroup)(target));
                return;

            case 31:
                this.label = ((System.Windows.Controls.Label)(target));
                return;

            case 32:
                this._txtusername = ((System.Windows.Controls.Label)(target));
                return;

            case 33:
                this.passwordBox = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 34:
                this.passwordBox1 = ((System.Windows.Controls.PasswordBox)(target));
                return;

            case 35:
                this._btnchangepass = ((System.Windows.Controls.Button)(target));

            #line 92 "..\..\frmMain.xaml"
                this._btnchangepass.Click += new System.Windows.RoutedEventHandler(this._btnchangepass_Click);

            #line default
            #line hidden
                return;

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

            #line 93 "..\..\frmMain.xaml"
                this._btncancelsavepass.Click += new System.Windows.RoutedEventHandler(this._btncancelsavepass_Click);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
        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.barManager = ((DevExpress.Xpf.Bars.BarManager)(target));
     return;
     case 2:
     this.bNew = ((DevExpress.Xpf.Bars.BarButtonItem)(target));
     
     #line 20 "..\..\..\MainWindow.xaml"
     this.bNew.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.bNew_ItemClick);
     
     #line default
     #line hidden
     return;
     case 3:
     this.pFile = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
     
     #line 28 "..\..\..\MainWindow.xaml"
     this.pFile.CaptionButtonClick += new DevExpress.Xpf.Ribbon.RibbonCaptionButtonClickEventHandler(this.groupFile_CaptionButtonClick);
     
     #line default
     #line hidden
     return;
     case 4:
     this.dockManager1 = ((DevExpress.Xpf.Docking.DockLayoutManager)(target));
     return;
     case 5:
     this.RootGroup = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
     return;
     case 6:
     this.ToolsLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
     return;
     case 7:
     this.paneToolbox = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
     return;
     case 8:
     this.DocumentsLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
     return;
     case 9:
     this.documentGroup1 = ((DevExpress.Xpf.Docking.DocumentGroup)(target));
     return;
     case 10:
     this.NetworkLayout = ((DevExpress.Xpf.Docking.LayoutGroup)(target));
     return;
     case 11:
     this.chatPanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
     return;
     case 12:
     this.groupPanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
     return;
     }
     this._contentLoaded = true;
 }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ManinWindow = ((System.Windows.Controls.Grid)(target));

            #line 13 "..\..\..\Views\MainWindow.xaml"
                this.ManinWindow.Loaded += new System.Windows.RoutedEventHandler(this.ManinWindow_Loaded);

            #line default
            #line hidden
                return;

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

            case 3:
                this.Ribbonpage_Home = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

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

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

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

            #line default
            #line hidden
                return;

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

            #line 30 "..\..\..\Views\MainWindow.xaml"
                this.AddButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\..\Views\MainWindow.xaml"
                this.cancelButton.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.RibbonItem_Click);

            #line default
            #line hidden
                return;

            case 10:
                this.Ribbonpage_Logout = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

            #line 40 "..\..\..\Views\MainWindow.xaml"
                this.btn_Logout.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.btn_Logout_ItemClick);

            #line default
            #line hidden
                return;

            case 12:
                this.Ribbonpage_AlimSatim = ((DevExpress.Xpf.Ribbon.RibbonPage)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 47 "..\..\..\Views\MainWindow.xaml"
                this.CancelBasket.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.CancelBasket_ItemClick);

            #line default
            #line hidden
                return;

            case 16:
                this.definePanel = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

            case 17:
                this.navBar_tanimGroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 18:
                this.navBar_uruntanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 60 "..\..\..\Views\MainWindow.xaml"
                this.navBar_uruntanim.Click += new System.EventHandler(this.navBar_uruntanim_Click);

            #line default
            #line hidden
                return;

            case 19:
                this.navBar_personeltanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 61 "..\..\..\Views\MainWindow.xaml"
                this.navBar_personeltanim.Click += new System.EventHandler(this.navBar_personeltanim_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.navBar_musteritanim = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 62 "..\..\..\Views\MainWindow.xaml"
                this.navBar_musteritanim.Click += new System.EventHandler(this.navBar_musteritanim_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.navBar_listGroup = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 22:
                this.navBar_urunList = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 65 "..\..\..\Views\MainWindow.xaml"
                this.navBar_urunList.Click += new System.EventHandler(this.navBar_urunList_Click);

            #line default
            #line hidden
                return;

            case 23:
                this.navBar_raporList = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 66 "..\..\..\Views\MainWindow.xaml"
                this.navBar_raporList.Click += new System.EventHandler(this.navBar_raporList_Click);

            #line default
            #line hidden
                return;

            case 24:
                this.TabControlMain = ((DevExpress.Xpf.Core.DXTabControl)(target));

            #line 72 "..\..\..\Views\MainWindow.xaml"
                this.TabControlMain.TabHidden += new DevExpress.Xpf.Core.TabControlTabHiddenEventHandler(this.TabControlMain_TabHidden);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }
Exemple #8
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;
        }
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.ribbonControl1 = ((DevExpress.Xpf.Ribbon.RibbonControl)(target));
                return;

            case 2:
                this.bExit = ((DevExpress.Xpf.Bars.BarButtonItem)(target));

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

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

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

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

            #line default
            #line hidden
                return;

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

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

            #line default
            #line hidden
                return;

            case 7:
                this.rpgOrder = ((DevExpress.Xpf.Ribbon.RibbonPageGroup)(target));
                return;

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

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

            #line default
            #line hidden
                return;

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

            #line 36 "..\..\MainWindow.xaml"
                this.bOrder.ItemClick += new DevExpress.Xpf.Bars.ItemClickEventHandler(this.navOrder_Click);

            #line default
            #line hidden
                return;

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

            case 11:
                this.layoutNavigations = ((DevExpress.Xpf.Docking.LayoutPanel)(target));
                return;

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

            case 13:
                this.navAccount = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 14:

            #line 49 "..\..\MainWindow.xaml"
                ((DevExpress.Xpf.NavBar.NavBarItem)(target)).Click += new System.EventHandler(this.navAccount_Click);

            #line default
            #line hidden
                return;

            case 15:
                this.navMathang = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 16:
                this.navProducts = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 52 "..\..\MainWindow.xaml"
                this.navProducts.Click += new System.EventHandler(this.navProduct_Click);

            #line default
            #line hidden
                return;

            case 17:
                this.navProductTypes = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 53 "..\..\MainWindow.xaml"
                this.navProductTypes.Click += new System.EventHandler(this.navProductType_Click);

            #line default
            #line hidden
                return;

            case 18:
                this.navHoadon = ((DevExpress.Xpf.NavBar.NavBarGroup)(target));
                return;

            case 19:
                this.navNewOrder = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 56 "..\..\MainWindow.xaml"
                this.navNewOrder.Click += new System.EventHandler(this.navNewOrder_Click);

            #line default
            #line hidden
                return;

            case 20:
                this.navOrder = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 57 "..\..\MainWindow.xaml"
                this.navOrder.Click += new System.EventHandler(this.navOrder_Click);

            #line default
            #line hidden
                return;

            case 21:
                this.navInventory = ((DevExpress.Xpf.NavBar.NavBarItem)(target));

            #line 60 "..\..\MainWindow.xaml"
                this.navInventory.Click += new System.EventHandler(this.navInventory_Click);

            #line default
            #line hidden
                return;

            case 22:
                this.documentGroup = ((DevExpress.Xpf.Docking.DocumentGroup)(target));
                return;
            }
            this._contentLoaded = true;
        }