static DevExpress.XtraScheduler.SchedulerStorage InitSchedulerStorage() { var modelApplication = ApplicationHelper.Instance.Application.Model; var storage = new DevExpress.XtraScheduler.SchedulerStorage(); storage.BeginInit(); storage.EnableReminders = true; storage.RemindersCheckInterval = (((IModelApplicationScheduler)modelApplication).Scheduler).RemindersCheckInterval; var appointmentStorage = storage.Appointments; appointmentStorage.AutoReload = false; var mappingCollection = appointmentStorage.CustomFieldMappings; mappingCollection.Add(new AppointmentCustomFieldMapping(BOType, BOType)); mappingCollection.Add(new AppointmentCustomFieldMapping(BOKey, BOKey)); storage.EndInit(); return storage; }
static DevExpress.XtraScheduler.SchedulerStorage InitSchedulerStorage() { var modelApplication = ApplicationHelper.Instance.Application.Model; var storage = new DevExpress.XtraScheduler.SchedulerStorage(); storage.BeginInit(); storage.EnableReminders = true; storage.RemindersCheckInterval = (((IModelApplicationScheduler)modelApplication).Scheduler).RemindersCheckInterval; var appointmentStorage = storage.Appointments; appointmentStorage.AutoReload = false; var mappingCollection = appointmentStorage.CustomFieldMappings; mappingCollection.Add(new AppointmentCustomFieldMapping(BOType, BOType)); mappingCollection.Add(new AppointmentCustomFieldMapping(BOKey, BOKey)); storage.EndInit(); return(storage); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraScheduler.TimeRuler timeRuler1 = new DevExpress.XtraScheduler.TimeRuler(); DevExpress.XtraScheduler.TimeRuler timeRuler2 = new DevExpress.XtraScheduler.TimeRuler(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SpaBookingControl)); this.schedulerStorage1 = new DevExpress.XtraScheduler.SchedulerStorage(this.components); this.dateNavigator1 = new DevExpress.XtraScheduler.DateNavigator(); this.schedulerControl1 = new DevExpress.XtraScheduler.SchedulerControl(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); this.splitterControl1 = new DevExpress.XtraEditors.SplitterControl(); this.pnlCtrlScheduler = new DevExpress.XtraEditors.PanelControl(); this.pnlCtrlTop = new DevExpress.XtraEditors.PanelControl(); this.sBtnRefresh = new DevExpress.XtraEditors.SimpleButton(); this.sBtnWaitingList = new DevExpress.XtraEditors.SimpleButton(); this.sBtnSubtract = new DevExpress.XtraEditors.SimpleButton(); this.sBtnForfeit = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton61 = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton62 = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton63 = new DevExpress.XtraEditors.SimpleButton(); this.sBtnAdd = new DevExpress.XtraEditors.SimpleButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.resourcesCheckedListBoxControl1 = new DevExpress.XtraScheduler.UI.ResourcesCheckedListBoxControl(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlScheduler)).BeginInit(); this.pnlCtrlScheduler.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).BeginInit(); this.pnlCtrlTop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.resourcesCheckedListBoxControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); // // schedulerStorage1 // this.schedulerStorage1.Appointments.DataMember = "tblServiceSession"; this.schedulerStorage1.Appointments.Mappings.Description = "strRemarks"; this.schedulerStorage1.Appointments.Mappings.End = "dtEndTime"; this.schedulerStorage1.Appointments.Mappings.ResourceId = "nServiceEmployeeID"; this.schedulerStorage1.Appointments.Mappings.Start = "dtStartTime"; this.schedulerStorage1.Appointments.Mappings.Status = "nStatusID"; this.schedulerStorage1.Appointments.Mappings.Subject = "strServiceCode"; this.schedulerStorage1.AppointmentsInserted += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); this.schedulerStorage1.AppointmentsDeleted += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); this.schedulerStorage1.AppointmentsChanged += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); // // dateNavigator1 // this.dateNavigator1.AppearanceCalendar.Font = new System.Drawing.Font("Tahoma", 8F); this.dateNavigator1.AppearanceCalendar.Options.UseFont = true; this.dateNavigator1.Dock = System.Windows.Forms.DockStyle.Fill; this.dateNavigator1.Location = new System.Drawing.Point(0, 0); this.dateNavigator1.Name = "dateNavigator1"; this.dateNavigator1.SchedulerControl = this.schedulerControl1; this.dateNavigator1.ShowWeekNumbers = false; this.dateNavigator1.Size = new System.Drawing.Size(142, 296); this.dateNavigator1.TabIndex = 1; this.dateNavigator1.DoubleClick += new System.EventHandler(this.dateNavigator1_EditDateModified); // // schedulerControl1 // this.schedulerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedulerControl1.Location = new System.Drawing.Point(0, 0); this.schedulerControl1.Name = "schedulerControl1"; this.schedulerControl1.OptionsCustomization.AllowAppointmentConflicts = DevExpress.XtraScheduler.AppointmentConflictsMode.Forbidden; this.schedulerControl1.OptionsCustomization.AllowAppointmentCopy = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDelete = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDrag = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDragBetweenResources = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentMultiSelect = false; this.schedulerControl1.OptionsCustomization.AllowInplaceEditor = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsView.ToolTipVisibility = DevExpress.XtraScheduler.ToolTipVisibility.Always; this.schedulerControl1.Size = new System.Drawing.Size(684, 372); this.schedulerControl1.Start = new System.DateTime(2006, 4, 22, 0, 0, 0, 0); this.schedulerControl1.Storage = this.schedulerStorage1; this.schedulerControl1.TabIndex = 0; this.schedulerControl1.Text = "schedulerControl1"; this.schedulerControl1.ToolTipController = this.toolTipController1; this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Font = new System.Drawing.Font("Tahoma", 10F); this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Options.UseFont = true; this.schedulerControl1.Views.DayView.TimeRulers.AddRange(new DevExpress.XtraScheduler.TimeRuler[] { timeRuler1}); this.schedulerControl1.Views.DayView.TimeScale = System.TimeSpan.Parse("00:15:00"); this.schedulerControl1.Views.DayView.VisibleTime.Duration = System.TimeSpan.Parse("1.00:00:00"); this.schedulerControl1.Views.DayView.WorkTime.Duration = System.TimeSpan.Parse("09:00:00"); this.schedulerControl1.Views.WorkWeekView.TimeRulers.AddRange(new DevExpress.XtraScheduler.TimeRuler[] { timeRuler2}); this.schedulerControl1.Views.WorkWeekView.VisibleTime.Duration = System.TimeSpan.Parse("1.00:00:00"); this.schedulerControl1.Views.WorkWeekView.WorkTime.Duration = System.TimeSpan.Parse("09:00:00"); this.schedulerControl1.SelectionChanged += new System.EventHandler(this.schedulerControl1_SelectionChanged); this.schedulerControl1.CustomDrawAppointmentBackground += new DevExpress.XtraScheduler.CustomDrawObjectEventHandler(this.schedulerControl1_CustomDrawAppointmentBackground); this.schedulerControl1.CustomDrawResourceHeader += new DevExpress.XtraScheduler.CustomDrawObjectEventHandler(this.schedulerControl1_CustomDrawResourceHeader); this.schedulerControl1.EditAppointmentFormShowing += new DevExpress.XtraScheduler.AppointmentFormEventHandler(this.schedulerControl1_EditAppointmentFormShowing_1); // // toolTipController1 // this.toolTipController1.ShowShadow = false; this.toolTipController1.BeforeShow += new DevExpress.Utils.ToolTipControllerBeforeShowEventHandler(this.toolTipController1_BeforeShow); // // splitterControl1 // this.splitterControl1.Dock = System.Windows.Forms.DockStyle.Right; this.splitterControl1.Location = new System.Drawing.Point(684, 0); this.splitterControl1.Name = "splitterControl1"; this.splitterControl1.Size = new System.Drawing.Size(4, 408); this.splitterControl1.TabIndex = 2; this.splitterControl1.TabStop = false; // // pnlCtrlScheduler // this.pnlCtrlScheduler.AutoScroll = true; this.pnlCtrlScheduler.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlScheduler.Controls.Add(this.schedulerControl1); this.pnlCtrlScheduler.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlCtrlScheduler.Location = new System.Drawing.Point(0, 36); this.pnlCtrlScheduler.Name = "pnlCtrlScheduler"; this.pnlCtrlScheduler.Size = new System.Drawing.Size(684, 372); this.pnlCtrlScheduler.TabIndex = 4; this.pnlCtrlScheduler.Text = "panelControl2"; // // pnlCtrlTop // this.pnlCtrlTop.Appearance.BackColor = System.Drawing.Color.White; this.pnlCtrlTop.Appearance.ForeColor = System.Drawing.Color.Transparent; this.pnlCtrlTop.Appearance.Options.UseBackColor = true; this.pnlCtrlTop.Appearance.Options.UseForeColor = true; this.pnlCtrlTop.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlTop.Controls.Add(this.sBtnRefresh); this.pnlCtrlTop.Controls.Add(this.sBtnWaitingList); this.pnlCtrlTop.Controls.Add(this.sBtnSubtract); this.pnlCtrlTop.Controls.Add(this.sBtnForfeit); this.pnlCtrlTop.Controls.Add(this.SimpleButton61); this.pnlCtrlTop.Controls.Add(this.SimpleButton62); this.pnlCtrlTop.Controls.Add(this.SimpleButton63); this.pnlCtrlTop.Controls.Add(this.sBtnAdd); this.pnlCtrlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlCtrlTop.Location = new System.Drawing.Point(0, 0); this.pnlCtrlTop.Name = "pnlCtrlTop"; this.pnlCtrlTop.Size = new System.Drawing.Size(684, 36); this.pnlCtrlTop.TabIndex = 5; this.pnlCtrlTop.Text = "panelControl2"; // // sBtnRefresh // this.sBtnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnRefresh.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnRefresh.Appearance.Options.UseFont = true; this.sBtnRefresh.Location = new System.Drawing.Point(538, 8); this.sBtnRefresh.Name = "sBtnRefresh"; this.sBtnRefresh.Size = new System.Drawing.Size(82, 24); this.sBtnRefresh.TabIndex = 57; this.sBtnRefresh.Text = "Refresh"; this.sBtnRefresh.Click += new System.EventHandler(this.sBtnRefresh_Click); // // sBtnWaitingList // this.sBtnWaitingList.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnWaitingList.Appearance.Options.UseFont = true; this.sBtnWaitingList.Location = new System.Drawing.Point(276, 8); this.sBtnWaitingList.Name = "sBtnWaitingList"; this.sBtnWaitingList.Size = new System.Drawing.Size(82, 20); this.sBtnWaitingList.TabIndex = 56; this.sBtnWaitingList.Text = "Waiting List"; this.sBtnWaitingList.Click += new System.EventHandler(this.sBtnWaitingList_Click); // // sBtnSubtract // this.sBtnSubtract.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnSubtract.Appearance.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.sBtnSubtract.Appearance.Options.UseFont = true; this.sBtnSubtract.Appearance.Options.UseTextOptions = true; this.sBtnSubtract.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.sBtnSubtract.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.sBtnSubtract.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.sBtnSubtract.ImageIndex = 1; this.sBtnSubtract.Location = new System.Drawing.Point(654, 8); this.sBtnSubtract.Name = "sBtnSubtract"; this.sBtnSubtract.Size = new System.Drawing.Size(28, 25); this.sBtnSubtract.TabIndex = 54; this.sBtnSubtract.Text = ">>"; this.sBtnSubtract.Click += new System.EventHandler(this.sBtnSubtract_Click); // // sBtnForfeit // this.sBtnForfeit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnForfeit.Appearance.Options.UseFont = true; this.sBtnForfeit.Location = new System.Drawing.Point(126, 8); this.sBtnForfeit.Name = "sBtnForfeit"; this.sBtnForfeit.Size = new System.Drawing.Size(54, 20); this.sBtnForfeit.TabIndex = 15; this.sBtnForfeit.Text = "Forfeit"; this.sBtnForfeit.Click += new System.EventHandler(this.sBtnForfeit_Click); // // SimpleButton61 // this.SimpleButton61.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton61.Appearance.Options.UseFont = true; this.SimpleButton61.Location = new System.Drawing.Point(184, 8); this.SimpleButton61.Name = "SimpleButton61"; this.SimpleButton61.Size = new System.Drawing.Size(88, 20); this.SimpleButton61.TabIndex = 14; this.SimpleButton61.Text = "Mark Service"; this.SimpleButton61.Click += new System.EventHandler(this.SimpleButton61_Click); // // SimpleButton62 // this.SimpleButton62.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton62.Appearance.Options.UseFont = true; this.SimpleButton62.Location = new System.Drawing.Point(64, 8); this.SimpleButton62.Name = "SimpleButton62"; this.SimpleButton62.Size = new System.Drawing.Size(58, 20); this.SimpleButton62.TabIndex = 13; this.SimpleButton62.Text = "Delete"; this.SimpleButton62.Click += new System.EventHandler(this.SimpleButton62_Click); // // SimpleButton63 // this.SimpleButton63.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton63.Appearance.Options.UseFont = true; this.SimpleButton63.Location = new System.Drawing.Point(10, 8); this.SimpleButton63.Name = "SimpleButton63"; this.SimpleButton63.Size = new System.Drawing.Size(50, 20); this.SimpleButton63.TabIndex = 12; this.SimpleButton63.Text = "New"; this.SimpleButton63.Click += new System.EventHandler(this.SimpleButton63_Click); // // sBtnAdd // this.sBtnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnAdd.Appearance.Font = new System.Drawing.Font("Verdana", 8F); this.sBtnAdd.Appearance.Options.UseFont = true; this.sBtnAdd.Appearance.Options.UseTextOptions = true; this.sBtnAdd.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.sBtnAdd.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.sBtnAdd.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.sBtnAdd.ImageIndex = 0; this.sBtnAdd.Location = new System.Drawing.Point(624, 8); this.sBtnAdd.Name = "sBtnAdd"; this.sBtnAdd.Size = new System.Drawing.Size(28, 25); this.sBtnAdd.TabIndex = 55; this.sBtnAdd.Text = "<<"; this.sBtnAdd.Click += new System.EventHandler(this.sBtnAdd_Click); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; // // resourcesCheckedListBoxControl1 // this.resourcesCheckedListBoxControl1.CheckOnClick = true; this.resourcesCheckedListBoxControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.resourcesCheckedListBoxControl1.Location = new System.Drawing.Point(0, 0); this.resourcesCheckedListBoxControl1.Name = "resourcesCheckedListBoxControl1"; this.resourcesCheckedListBoxControl1.SchedulerControl = this.schedulerControl1; this.resourcesCheckedListBoxControl1.Size = new System.Drawing.Size(142, 92); this.resourcesCheckedListBoxControl1.TabIndex = 6; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Right; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(688, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.resourcesCheckedListBoxControl1); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.dateNavigator1); this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(150, 408); this.splitContainerControl1.TabIndex = 57; this.splitContainerControl1.Text = "splitContainerControl1"; // // SpaBookingControl // this.Controls.Add(this.pnlCtrlScheduler); this.Controls.Add(this.pnlCtrlTop); this.Controls.Add(this.splitterControl1); this.Controls.Add(this.splitContainerControl1); this.Name = "SpaBookingControl"; this.Size = new System.Drawing.Size(838, 408); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlScheduler)).EndInit(); this.pnlCtrlScheduler.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).EndInit(); this.pnlCtrlTop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.resourcesCheckedListBoxControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraScheduler.TimeRuler timeRuler1 = new DevExpress.XtraScheduler.TimeRuler(); DevExpress.XtraScheduler.TimeRuler timeRuler2 = new DevExpress.XtraScheduler.TimeRuler(); System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(SpaBookingControl)); this.schedulerStorage1 = new DevExpress.XtraScheduler.SchedulerStorage(this.components); this.dateNavigator1 = new DevExpress.XtraScheduler.DateNavigator(); this.schedulerControl1 = new DevExpress.XtraScheduler.SchedulerControl(); this.toolTipController1 = new DevExpress.Utils.ToolTipController(this.components); this.splitterControl1 = new DevExpress.XtraEditors.SplitterControl(); this.pnlCtrlScheduler = new DevExpress.XtraEditors.PanelControl(); this.pnlCtrlTop = new DevExpress.XtraEditors.PanelControl(); this.sBtnRefresh = new DevExpress.XtraEditors.SimpleButton(); this.sBtnWaitingList = new DevExpress.XtraEditors.SimpleButton(); this.sBtnSubtract = new DevExpress.XtraEditors.SimpleButton(); this.sBtnForfeit = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton61 = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton62 = new DevExpress.XtraEditors.SimpleButton(); this.SimpleButton63 = new DevExpress.XtraEditors.SimpleButton(); this.sBtnAdd = new DevExpress.XtraEditors.SimpleButton(); this.imageList1 = new System.Windows.Forms.ImageList(this.components); this.resourcesCheckedListBoxControl1 = new DevExpress.XtraScheduler.UI.ResourcesCheckedListBoxControl(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlScheduler)).BeginInit(); this.pnlCtrlScheduler.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).BeginInit(); this.pnlCtrlTop.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.resourcesCheckedListBoxControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); this.SuspendLayout(); // // schedulerStorage1 // this.schedulerStorage1.Appointments.DataMember = "tblServiceSession"; this.schedulerStorage1.Appointments.Mappings.Description = "strRemarks"; this.schedulerStorage1.Appointments.Mappings.End = "dtEndTime"; this.schedulerStorage1.Appointments.Mappings.ResourceId = "nServiceEmployeeID"; this.schedulerStorage1.Appointments.Mappings.Start = "dtStartTime"; this.schedulerStorage1.Appointments.Mappings.Status = "nStatusID"; this.schedulerStorage1.Appointments.Mappings.Subject = "strServiceCode"; this.schedulerStorage1.AppointmentsInserted += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); this.schedulerStorage1.AppointmentsDeleted += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); this.schedulerStorage1.AppointmentsChanged += new DevExpress.XtraScheduler.PersistentObjectsEventHandler(this.schedulerStorage1_AppointmentsChanged); // // dateNavigator1 // this.dateNavigator1.AppearanceCalendar.Font = new System.Drawing.Font("Tahoma", 8F); this.dateNavigator1.AppearanceCalendar.Options.UseFont = true; this.dateNavigator1.Dock = System.Windows.Forms.DockStyle.Fill; this.dateNavigator1.Location = new System.Drawing.Point(0, 0); this.dateNavigator1.Name = "dateNavigator1"; this.dateNavigator1.SchedulerControl = this.schedulerControl1; this.dateNavigator1.ShowWeekNumbers = false; this.dateNavigator1.Size = new System.Drawing.Size(142, 296); this.dateNavigator1.TabIndex = 1; this.dateNavigator1.DoubleClick += new System.EventHandler(this.dateNavigator1_EditDateModified); // // schedulerControl1 // this.schedulerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedulerControl1.Location = new System.Drawing.Point(0, 0); this.schedulerControl1.Name = "schedulerControl1"; this.schedulerControl1.OptionsCustomization.AllowAppointmentConflicts = DevExpress.XtraScheduler.AppointmentConflictsMode.Forbidden; this.schedulerControl1.OptionsCustomization.AllowAppointmentCopy = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDelete = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDrag = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentDragBetweenResources = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsCustomization.AllowAppointmentMultiSelect = false; this.schedulerControl1.OptionsCustomization.AllowInplaceEditor = DevExpress.XtraScheduler.UsedAppointmentType.None; this.schedulerControl1.OptionsView.ToolTipVisibility = DevExpress.XtraScheduler.ToolTipVisibility.Always; this.schedulerControl1.Size = new System.Drawing.Size(684, 372); this.schedulerControl1.Start = new System.DateTime(2006, 4, 22, 0, 0, 0, 0); this.schedulerControl1.Storage = this.schedulerStorage1; this.schedulerControl1.TabIndex = 0; this.schedulerControl1.Text = "schedulerControl1"; this.schedulerControl1.ToolTipController = this.toolTipController1; this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Font = new System.Drawing.Font("Tahoma", 10F); this.schedulerControl1.Views.DayView.Appearance.HeaderCaption.Options.UseFont = true; this.schedulerControl1.Views.DayView.TimeRulers.AddRange(new DevExpress.XtraScheduler.TimeRuler[] { timeRuler1 }); this.schedulerControl1.Views.DayView.TimeScale = System.TimeSpan.Parse("00:15:00"); this.schedulerControl1.Views.DayView.VisibleTime.Duration = System.TimeSpan.Parse("1.00:00:00"); this.schedulerControl1.Views.DayView.WorkTime.Duration = System.TimeSpan.Parse("09:00:00"); this.schedulerControl1.Views.WorkWeekView.TimeRulers.AddRange(new DevExpress.XtraScheduler.TimeRuler[] { timeRuler2 }); this.schedulerControl1.Views.WorkWeekView.VisibleTime.Duration = System.TimeSpan.Parse("1.00:00:00"); this.schedulerControl1.Views.WorkWeekView.WorkTime.Duration = System.TimeSpan.Parse("09:00:00"); this.schedulerControl1.SelectionChanged += new System.EventHandler(this.schedulerControl1_SelectionChanged); this.schedulerControl1.CustomDrawAppointmentBackground += new DevExpress.XtraScheduler.CustomDrawObjectEventHandler(this.schedulerControl1_CustomDrawAppointmentBackground); this.schedulerControl1.CustomDrawResourceHeader += new DevExpress.XtraScheduler.CustomDrawObjectEventHandler(this.schedulerControl1_CustomDrawResourceHeader); this.schedulerControl1.EditAppointmentFormShowing += new DevExpress.XtraScheduler.AppointmentFormEventHandler(this.schedulerControl1_EditAppointmentFormShowing_1); // // toolTipController1 // this.toolTipController1.ShowShadow = false; this.toolTipController1.BeforeShow += new DevExpress.Utils.ToolTipControllerBeforeShowEventHandler(this.toolTipController1_BeforeShow); // // splitterControl1 // this.splitterControl1.Dock = System.Windows.Forms.DockStyle.Right; this.splitterControl1.Location = new System.Drawing.Point(684, 0); this.splitterControl1.Name = "splitterControl1"; this.splitterControl1.Size = new System.Drawing.Size(4, 408); this.splitterControl1.TabIndex = 2; this.splitterControl1.TabStop = false; // // pnlCtrlScheduler // this.pnlCtrlScheduler.AutoScroll = true; this.pnlCtrlScheduler.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlScheduler.Controls.Add(this.schedulerControl1); this.pnlCtrlScheduler.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlCtrlScheduler.Location = new System.Drawing.Point(0, 36); this.pnlCtrlScheduler.Name = "pnlCtrlScheduler"; this.pnlCtrlScheduler.Size = new System.Drawing.Size(684, 372); this.pnlCtrlScheduler.TabIndex = 4; this.pnlCtrlScheduler.Text = "panelControl2"; // // pnlCtrlTop // this.pnlCtrlTop.Appearance.BackColor = System.Drawing.Color.White; this.pnlCtrlTop.Appearance.ForeColor = System.Drawing.Color.Transparent; this.pnlCtrlTop.Appearance.Options.UseBackColor = true; this.pnlCtrlTop.Appearance.Options.UseForeColor = true; this.pnlCtrlTop.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pnlCtrlTop.Controls.Add(this.sBtnRefresh); this.pnlCtrlTop.Controls.Add(this.sBtnWaitingList); this.pnlCtrlTop.Controls.Add(this.sBtnSubtract); this.pnlCtrlTop.Controls.Add(this.sBtnForfeit); this.pnlCtrlTop.Controls.Add(this.SimpleButton61); this.pnlCtrlTop.Controls.Add(this.SimpleButton62); this.pnlCtrlTop.Controls.Add(this.SimpleButton63); this.pnlCtrlTop.Controls.Add(this.sBtnAdd); this.pnlCtrlTop.Dock = System.Windows.Forms.DockStyle.Top; this.pnlCtrlTop.Location = new System.Drawing.Point(0, 0); this.pnlCtrlTop.Name = "pnlCtrlTop"; this.pnlCtrlTop.Size = new System.Drawing.Size(684, 36); this.pnlCtrlTop.TabIndex = 5; this.pnlCtrlTop.Text = "panelControl2"; // // sBtnRefresh // this.sBtnRefresh.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnRefresh.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnRefresh.Appearance.Options.UseFont = true; this.sBtnRefresh.Location = new System.Drawing.Point(538, 8); this.sBtnRefresh.Name = "sBtnRefresh"; this.sBtnRefresh.Size = new System.Drawing.Size(82, 24); this.sBtnRefresh.TabIndex = 57; this.sBtnRefresh.Text = "Refresh"; this.sBtnRefresh.Click += new System.EventHandler(this.sBtnRefresh_Click); // // sBtnWaitingList // this.sBtnWaitingList.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnWaitingList.Appearance.Options.UseFont = true; this.sBtnWaitingList.Location = new System.Drawing.Point(276, 8); this.sBtnWaitingList.Name = "sBtnWaitingList"; this.sBtnWaitingList.Size = new System.Drawing.Size(82, 20); this.sBtnWaitingList.TabIndex = 56; this.sBtnWaitingList.Text = "Waiting List"; this.sBtnWaitingList.Click += new System.EventHandler(this.sBtnWaitingList_Click); // // sBtnSubtract // this.sBtnSubtract.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnSubtract.Appearance.Font = new System.Drawing.Font("Verdana", 8F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0))); this.sBtnSubtract.Appearance.Options.UseFont = true; this.sBtnSubtract.Appearance.Options.UseTextOptions = true; this.sBtnSubtract.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.sBtnSubtract.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.sBtnSubtract.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.sBtnSubtract.ImageIndex = 1; this.sBtnSubtract.Location = new System.Drawing.Point(654, 8); this.sBtnSubtract.Name = "sBtnSubtract"; this.sBtnSubtract.Size = new System.Drawing.Size(28, 25); this.sBtnSubtract.TabIndex = 54; this.sBtnSubtract.Text = ">>"; this.sBtnSubtract.Click += new System.EventHandler(this.sBtnSubtract_Click); // // sBtnForfeit // this.sBtnForfeit.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.sBtnForfeit.Appearance.Options.UseFont = true; this.sBtnForfeit.Location = new System.Drawing.Point(126, 8); this.sBtnForfeit.Name = "sBtnForfeit"; this.sBtnForfeit.Size = new System.Drawing.Size(54, 20); this.sBtnForfeit.TabIndex = 15; this.sBtnForfeit.Text = "Forfeit"; this.sBtnForfeit.Click += new System.EventHandler(this.sBtnForfeit_Click); // // SimpleButton61 // this.SimpleButton61.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton61.Appearance.Options.UseFont = true; this.SimpleButton61.Location = new System.Drawing.Point(184, 8); this.SimpleButton61.Name = "SimpleButton61"; this.SimpleButton61.Size = new System.Drawing.Size(88, 20); this.SimpleButton61.TabIndex = 14; this.SimpleButton61.Text = "Mark Service"; this.SimpleButton61.Click += new System.EventHandler(this.SimpleButton61_Click); // // SimpleButton62 // this.SimpleButton62.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton62.Appearance.Options.UseFont = true; this.SimpleButton62.Location = new System.Drawing.Point(64, 8); this.SimpleButton62.Name = "SimpleButton62"; this.SimpleButton62.Size = new System.Drawing.Size(58, 20); this.SimpleButton62.TabIndex = 13; this.SimpleButton62.Text = "Delete"; this.SimpleButton62.Click += new System.EventHandler(this.SimpleButton62_Click); // // SimpleButton63 // this.SimpleButton63.Appearance.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold); this.SimpleButton63.Appearance.Options.UseFont = true; this.SimpleButton63.Location = new System.Drawing.Point(10, 8); this.SimpleButton63.Name = "SimpleButton63"; this.SimpleButton63.Size = new System.Drawing.Size(50, 20); this.SimpleButton63.TabIndex = 12; this.SimpleButton63.Text = "New"; this.SimpleButton63.Click += new System.EventHandler(this.SimpleButton63_Click); // // sBtnAdd // this.sBtnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.sBtnAdd.Appearance.Font = new System.Drawing.Font("Verdana", 8F); this.sBtnAdd.Appearance.Options.UseFont = true; this.sBtnAdd.Appearance.Options.UseTextOptions = true; this.sBtnAdd.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.sBtnAdd.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top; this.sBtnAdd.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap; this.sBtnAdd.ImageIndex = 0; this.sBtnAdd.Location = new System.Drawing.Point(624, 8); this.sBtnAdd.Name = "sBtnAdd"; this.sBtnAdd.Size = new System.Drawing.Size(28, 25); this.sBtnAdd.TabIndex = 55; this.sBtnAdd.Text = "<<"; this.sBtnAdd.Click += new System.EventHandler(this.sBtnAdd_Click); // // imageList1 // this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit; this.imageList1.ImageSize = new System.Drawing.Size(16, 16); this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream"))); this.imageList1.TransparentColor = System.Drawing.Color.Magenta; // // resourcesCheckedListBoxControl1 // this.resourcesCheckedListBoxControl1.CheckOnClick = true; this.resourcesCheckedListBoxControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.resourcesCheckedListBoxControl1.Location = new System.Drawing.Point(0, 0); this.resourcesCheckedListBoxControl1.Name = "resourcesCheckedListBoxControl1"; this.resourcesCheckedListBoxControl1.SchedulerControl = this.schedulerControl1; this.resourcesCheckedListBoxControl1.Size = new System.Drawing.Size(142, 92); this.resourcesCheckedListBoxControl1.TabIndex = 6; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Right; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(688, 0); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.resourcesCheckedListBoxControl1); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.Controls.Add(this.dateNavigator1); this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(150, 408); this.splitContainerControl1.TabIndex = 57; this.splitContainerControl1.Text = "splitContainerControl1"; // // SpaBookingControl // this.Controls.Add(this.pnlCtrlScheduler); this.Controls.Add(this.pnlCtrlTop); this.Controls.Add(this.splitterControl1); this.Controls.Add(this.splitContainerControl1); this.Name = "SpaBookingControl"; this.Size = new System.Drawing.Size(838, 408); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateNavigator1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlScheduler)).EndInit(); this.pnlCtrlScheduler.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlCtrlTop)).EndInit(); this.pnlCtrlTop.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.resourcesCheckedListBoxControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraScheduler.TimeRuler timeRuler1 = new DevExpress.XtraScheduler.TimeRuler(); DevExpress.XtraScheduler.TimeRuler timeRuler2 = new DevExpress.XtraScheduler.TimeRuler(); this.schedulerControl1 = new DevExpress.XtraScheduler.SchedulerControl(); this.schedulerStorage1 = new DevExpress.XtraScheduler.SchedulerStorage(this.components); this.carSchedulingBindingSource = new System.Windows.Forms.BindingSource(this.components); this.carsDBDataSet = new SchedulerGridSync.CarsDBDataSet(); this.carSchedulingTableAdapter = new SchedulerGridSync.CarsDBDataSetTableAdapters.CarSchedulingTableAdapter(); this.repImgPriority = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.repSpinDuration = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repImgSeverity = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.splitterControl2 = new DevExpress.XtraEditors.SplitterControl(); this.repositoryItemImageComboBox1 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repositoryItemImageComboBox2 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.repositoryItemImageComboBox3 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.repositoryItemSpinEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.repositoryItemImageComboBox4 = new DevExpress.XtraEditors.Repository.RepositoryItemImageComboBox(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colStatus = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubject = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDescription = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLabel = new DevExpress.XtraGrid.Columns.GridColumn(); this.colStartTime = new DevExpress.XtraGrid.Columns.GridColumn(); this.colEndTime = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLocation = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAllDay = new DevExpress.XtraGrid.Columns.GridColumn(); this.panel1 = new System.Windows.Forms.Panel(); this.label1 = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.carSchedulingBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.carsDBDataSet)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repImgPriority)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repSpinDuration)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repImgSeverity)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // schedulerControl1 // this.schedulerControl1.ActiveViewType = DevExpress.XtraScheduler.SchedulerViewType.Month; this.schedulerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.schedulerControl1.Location = new System.Drawing.Point(0, 24); this.schedulerControl1.Name = "schedulerControl1"; this.schedulerControl1.Size = new System.Drawing.Size(808, 298); this.schedulerControl1.Start = new System.DateTime(2005, 7, 4, 0, 0, 0, 0); this.schedulerControl1.Storage = this.schedulerStorage1; this.schedulerControl1.TabIndex = 0; this.schedulerControl1.Text = "schedulerControl1"; this.schedulerControl1.Views.DayView.NavigationButtonVisibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl1.Views.DayView.TimeRulers.Add(timeRuler1); this.schedulerControl1.Views.MonthView.NavigationButtonVisibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl1.Views.MonthView.WeekCount = 3; this.schedulerControl1.Views.TimelineView.NavigationButtonVisibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl1.Views.WeekView.NavigationButtonVisibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl1.Views.WorkWeekView.NavigationButtonVisibility = DevExpress.XtraScheduler.NavigationButtonVisibility.Never; this.schedulerControl1.Views.WorkWeekView.TimeRulers.Add(timeRuler2); // // schedulerStorage1 // this.schedulerStorage1.Appointments.DataSource = this.carSchedulingBindingSource; this.schedulerStorage1.Appointments.Mappings.AllDay = "AllDay"; this.schedulerStorage1.Appointments.Mappings.Description = "Description"; this.schedulerStorage1.Appointments.Mappings.End = "EndTime"; this.schedulerStorage1.Appointments.Mappings.Label = "Label"; this.schedulerStorage1.Appointments.Mappings.Location = "Location"; this.schedulerStorage1.Appointments.Mappings.Start = "StartTime"; this.schedulerStorage1.Appointments.Mappings.Status = "Status"; this.schedulerStorage1.Appointments.Mappings.Subject = "Subject"; this.schedulerStorage1.FilterAppointment += new DevExpress.XtraScheduler.PersistentObjectCancelEventHandler(this.schedulerStorage1_FilterAppointment); this.schedulerStorage1.AppointmentCollectionCleared += new System.EventHandler(this.schedulerStorage1_AppointmentCollectionCleared); this.schedulerStorage1.AppointmentCollectionAutoReloading += new DevExpress.XtraScheduler.CancelListChangedEventHandler(this.schedulerStorage1_AppointmentCollectionAutoReloading); // // carSchedulingBindingSource // this.carSchedulingBindingSource.DataMember = "CarScheduling"; this.carSchedulingBindingSource.DataSource = this.carsDBDataSet; // // carsDBDataSet // this.carsDBDataSet.DataSetName = "CarsDBDataSet"; this.carsDBDataSet.Locale = new System.Globalization.CultureInfo(""); this.carsDBDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // carSchedulingTableAdapter // this.carSchedulingTableAdapter.ClearBeforeFill = true; // // repImgPriority // this.repImgPriority.AutoHeight = false; this.repImgPriority.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repImgPriority.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Low", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Normal", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("High", 2, -1) }); this.repImgPriority.Name = "repImgPriority"; // // repSpinDuration // this.repSpinDuration.AutoHeight = false; this.repSpinDuration.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repSpinDuration.IsFloatValue = false; this.repSpinDuration.Mask.EditMask = "N00"; this.repSpinDuration.MaxValue = new decimal(new int[] { 100, 0, 0, 0 }); this.repSpinDuration.MinValue = new decimal(new int[] { 1, 0, 0, 0 }); this.repSpinDuration.Name = "repSpinDuration"; // // repImgSeverity // this.repImgSeverity.AutoHeight = false; this.repImgSeverity.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repImgSeverity.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Minor", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Moderate", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Severe", 2, -1) }); this.repImgSeverity.Name = "repImgSeverity"; // // splitterControl2 // this.splitterControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.splitterControl2.Location = new System.Drawing.Point(0, 322); this.splitterControl2.Name = "splitterControl2"; this.splitterControl2.Size = new System.Drawing.Size(808, 6); this.splitterControl2.TabIndex = 8; this.splitterControl2.TabStop = false; // // repositoryItemImageComboBox1 // this.repositoryItemImageComboBox1.AutoHeight = false; this.repositoryItemImageComboBox1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageComboBox1.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Low", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Normal", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("High", 2, -1) }); this.repositoryItemImageComboBox1.Name = "repositoryItemImageComboBox1"; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repositoryItemSpinEdit1.IsFloatValue = false; this.repositoryItemSpinEdit1.Mask.EditMask = "N00"; this.repositoryItemSpinEdit1.MaxValue = new decimal(new int[] { 100, 0, 0, 0 }); this.repositoryItemSpinEdit1.MinValue = new decimal(new int[] { 1, 0, 0, 0 }); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // repositoryItemImageComboBox2 // this.repositoryItemImageComboBox2.AutoHeight = false; this.repositoryItemImageComboBox2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageComboBox2.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Minor", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Moderate", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Severe", 2, -1) }); this.repositoryItemImageComboBox2.Name = "repositoryItemImageComboBox2"; // // repositoryItemImageComboBox3 // this.repositoryItemImageComboBox3.AutoHeight = false; this.repositoryItemImageComboBox3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageComboBox3.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Low", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Normal", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("High", 2, -1) }); this.repositoryItemImageComboBox3.Name = "repositoryItemImageComboBox3"; // // repositoryItemSpinEdit2 // this.repositoryItemSpinEdit2.AutoHeight = false; this.repositoryItemSpinEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.repositoryItemSpinEdit2.IsFloatValue = false; this.repositoryItemSpinEdit2.Mask.EditMask = "N00"; this.repositoryItemSpinEdit2.MaxValue = new decimal(new int[] { 100, 0, 0, 0 }); this.repositoryItemSpinEdit2.MinValue = new decimal(new int[] { 1, 0, 0, 0 }); this.repositoryItemSpinEdit2.Name = "repositoryItemSpinEdit2"; // // repositoryItemImageComboBox4 // this.repositoryItemImageComboBox4.AutoHeight = false; this.repositoryItemImageComboBox4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemImageComboBox4.Items.AddRange(new DevExpress.XtraEditors.Controls.ImageComboBoxItem[] { new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Minor", 0, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Moderate", 1, -1), new DevExpress.XtraEditors.Controls.ImageComboBoxItem("Severe", 2, -1) }); this.repositoryItemImageComboBox4.Name = "repositoryItemImageComboBox4"; // // gridControl1 // this.gridControl1.DataSource = this.carSchedulingBindingSource; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.gridControl1.EmbeddedNavigator.Name = ""; this.gridControl1.Location = new System.Drawing.Point(0, 328); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(808, 233); this.gridControl1.TabIndex = 9; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colStatus, this.colSubject, this.colDescription, this.colLabel, this.colStartTime, this.colEndTime, this.colLocation, this.colAllDay }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsSelection.MultiSelect = true; // // colStatus // this.colStatus.Caption = "Status"; this.colStatus.FieldName = "Status"; this.colStatus.Name = "colStatus"; this.colStatus.Visible = true; this.colStatus.VisibleIndex = 0; // // colSubject // this.colSubject.Caption = "Subject"; this.colSubject.FieldName = "Subject"; this.colSubject.Name = "colSubject"; this.colSubject.Visible = true; this.colSubject.VisibleIndex = 1; // // colDescription // this.colDescription.Caption = "Description"; this.colDescription.FieldName = "Description"; this.colDescription.Name = "colDescription"; this.colDescription.Visible = true; this.colDescription.VisibleIndex = 2; // // colLabel // this.colLabel.Caption = "Label"; this.colLabel.FieldName = "Label"; this.colLabel.Name = "colLabel"; this.colLabel.Visible = true; this.colLabel.VisibleIndex = 3; // // colStartTime // this.colStartTime.Caption = "StartTime"; this.colStartTime.FieldName = "StartTime"; this.colStartTime.Name = "colStartTime"; this.colStartTime.Visible = true; this.colStartTime.VisibleIndex = 4; // // colEndTime // this.colEndTime.Caption = "EndTime"; this.colEndTime.FieldName = "EndTime"; this.colEndTime.Name = "colEndTime"; this.colEndTime.Visible = true; this.colEndTime.VisibleIndex = 5; // // colLocation // this.colLocation.Caption = "Location"; this.colLocation.FieldName = "Location"; this.colLocation.Name = "colLocation"; this.colLocation.Visible = true; this.colLocation.VisibleIndex = 6; // // colAllDay // this.colAllDay.Caption = "AllDay"; this.colAllDay.FieldName = "AllDay"; this.colAllDay.Name = "colAllDay"; this.colAllDay.Visible = true; this.colAllDay.VisibleIndex = 7; // // panel1 // this.panel1.Controls.Add(this.label1); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(808, 24); this.panel1.TabIndex = 10; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(4, 4); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(642, 13); this.label1.TabIndex = 0; this.label1.Text = "Click to select grid rows and scheduler appointments. Use CTRL key to perform mul" + "ti-select. Use TAB to switch between appointments."; // // Form1 // this.AutoScaleBaseSize = new System.Drawing.Size(5, 13); this.ClientSize = new System.Drawing.Size(808, 561); this.Controls.Add(this.schedulerControl1); this.Controls.Add(this.panel1); this.Controls.Add(this.splitterControl2); this.Controls.Add(this.gridControl1); this.Name = "Form1"; this.Text = "SchedulerGridSync"; this.Load += new System.EventHandler(this.Form1_Load); ((System.ComponentModel.ISupportInitialize)(this.schedulerControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schedulerStorage1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.carSchedulingBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.carsDBDataSet)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repImgPriority)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repSpinDuration)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repImgSeverity)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemImageComboBox4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.ResumeLayout(false); }