private void Create(Microsoft.Office.Interop.Outlook.MailItem mailItem) { String messageClass; DevExpress.XtraRichEdit.RichEditControl rtfControl = new DevExpress.XtraRichEdit.RichEditControl(); TIS.DL.Internal.Task.TaskObject taskObj; Microsoft.Office.Interop.Outlook.Inspector inspector; try { messageClass = mailItem.MessageClass; if (messageClass == "IPM.Note") { taskObj = new TIS.DL.Internal.Task.TaskObject(); ProcessEmailAddresses(taskObj, mailItem); //Get Reporter Microsoft.Office.Interop.Outlook.NameSpace outNamespace; outNamespace = Application.GetNamespace("MAPI"); Microsoft.Office.Interop.Outlook.Recipient reporter = outNamespace.CurrentUser; ProcessEmailAddressReporter(taskObj, reporter.Address); taskObj.CreationDate = PROF_IT.Common.Convert.DateFunctions.DateToStrDate(System.DateTime.Now); //RTF BODY inspector = mailItem.GetInspector; inspector.Activate(); Microsoft.Office.Interop.Word.Document document = (Microsoft.Office.Interop.Word.Document)inspector.WordEditor; document.Select(); document.Application.Selection.Copy(); rtfControl.Paste(); taskObj.Description = rtfControl.RtfText; //Subject taskObj.Tag = mailItem.Subject; switch (mailItem.Importance) { case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceHigh: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.High; break; case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceLow: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.Low; break; case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceNormal: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.Medium; break; } taskObj.Effort = TIS.Framework.Common.Enumeration.Task.Effort.Low; taskObj.Status = TIS.Framework.Common.Enumeration.Task.Status.Open; Task task = new Task(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, taskObj); task.ShowDialog(); //Close document, inspector if (inspector != null) inspector.Close(Microsoft.Office.Interop.Outlook.OlInspectorClose.olDiscard); document = null; inspector = null; mailItem = null; } else { MessageBox.Show("Kan geen task creëren omdat het geselecteerde item geen e-mail is!"); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } finally { rtfControl.Dispose(); } }
private void Create(Microsoft.Office.Interop.Outlook.MailItem mailItem) { String messageClass; DevExpress.XtraRichEdit.RichEditControl rtfControl = new DevExpress.XtraRichEdit.RichEditControl(); TIS.DL.Internal.Task.TaskObject taskObj; Microsoft.Office.Interop.Outlook.Inspector inspector; try { messageClass = mailItem.MessageClass; if (messageClass == "IPM.Note") { taskObj = new TIS.DL.Internal.Task.TaskObject(); ProcessEmailAddresses(taskObj, mailItem); //Get Reporter Microsoft.Office.Interop.Outlook.NameSpace outNamespace; outNamespace = Application.GetNamespace("MAPI"); Microsoft.Office.Interop.Outlook.Recipient reporter = outNamespace.CurrentUser; ProcessEmailAddressReporter(taskObj, reporter.Address); taskObj.CreationDate = PROF_IT.Common.Convert.DateFunctions.DateToStrDate(System.DateTime.Now); //RTF BODY inspector = mailItem.GetInspector; inspector.Activate(); Microsoft.Office.Interop.Word.Document document = (Microsoft.Office.Interop.Word.Document)inspector.WordEditor; document.Select(); document.Application.Selection.Copy(); rtfControl.Paste(); taskObj.Description = rtfControl.RtfText; //Subject taskObj.Tag = mailItem.Subject; switch (mailItem.Importance) { case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceHigh: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.High; break; case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceLow: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.Low; break; case Microsoft.Office.Interop.Outlook.OlImportance.olImportanceNormal: taskObj.Priority = TIS.Framework.Common.Enumeration.Task.Priority.Medium; break; } taskObj.Effort = TIS.Framework.Common.Enumeration.Task.Effort.Low; taskObj.Status = TIS.Framework.Common.Enumeration.Task.Status.Open; Task task = new Task(PROF_IT.Common.Enumerations.TypeForm.PropertyForm, taskObj); task.ShowDialog(); //Close document, inspector if (inspector != null) { inspector.Close(Microsoft.Office.Interop.Outlook.OlInspectorClose.olDiscard); } document = null; inspector = null; mailItem = null; } else { MessageBox.Show("Kan geen task creëren omdat het geselecteerde item geen e-mail is!"); } } catch (System.Exception exception1) { System.Exception innerException = exception1; throw new System.Exception(MethodBase.GetCurrentMethod().Name, innerException); } finally { rtfControl.Dispose(); } }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraRichEdit.RichEditControl richEditControl_Notes; System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AddEditJobView)); this.jobBindingSource = new System.Windows.Forms.BindingSource(); this.barManager = new DevExpress.XtraBars.BarManager(); this.bar2 = new DevExpress.XtraBars.Bar(); this.barButtonItem_Save = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_AddNote = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Cancel = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Pay = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Collected = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Fixed = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem_Revert = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.textEdit_CreatedBy = new DevExpress.XtraEditors.TextEdit(); this.tabControl_Notes = new System.Windows.Forms.TabControl(); this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage_Payments = new System.Windows.Forms.TabPage(); this.gridControl_JobPayments = new DevExpress.XtraGrid.GridControl(); this.transactionBindingSource = new System.Windows.Forms.BindingSource(); this.gridView_JobPayments = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colAmount = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNotes = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDateRecorded = new DevExpress.XtraGrid.Columns.GridColumn(); this.colTransactionType = new DevExpress.XtraGrid.Columns.GridColumn(); this.dateEdit_ExpEndDate = new DevExpress.XtraEditors.DateEdit(); this.dateEdit_DateCreated = new DevExpress.XtraEditors.DateEdit(); this.memoEdit_FaultDescription = new DevExpress.XtraEditors.MemoEdit(); this.textEdit_CustomerName = new DevExpress.XtraEditors.TextEdit(); this.textEdit_ItemDescription = new DevExpress.XtraEditors.MemoEdit(); this.calcEdit_PhoneNumber = new DevExpress.XtraEditors.CalcEdit(); this.textEdit_JobStatus = new DevExpress.XtraEditors.TextEdit(); this.comboEdit_ItemType = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboEdit_FaultType = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.splitterItem1 = new DevExpress.XtraLayout.SplitterItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.lookupDataBindingSource = new System.Windows.Forms.BindingSource(); richEditControl_Notes = new DevExpress.XtraRichEdit.RichEditControl(); ((System.ComponentModel.ISupportInitialize)(this.jobBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_CreatedBy.Properties)).BeginInit(); this.tabControl_Notes.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage_Payments.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_JobPayments)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.transactionBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView_JobPayments)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ExpEndDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ExpEndDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_DateCreated.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_DateCreated.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEdit_FaultDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_CustomerName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_ItemDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.calcEdit_PhoneNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_JobStatus.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboEdit_ItemType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboEdit_FaultType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookupDataBindingSource)).BeginInit(); this.SuspendLayout(); // // richEditControl_Notes // richEditControl_Notes.ActiveViewType = DevExpress.XtraRichEdit.RichEditViewType.Simple; richEditControl_Notes.DataBindings.Add(new System.Windows.Forms.Binding("HtmlText", this.jobBindingSource, "Notes", true)); richEditControl_Notes.Dock = System.Windows.Forms.DockStyle.Fill; richEditControl_Notes.Location = new System.Drawing.Point(3, 3); richEditControl_Notes.MenuManager = this.barManager; richEditControl_Notes.Name = "richEditControl_Notes"; richEditControl_Notes.Options.Fields.UseCurrentCultureDateTimeFormat = false; richEditControl_Notes.Options.HorizontalRuler.ShowLeftIndent = false; richEditControl_Notes.Options.HorizontalRuler.ShowRightIndent = false; richEditControl_Notes.Options.HorizontalRuler.ShowTabs = false; richEditControl_Notes.Options.HorizontalRuler.Visibility = DevExpress.XtraRichEdit.RichEditRulerVisibility.Hidden; richEditControl_Notes.Options.HorizontalScrollbar.Visibility = DevExpress.XtraRichEdit.RichEditScrollbarVisibility.Hidden; richEditControl_Notes.Options.MailMerge.KeepLastParagraph = false; richEditControl_Notes.Options.VerticalRuler.Visibility = DevExpress.XtraRichEdit.RichEditRulerVisibility.Hidden; richEditControl_Notes.ReadOnly = true; richEditControl_Notes.ShowCaretInReadOnly = false; richEditControl_Notes.Size = new System.Drawing.Size(708, 260); richEditControl_Notes.TabIndex = 0; richEditControl_Notes.Text = "Notes..."; // // jobBindingSource // this.jobBindingSource.DataSource = typeof(Buzzle.Data.DataModel.Job); // // barManager // this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar2}); this.barManager.DockControls.Add(this.barDockControlTop); this.barManager.DockControls.Add(this.barDockControlBottom); this.barManager.DockControls.Add(this.barDockControlLeft); this.barManager.DockControls.Add(this.barDockControlRight); this.barManager.Form = this; this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem_Save, this.barButtonItem_AddNote, this.barButtonItem_Cancel, this.barButtonItem_Pay, this.barButtonItem_Collected, this.barButtonItem_Fixed, this.barButtonItem_Revert}); this.barManager.MainMenu = this.bar2; this.barManager.MaxItemId = 7; // // bar2 // this.bar2.BarName = "Main menu"; this.bar2.DockCol = 0; this.bar2.DockRow = 0; this.bar2.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.bar2.FloatLocation = new System.Drawing.Point(49, 170); this.bar2.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Save, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_AddNote, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Cancel, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Pay, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Collected, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Fixed, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItem_Revert, "", true, true, true, 0, null, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph)}); this.bar2.OptionsBar.MultiLine = true; this.bar2.OptionsBar.UseWholeRow = true; this.bar2.Text = "Main menu"; // // barButtonItem_Save // this.barButtonItem_Save.Caption = "Save Job"; this.barButtonItem_Save.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Save.Glyph"))); this.barButtonItem_Save.Id = 0; this.barButtonItem_Save.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Save.LargeGlyph"))); this.barButtonItem_Save.Name = "barButtonItem_Save"; this.barButtonItem_Save.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Save_ItemClick); // // barButtonItem_AddNote // this.barButtonItem_AddNote.Caption = "Add Note..."; this.barButtonItem_AddNote.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_AddNote.Glyph"))); this.barButtonItem_AddNote.Id = 1; this.barButtonItem_AddNote.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_AddNote.LargeGlyph"))); this.barButtonItem_AddNote.Name = "barButtonItem_AddNote"; this.barButtonItem_AddNote.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_AddNote_ItemClick); // // barButtonItem_Cancel // this.barButtonItem_Cancel.Caption = "Cancel"; this.barButtonItem_Cancel.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Cancel.Glyph"))); this.barButtonItem_Cancel.Id = 2; this.barButtonItem_Cancel.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Cancel.LargeGlyph"))); this.barButtonItem_Cancel.Name = "barButtonItem_Cancel"; this.barButtonItem_Cancel.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Cancel_ItemClick); // // barButtonItem_Pay // this.barButtonItem_Pay.Caption = "Record Payment"; this.barButtonItem_Pay.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Pay.Glyph"))); this.barButtonItem_Pay.Id = 3; this.barButtonItem_Pay.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Pay.LargeGlyph"))); this.barButtonItem_Pay.Name = "barButtonItem_Pay"; this.barButtonItem_Pay.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Pay_ItemClick); // // barButtonItem_Collected // this.barButtonItem_Collected.Caption = "Mark as Collected"; this.barButtonItem_Collected.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Collected.Glyph"))); this.barButtonItem_Collected.Id = 4; this.barButtonItem_Collected.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Collected.LargeGlyph"))); this.barButtonItem_Collected.Name = "barButtonItem_Collected"; this.barButtonItem_Collected.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Collected_ItemClick); // // barButtonItem_Fixed // this.barButtonItem_Fixed.Caption = "Mark as Fixed"; this.barButtonItem_Fixed.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Fixed.Glyph"))); this.barButtonItem_Fixed.Id = 5; this.barButtonItem_Fixed.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Fixed.LargeGlyph"))); this.barButtonItem_Fixed.Name = "barButtonItem_Fixed"; this.barButtonItem_Fixed.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Fixed_ItemClick); // // barButtonItem_Revert // this.barButtonItem_Revert.Caption = "Revert to Pending"; this.barButtonItem_Revert.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Revert.Glyph"))); this.barButtonItem_Revert.Id = 6; this.barButtonItem_Revert.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem_Revert.LargeGlyph"))); this.barButtonItem_Revert.Name = "barButtonItem_Revert"; this.barButtonItem_Revert.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem_Revert_ItemClick); // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(746, 55); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 576); this.barDockControlBottom.Size = new System.Drawing.Size(746, 0); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 55); this.barDockControlLeft.Size = new System.Drawing.Size(0, 521); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(746, 55); this.barDockControlRight.Size = new System.Drawing.Size(0, 521); // // layoutControl1 // this.layoutControl1.Controls.Add(this.textEdit_CreatedBy); this.layoutControl1.Controls.Add(this.tabControl_Notes); this.layoutControl1.Controls.Add(this.dateEdit_ExpEndDate); this.layoutControl1.Controls.Add(this.dateEdit_DateCreated); this.layoutControl1.Controls.Add(this.memoEdit_FaultDescription); this.layoutControl1.Controls.Add(this.textEdit_CustomerName); this.layoutControl1.Controls.Add(this.textEdit_ItemDescription); this.layoutControl1.Controls.Add(this.calcEdit_PhoneNumber); this.layoutControl1.Controls.Add(this.textEdit_JobStatus); this.layoutControl1.Controls.Add(this.comboEdit_ItemType); this.layoutControl1.Controls.Add(this.comboEdit_FaultType); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 55); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(468, 274, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(746, 521); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // textEdit_CreatedBy // this.textEdit_CreatedBy.EditValue = "Unknown user"; this.textEdit_CreatedBy.Location = new System.Drawing.Point(111, 191); this.textEdit_CreatedBy.MenuManager = this.barManager; this.textEdit_CreatedBy.Name = "textEdit_CreatedBy"; this.textEdit_CreatedBy.Properties.Appearance.BackColor = System.Drawing.Color.DodgerBlue; this.textEdit_CreatedBy.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F, System.Drawing.FontStyle.Bold); this.textEdit_CreatedBy.Properties.Appearance.ForeColor = System.Drawing.Color.White; this.textEdit_CreatedBy.Properties.Appearance.Options.UseBackColor = true; this.textEdit_CreatedBy.Properties.Appearance.Options.UseFont = true; this.textEdit_CreatedBy.Properties.Appearance.Options.UseForeColor = true; this.textEdit_CreatedBy.Properties.ReadOnly = true; this.textEdit_CreatedBy.Size = new System.Drawing.Size(623, 22); this.textEdit_CreatedBy.StyleController = this.layoutControl1; this.textEdit_CreatedBy.TabIndex = 15; // // tabControl_Notes // this.tabControl_Notes.Controls.Add(this.tabPage1); this.tabControl_Notes.Controls.Add(this.tabPage_Payments); this.tabControl_Notes.Location = new System.Drawing.Point(12, 217); this.tabControl_Notes.Name = "tabControl_Notes"; this.tabControl_Notes.SelectedIndex = 0; this.tabControl_Notes.Size = new System.Drawing.Size(722, 292); this.tabControl_Notes.TabIndex = 14; // // tabPage1 // this.tabPage1.Controls.Add(richEditControl_Notes); this.tabPage1.Location = new System.Drawing.Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new System.Windows.Forms.Padding(3); this.tabPage1.Size = new System.Drawing.Size(714, 266); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Notes"; this.tabPage1.UseVisualStyleBackColor = true; // // tabPage_Payments // this.tabPage_Payments.Controls.Add(this.gridControl_JobPayments); this.tabPage_Payments.Location = new System.Drawing.Point(4, 22); this.tabPage_Payments.Name = "tabPage_Payments"; this.tabPage_Payments.Padding = new System.Windows.Forms.Padding(3); this.tabPage_Payments.Size = new System.Drawing.Size(714, 266); this.tabPage_Payments.TabIndex = 1; this.tabPage_Payments.Text = "Job Payment Info"; this.tabPage_Payments.UseVisualStyleBackColor = true; // // gridControl_JobPayments // this.gridControl_JobPayments.DataSource = this.transactionBindingSource; this.gridControl_JobPayments.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl_JobPayments.Location = new System.Drawing.Point(3, 3); this.gridControl_JobPayments.MainView = this.gridView_JobPayments; this.gridControl_JobPayments.MenuManager = this.barManager; this.gridControl_JobPayments.Name = "gridControl_JobPayments"; this.gridControl_JobPayments.Size = new System.Drawing.Size(708, 260); this.gridControl_JobPayments.TabIndex = 2; this.gridControl_JobPayments.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView_JobPayments}); // // transactionBindingSource // this.transactionBindingSource.DataSource = typeof(Buzzle.Data.DataModel.Transaction); // // gridView_JobPayments // this.gridView_JobPayments.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colAmount, this.colNotes, this.colDateRecorded, this.colTransactionType}); this.gridView_JobPayments.GridControl = this.gridControl_JobPayments; this.gridView_JobPayments.Name = "gridView_JobPayments"; this.gridView_JobPayments.OptionsBehavior.Editable = false; this.gridView_JobPayments.OptionsView.ShowGroupPanel = false; // // colAmount // this.colAmount.AppearanceCell.Options.UseTextOptions = true; this.colAmount.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.colAmount.DisplayFormat.FormatString = "#,# CFA"; this.colAmount.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.colAmount.FieldName = "Amount"; this.colAmount.Name = "colAmount"; this.colAmount.Visible = true; this.colAmount.VisibleIndex = 2; this.colAmount.Width = 185; // // colNotes // this.colNotes.FieldName = "Notes"; this.colNotes.Name = "colNotes"; this.colNotes.Visible = true; this.colNotes.VisibleIndex = 3; // // colDateRecorded // this.colDateRecorded.Caption = "Payment Date"; this.colDateRecorded.DisplayFormat.FormatString = "dd MMM yyyy hh:mm tt"; this.colDateRecorded.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.colDateRecorded.FieldName = "DateRecorded"; this.colDateRecorded.Name = "colDateRecorded"; this.colDateRecorded.Visible = true; this.colDateRecorded.VisibleIndex = 0; this.colDateRecorded.Width = 132; // // colTransactionType // this.colTransactionType.Caption = "Reason"; this.colTransactionType.FieldName = "TransactionType.TransactionName"; this.colTransactionType.Name = "colTransactionType"; this.colTransactionType.Visible = true; this.colTransactionType.VisibleIndex = 1; this.colTransactionType.Width = 185; // // dateEdit_ExpEndDate // this.dateEdit_ExpEndDate.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "ExpectedEndDate", true)); this.dateEdit_ExpEndDate.EditValue = new System.DateTime(2014, 10, 14, 23, 31, 39, 0); this.dateEdit_ExpEndDate.Location = new System.Drawing.Point(537, 167); this.dateEdit_ExpEndDate.Name = "dateEdit_ExpEndDate"; this.dateEdit_ExpEndDate.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.dateEdit_ExpEndDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit_ExpEndDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit_ExpEndDate.Properties.CalendarView = DevExpress.XtraEditors.Repository.CalendarView.Classic; this.dateEdit_ExpEndDate.Properties.DisplayFormat.FormatString = "dd MMM yyyy"; this.dateEdit_ExpEndDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.dateEdit_ExpEndDate.Properties.EditFormat.FormatString = "dd MMM yyyy"; this.dateEdit_ExpEndDate.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.dateEdit_ExpEndDate.Properties.NullText = "Enter expected end date..."; this.dateEdit_ExpEndDate.Properties.ShowToday = false; this.dateEdit_ExpEndDate.Properties.VistaDisplayMode = DevExpress.Utils.DefaultBoolean.False; this.dateEdit_ExpEndDate.Size = new System.Drawing.Size(197, 20); this.dateEdit_ExpEndDate.StyleController = this.layoutControl1; this.dateEdit_ExpEndDate.TabIndex = 10; // // dateEdit_DateCreated // this.dateEdit_DateCreated.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "DateCreated", true)); this.dateEdit_DateCreated.EditValue = new System.DateTime(2014, 10, 14, 23, 31, 22, 0); this.dateEdit_DateCreated.Location = new System.Drawing.Point(111, 167); this.dateEdit_DateCreated.Name = "dateEdit_DateCreated"; this.dateEdit_DateCreated.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.dateEdit_DateCreated.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit_DateCreated.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEdit_DateCreated.Properties.DisplayFormat.FormatString = "dd MMM yyyy (hh:mm tt)"; this.dateEdit_DateCreated.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.dateEdit_DateCreated.Properties.EditFormat.FormatString = "dd MMM yyyy (hh:mm tt)"; this.dateEdit_DateCreated.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.dateEdit_DateCreated.Properties.ReadOnly = true; this.dateEdit_DateCreated.Size = new System.Drawing.Size(318, 20); this.dateEdit_DateCreated.StyleController = this.layoutControl1; this.dateEdit_DateCreated.TabIndex = 9; // // memoEdit_FaultDescription // this.memoEdit_FaultDescription.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "FaultDescription", true)); this.memoEdit_FaultDescription.Location = new System.Drawing.Point(438, 100); this.memoEdit_FaultDescription.Name = "memoEdit_FaultDescription"; this.memoEdit_FaultDescription.Size = new System.Drawing.Size(296, 63); this.memoEdit_FaultDescription.StyleController = this.layoutControl1; this.memoEdit_FaultDescription.TabIndex = 8; this.memoEdit_FaultDescription.UseOptimizedRendering = true; // // textEdit_CustomerName // this.textEdit_CustomerName.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "CustomerName", true)); this.textEdit_CustomerName.Location = new System.Drawing.Point(111, 36); this.textEdit_CustomerName.Name = "textEdit_CustomerName"; this.textEdit_CustomerName.Size = new System.Drawing.Size(318, 20); this.textEdit_CustomerName.StyleController = this.layoutControl1; this.textEdit_CustomerName.TabIndex = 4; // // textEdit_ItemDescription // this.textEdit_ItemDescription.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "ItemDescription", true)); this.textEdit_ItemDescription.Location = new System.Drawing.Point(12, 100); this.textEdit_ItemDescription.Name = "textEdit_ItemDescription"; this.textEdit_ItemDescription.Size = new System.Drawing.Size(417, 63); this.textEdit_ItemDescription.StyleController = this.layoutControl1; this.textEdit_ItemDescription.TabIndex = 6; this.textEdit_ItemDescription.UseOptimizedRendering = true; // // calcEdit_PhoneNumber // this.calcEdit_PhoneNumber.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "CustomerPhoneNumber", true)); this.calcEdit_PhoneNumber.Location = new System.Drawing.Point(537, 36); this.calcEdit_PhoneNumber.MenuManager = this.barManager; this.calcEdit_PhoneNumber.Name = "calcEdit_PhoneNumber"; this.calcEdit_PhoneNumber.Properties.Appearance.Options.UseTextOptions = true; this.calcEdit_PhoneNumber.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.calcEdit_PhoneNumber.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.calcEdit_PhoneNumber.Properties.DisplayFormat.FormatString = "\\d{1,3}-\\d{1,3}-\\d{1,3}"; this.calcEdit_PhoneNumber.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.calcEdit_PhoneNumber.Properties.EditFormat.FormatString = "\\d{1,3}-\\d{1,3}-\\d{1,3}"; this.calcEdit_PhoneNumber.Properties.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.calcEdit_PhoneNumber.Properties.Mask.EditMask = "\\d{0,}"; this.calcEdit_PhoneNumber.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.calcEdit_PhoneNumber.Size = new System.Drawing.Size(197, 20); this.calcEdit_PhoneNumber.StyleController = this.layoutControl1; this.calcEdit_PhoneNumber.TabIndex = 13; // // textEdit_JobStatus // this.textEdit_JobStatus.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.jobBindingSource, "Status", true)); this.textEdit_JobStatus.EditValue = ""; this.textEdit_JobStatus.Location = new System.Drawing.Point(111, 12); this.textEdit_JobStatus.Name = "textEdit_JobStatus"; this.textEdit_JobStatus.Properties.NullText = "Select Job status..."; this.textEdit_JobStatus.Properties.ReadOnly = true; this.textEdit_JobStatus.Size = new System.Drawing.Size(623, 20); this.textEdit_JobStatus.StyleController = this.layoutControl1; this.textEdit_JobStatus.TabIndex = 12; // // comboEdit_ItemType // this.comboEdit_ItemType.Location = new System.Drawing.Point(111, 60); this.comboEdit_ItemType.Name = "comboEdit_ItemType"; this.comboEdit_ItemType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboEdit_ItemType.Properties.NullText = "Select Item type..."; this.comboEdit_ItemType.Size = new System.Drawing.Size(318, 20); this.comboEdit_ItemType.StyleController = this.layoutControl1; this.comboEdit_ItemType.TabIndex = 5; // // comboEdit_FaultType // this.comboEdit_FaultType.Location = new System.Drawing.Point(537, 60); this.comboEdit_FaultType.Name = "comboEdit_FaultType"; this.comboEdit_FaultType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.comboEdit_FaultType.Properties.NullText = "Select Fault Type..."; this.comboEdit_FaultType.Size = new System.Drawing.Size(197, 20); this.comboEdit_FaultType.StyleController = this.layoutControl1; this.comboEdit_FaultType.TabIndex = 7; // // layoutControlGroup1 // this.layoutControlGroup1.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlGroup1.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem9, this.splitterItem1, this.layoutControlItem1, this.layoutControlItem10, this.layoutControlItem8, this.layoutControlItem11}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(746, 521); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem2.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem2.Control = this.comboEdit_ItemType; this.layoutControlItem2.CustomizationFormText = "Item Type"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 48); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(421, 24); this.layoutControlItem2.Text = "Item Type"; this.layoutControlItem2.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem3.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem3.Control = this.textEdit_ItemDescription; this.layoutControlItem3.CustomizationFormText = "Item Description:"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 72); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(421, 83); this.layoutControlItem3.Text = "Item Description:"; this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem3.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem4.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem4.Control = this.comboEdit_FaultType; this.layoutControlItem4.CustomizationFormText = "Fault Type:"; this.layoutControlItem4.Location = new System.Drawing.Point(426, 48); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(300, 24); this.layoutControlItem4.Text = "Fault Type:"; this.layoutControlItem4.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem5.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem5.Control = this.memoEdit_FaultDescription; this.layoutControlItem5.CustomizationFormText = "Fault Description:"; this.layoutControlItem5.Location = new System.Drawing.Point(426, 72); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(300, 83); this.layoutControlItem5.Text = "Fault Description:"; this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem5.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem6 // this.layoutControlItem6.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem6.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem6.Control = this.dateEdit_DateCreated; this.layoutControlItem6.CustomizationFormText = "Date Created:"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 155); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(421, 24); this.layoutControlItem6.Text = "Date Created:"; this.layoutControlItem6.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem7 // this.layoutControlItem7.AppearanceItemCaption.BackColor = System.Drawing.Color.Transparent; this.layoutControlItem7.AppearanceItemCaption.Options.UseBackColor = true; this.layoutControlItem7.Control = this.dateEdit_ExpEndDate; this.layoutControlItem7.CustomizationFormText = "Expected End Date:"; this.layoutControlItem7.Location = new System.Drawing.Point(426, 155); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(300, 24); this.layoutControlItem7.Text = "Expected End Date:"; this.layoutControlItem7.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem9 // this.layoutControlItem9.Control = this.textEdit_JobStatus; this.layoutControlItem9.CustomizationFormText = "Job Status:"; this.layoutControlItem9.Location = new System.Drawing.Point(0, 0); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(726, 24); this.layoutControlItem9.Text = "Job Status:"; this.layoutControlItem9.TextSize = new System.Drawing.Size(96, 13); // // splitterItem1 // this.splitterItem1.AllowHotTrack = true; this.splitterItem1.CustomizationFormText = "splitterItem1"; this.splitterItem1.Location = new System.Drawing.Point(421, 24); this.splitterItem1.Name = "splitterItem1"; this.splitterItem1.Size = new System.Drawing.Size(5, 155); // // layoutControlItem1 // this.layoutControlItem1.Control = this.textEdit_CustomerName; this.layoutControlItem1.CustomizationFormText = "Customer Name:"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(421, 24); this.layoutControlItem1.Text = "Customer Name:"; this.layoutControlItem1.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem10 // this.layoutControlItem10.Control = this.calcEdit_PhoneNumber; this.layoutControlItem10.CustomizationFormText = "Phone Number:"; this.layoutControlItem10.Location = new System.Drawing.Point(426, 24); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(300, 24); this.layoutControlItem10.Text = "Phone Number:"; this.layoutControlItem10.TextSize = new System.Drawing.Size(96, 13); // // layoutControlItem8 // this.layoutControlItem8.Control = this.tabControl_Notes; this.layoutControlItem8.CustomizationFormText = "layoutControlItem8"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 205); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(726, 296); this.layoutControlItem8.Text = "layoutControlItem8"; this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem8.TextToControlDistance = 0; this.layoutControlItem8.TextVisible = false; // // layoutControlItem11 // this.layoutControlItem11.Control = this.textEdit_CreatedBy; this.layoutControlItem11.CustomizationFormText = "Created By:"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 179); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(726, 26); this.layoutControlItem11.Text = "Created By:"; this.layoutControlItem11.TextSize = new System.Drawing.Size(96, 13); // // lookupDataBindingSource // this.lookupDataBindingSource.DataSource = typeof(Buzzle.Data.DataModel.LookupData); // // AddEditJobView // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(746, 576); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "AddEditJobView"; this.Text = "Buzzle - Add/Edit Jobs"; this.Load += new System.EventHandler(this.AddEditJobView_Load); ((System.ComponentModel.ISupportInitialize)(this.jobBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.textEdit_CreatedBy.Properties)).EndInit(); this.tabControl_Notes.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage_Payments.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl_JobPayments)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.transactionBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView_JobPayments)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ExpEndDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_ExpEndDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_DateCreated.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEdit_DateCreated.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEdit_FaultDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_CustomerName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_ItemDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.calcEdit_PhoneNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit_JobStatus.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboEdit_ItemType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboEdit_FaultType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitterItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookupDataBindingSource)).EndInit(); this.ResumeLayout(false); }
public Formaty(ref DevExpress.XtraRichEdit.RichEditControl rec) { rec1 = rec; PobierzKonfiguracje(); PrzetworzPliki(); }
//public mwsRTFEditTextChangedEventArgs(RichTextBox rtf) //{ // _rtf = rtf.Rtf; // _text = rtf.Text; //} public mwsRTFEditTextChangedEventArgs(DevExpress.XtraRichEdit.RichEditControl rtf) { _rtf = rtf.RtfText; _text = rtf.Text; }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> protected void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmTinTucQL)); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.MainBar = new DevExpress.XtraBars.Bar(); this.barButtonItemAdd = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemXem = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDelete = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUpdate = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemPrint = new DevExpress.XtraBars.BarButtonItem(); this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemDuyet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemK_Duyet = new DevExpress.XtraBars.BarButtonItem(); this.barSubItem1 = new DevExpress.XtraBars.BarSubItem(); this.barButtonItemSet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemUnSet = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemSearch = new DevExpress.XtraBars.BarButtonItem(); this.popupMenuFilter = new DevExpress.XtraBars.PopupMenu(this.components); this.barCheckItemFilter = new DevExpress.XtraBars.BarCheckItem(); this.barButtonItemClose = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem5 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.barStaticItem1 = new DevExpress.XtraBars.BarStaticItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItemNoCommit = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl(); this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl(); this.richEditControl = new DevExpress.XtraRichEdit.RichEditControl(); this.popupControlContainer1 = new DevExpress.XtraBars.PopupControlContainer(this.components); this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl(); this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel(); this.lbl_Thoi_gian_cap_nhat = new System.Windows.Forms.PLLabel(); this.label5 = new System.Windows.Forms.PLLabel(); this.labelControl1 = new System.Windows.Forms.PLLabel(); this.lblNguoi_cap_nhat = new System.Windows.Forms.PLLabel(); this.Chu_de = new System.Windows.Forms.PLLabel(); this.label6 = new System.Windows.Forms.PLLabel(); this.label7 = new System.Windows.Forms.PLLabel(); this.gridControlMaster = new DevExpress.XtraGrid.GridControl(); this.gridViewMaster = new DevExpress.XtraGrid.Views.Grid.PLGridView(); this.CotNhomtin = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotTieude = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotNgaytao = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotNguoitao = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotPrior = new DevExpress.XtraGrid.Columns.GridColumn(); this.CotTin_Noi_Bat = new DevExpress.XtraGrid.Columns.GridColumn(); this.xtraTabControlDetail = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageDetail = new DevExpress.XtraTab.XtraTabPage(); this.checkTin_noi_bat = new DevExpress.XtraEditors.CheckEdit(); this.popupControlContainerFilter = new DevExpress.XtraBars.PopupControlContainer(this.components); this.ngay = new ProtocolVN.Framework.Win.Office.PLDateSelection(); this.DuyetSelect = new ProtocolVN.Framework.Win.PLDuyetCheckbox(); this.PLNhomTT = new ProtocolVN.Framework.Win.PLCombobox(); this.labelControl2 = new System.Windows.Forms.PLLabel(); this.labelControl6 = new System.Windows.Forms.PLLabel(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnPhanHoi = new DevExpress.XtraBars.BarButtonItem(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit(); this.splitContainerControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit(); this.splitContainerControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).BeginInit(); this.popupControlContainer1.SuspendLayout(); this.xtraScrollableControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).BeginInit(); this.xtraTabControlDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkTin_noi_bat.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).BeginInit(); this.popupControlContainerFilter.SuspendLayout(); this.SuspendLayout(); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.MainBar}); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItemAdd, this.barButtonItemDelete, this.barButtonItemUpdate, this.barButtonItemPrint, this.barStaticItem1, this.barButtonItem1, this.barButtonItem2, this.barButtonItemCommit, this.barButtonItemNoCommit, this.barSubItem1, this.barButtonItemXem, this.barButtonItemSearch, this.barButtonItemClose, this.barCheckItemFilter, this.barButtonItem3, this.barButtonItem4, this.barButtonItem5, this.barButtonItemSet, this.barButtonItemUnSet, this.barButtonItemDuyet, this.barButtonItemK_Duyet}); this.barManager1.MaxItemId = 49; // // MainBar // this.MainBar.BarName = "MainBar"; this.MainBar.DockCol = 0; this.MainBar.DockRow = 0; this.MainBar.DockStyle = DevExpress.XtraBars.BarDockStyle.Top; this.MainBar.FloatLocation = new System.Drawing.Point(39, 133); this.MainBar.FloatSize = new System.Drawing.Size(72, 73); this.MainBar.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.Caption, this.barButtonItemAdd, "&Thêm"), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemXem), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDelete), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemUpdate), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemPrint, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemDuyet, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemK_Duyet), new DevExpress.XtraBars.LinkPersistInfo(this.barSubItem1), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItemSet, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(DevExpress.XtraBars.BarLinkUserDefines.PaintStyle, this.barButtonItemUnSet, DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemSearch), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItemClose, true), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem5)}); this.MainBar.OptionsBar.AllowQuickCustomization = false; this.MainBar.OptionsBar.DrawDragBorder = false; this.MainBar.OptionsBar.RotateWhenVertical = false; this.MainBar.OptionsBar.UseWholeRow = true; this.MainBar.Text = "Custom 1"; // // barButtonItemAdd // this.barButtonItemAdd.Caption = "Thêm"; this.barButtonItemAdd.Id = 0; this.barButtonItemAdd.Name = "barButtonItemAdd"; this.barButtonItemAdd.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemXem // this.barButtonItemXem.Caption = "X&em"; this.barButtonItemXem.Id = 24; this.barButtonItemXem.Name = "barButtonItemXem"; this.barButtonItemXem.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemDelete // this.barButtonItemDelete.Caption = "&Xóa"; this.barButtonItemDelete.Id = 1; this.barButtonItemDelete.Name = "barButtonItemDelete"; this.barButtonItemDelete.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemUpdate // this.barButtonItemUpdate.Caption = "&Sửa"; this.barButtonItemUpdate.Id = 2; this.barButtonItemUpdate.Name = "barButtonItemUpdate"; this.barButtonItemUpdate.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemPrint // this.barButtonItemPrint.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemPrint.Caption = "&In"; this.barButtonItemPrint.DropDownControl = this.popupMenu1; this.barButtonItemPrint.Id = 3; this.barButtonItemPrint.Name = "barButtonItemPrint"; this.barButtonItemPrint.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenu1 // this.popupMenu1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4)}); this.popupMenu1.Manager = this.barManager1; this.popupMenu1.Name = "popupMenu1"; // // barButtonItem4 // this.barButtonItem4.Caption = "Xem trước"; this.barButtonItem4.Id = 33; this.barButtonItem4.Name = "barButtonItem4"; // // barButtonItemDuyet // this.barButtonItemDuyet.Caption = "&Duyệt"; this.barButtonItemDuyet.Id = 47; this.barButtonItemDuyet.Name = "barButtonItemDuyet"; // // barButtonItemK_Duyet // this.barButtonItemK_Duyet.Caption = "&Không duyệt"; this.barButtonItemK_Duyet.Id = 48; this.barButtonItemK_Duyet.Name = "barButtonItemK_Duyet"; // // barSubItem1 // this.barSubItem1.Caption = "&Nghiệp vụ"; this.barSubItem1.Id = 20; this.barSubItem1.Name = "barSubItem1"; this.barSubItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemSet // this.barButtonItemSet.Caption = "Thiết lập tin nổi bật"; this.barButtonItemSet.Id = 42; this.barButtonItemSet.Name = "barButtonItemSet"; this.barButtonItemSet.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItemUnSet // this.barButtonItemUnSet.Caption = "Hủy thiết lập tin nổi bật"; this.barButtonItemUnSet.Id = 43; this.barButtonItemUnSet.Name = "barButtonItemUnSet"; this.barButtonItemUnSet.Visibility = DevExpress.XtraBars.BarItemVisibility.Never; // // barButtonItemSearch // this.barButtonItemSearch.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItemSearch.Caption = "Tì&m kiếm"; this.barButtonItemSearch.DropDownControl = this.popupMenuFilter; this.barButtonItemSearch.Id = 27; this.barButtonItemSearch.Name = "barButtonItemSearch"; this.barButtonItemSearch.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // popupMenuFilter // this.popupMenuFilter.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barCheckItemFilter)}); this.popupMenuFilter.Manager = this.barManager1; this.popupMenuFilter.Name = "popupMenuFilter"; // // barCheckItemFilter // this.barCheckItemFilter.Caption = "Điều &kiện lọc"; this.barCheckItemFilter.Checked = true; this.barCheckItemFilter.Id = 29; this.barCheckItemFilter.Name = "barCheckItemFilter"; this.barCheckItemFilter.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemClose // this.barButtonItemClose.Caption = "Đóng"; this.barButtonItemClose.Id = 28; this.barButtonItemClose.Name = "barButtonItemClose"; this.barButtonItemClose.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem5 // this.barButtonItem5.Id = 37; this.barButtonItem5.Name = "barButtonItem5"; // // barDockControlTop // this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Size = new System.Drawing.Size(944, 24); // // barDockControlBottom // this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 481); this.barDockControlBottom.Size = new System.Drawing.Size(944, 0); // // barDockControlLeft // this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 24); this.barDockControlLeft.Size = new System.Drawing.Size(0, 457); // // barDockControlRight // this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(944, 24); this.barDockControlRight.Size = new System.Drawing.Size(0, 457); // // barStaticItem1 // this.barStaticItem1.AutoSize = DevExpress.XtraBars.BarStaticItemSize.None; this.barStaticItem1.Border = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.barStaticItem1.Id = 13; this.barStaticItem1.Name = "barStaticItem1"; this.barStaticItem1.TextAlignment = System.Drawing.StringAlignment.Near; this.barStaticItem1.Width = 100; // // barButtonItem1 // this.barButtonItem1.Caption = "barButtonItem1"; this.barButtonItem1.Id = 14; this.barButtonItem1.Name = "barButtonItem1"; // // barButtonItem2 // this.barButtonItem2.Caption = "barButtonItem2"; this.barButtonItem2.Id = 15; this.barButtonItem2.Name = "barButtonItem2"; // // barButtonItemCommit // this.barButtonItemCommit.Caption = "&Duyệt"; this.barButtonItemCommit.Id = 17; this.barButtonItemCommit.Name = "barButtonItemCommit"; this.barButtonItemCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItemNoCommit // this.barButtonItemNoCommit.Caption = "&Không duyệt"; this.barButtonItemNoCommit.Id = 18; this.barButtonItemNoCommit.Name = "barButtonItemNoCommit"; this.barButtonItemNoCommit.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem3 // this.barButtonItem3.ButtonStyle = DevExpress.XtraBars.BarButtonStyle.DropDown; this.barButtonItem3.Caption = "In"; this.barButtonItem3.Id = 30; this.barButtonItem3.Name = "barButtonItem3"; // // splitContainerControl1 // this.splitContainerControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl1.Horizontal = false; this.splitContainerControl1.Location = new System.Drawing.Point(0, 90); this.splitContainerControl1.Name = "splitContainerControl1"; this.splitContainerControl1.Panel1.Controls.Add(this.splitContainerControl2); this.splitContainerControl1.Panel1.Text = "splitContainerControl1_Panel1"; this.splitContainerControl1.Panel2.CaptionLocation = DevExpress.Utils.Locations.Left; this.splitContainerControl1.Panel2.Controls.Add(this.xtraTabControlDetail); this.splitContainerControl1.Panel2.ShowCaption = true; this.splitContainerControl1.Panel2.Text = "splitContainerControl1_Panel2"; this.splitContainerControl1.Size = new System.Drawing.Size(944, 391); this.splitContainerControl1.SplitterPosition = 389; this.splitContainerControl1.TabIndex = 4; this.splitContainerControl1.Text = "splitContainerControl1"; // // splitContainerControl2 // this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.splitContainerControl2.Horizontal = false; this.splitContainerControl2.Location = new System.Drawing.Point(0, 0); this.splitContainerControl2.Name = "splitContainerControl2"; this.splitContainerControl2.Panel1.Controls.Add(this.richEditControl); this.splitContainerControl2.Panel1.Controls.Add(this.popupControlContainer1); this.splitContainerControl2.Panel1.MinSize = 216; this.splitContainerControl2.Panel1.Text = "Panel1"; this.splitContainerControl2.Panel2.Controls.Add(this.gridControlMaster); this.splitContainerControl2.Panel2.MinSize = 126; this.splitContainerControl2.Panel2.Text = "Panel2"; this.splitContainerControl2.Size = new System.Drawing.Size(944, 385); this.splitContainerControl2.SplitterPosition = 337; this.splitContainerControl2.TabIndex = 12; this.splitContainerControl2.Text = "splitContainerControl2"; // // richEditControl // this.richEditControl.ActiveViewType = DevExpress.XtraRichEdit.RichEditViewType.Simple; this.richEditControl.Dock = System.Windows.Forms.DockStyle.Fill; this.richEditControl.Location = new System.Drawing.Point(0, 55); this.richEditControl.MenuManager = this.barManager1; this.richEditControl.Name = "richEditControl"; this.richEditControl.Options.Behavior.ShowPopupMenu = DevExpress.XtraRichEdit.DocumentCapability.Disabled; this.richEditControl.Options.Hyperlinks.ModifierKeys = System.Windows.Forms.Keys.None; this.richEditControl.ReadOnly = true; this.richEditControl.Size = new System.Drawing.Size(944, 198); this.richEditControl.TabIndex = 0; // // popupControlContainer1 // this.popupControlContainer1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224))))); this.popupControlContainer1.Appearance.Options.UseBackColor = true; this.popupControlContainer1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainer1.Controls.Add(this.xtraScrollableControl1); this.popupControlContainer1.Controls.Add(this.lbl_Thoi_gian_cap_nhat); this.popupControlContainer1.Controls.Add(this.label5); this.popupControlContainer1.Controls.Add(this.labelControl1); this.popupControlContainer1.Controls.Add(this.lblNguoi_cap_nhat); this.popupControlContainer1.Controls.Add(this.Chu_de); this.popupControlContainer1.Controls.Add(this.label6); this.popupControlContainer1.Controls.Add(this.label7); this.popupControlContainer1.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainer1.Location = new System.Drawing.Point(0, 0); this.popupControlContainer1.Manager = this.barManager1; this.popupControlContainer1.Name = "popupControlContainer1"; this.popupControlContainer1.Size = new System.Drawing.Size(944, 55); this.popupControlContainer1.TabIndex = 1; this.popupControlContainer1.Visible = false; // // xtraScrollableControl1 // this.xtraScrollableControl1.Appearance.BackColor = System.Drawing.Color.Transparent; this.xtraScrollableControl1.Appearance.Options.UseBackColor = true; this.xtraScrollableControl1.Controls.Add(this.flowLayoutPanel2); this.xtraScrollableControl1.Location = new System.Drawing.Point(106, 26); this.xtraScrollableControl1.Name = "xtraScrollableControl1"; this.xtraScrollableControl1.ScrollBarSmallChange = 26; this.xtraScrollableControl1.Size = new System.Drawing.Size(312, 26); this.xtraScrollableControl1.TabIndex = 151; // // flowLayoutPanel2 // this.flowLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.flowLayoutPanel2.BackColor = System.Drawing.Color.Transparent; this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 0); this.flowLayoutPanel2.Name = "flowLayoutPanel2"; this.flowLayoutPanel2.Size = new System.Drawing.Size(312, 26); this.flowLayoutPanel2.TabIndex = 0; // // lbl_Thoi_gian_cap_nhat // this.lbl_Thoi_gian_cap_nhat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lbl_Thoi_gian_cap_nhat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lbl_Thoi_gian_cap_nhat.Location = new System.Drawing.Point(795, 27); this.lbl_Thoi_gian_cap_nhat.Name = "lbl_Thoi_gian_cap_nhat"; this.lbl_Thoi_gian_cap_nhat.Size = new System.Drawing.Size(133, 13); this.lbl_Thoi_gian_cap_nhat.TabIndex = 6; this.lbl_Thoi_gian_cap_nhat.Text = "<Chưa xác định>"; this.lbl_Thoi_gian_cap_nhat.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // label5 // this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label5.Location = new System.Drawing.Point(702, 27); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(95, 13); this.label5.TabIndex = 5; this.label5.Text = "Thời gian cập nhật: "; this.label5.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(18, 27); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(82, 13); this.labelControl1.TabIndex = 2; this.labelControl1.Text = "Tập tin đính kèm:"; this.labelControl1.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // lblNguoi_cap_nhat // this.lblNguoi_cap_nhat.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.lblNguoi_cap_nhat.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; this.lblNguoi_cap_nhat.Location = new System.Drawing.Point(781, 7); this.lblNguoi_cap_nhat.Name = "lblNguoi_cap_nhat"; this.lblNguoi_cap_nhat.Size = new System.Drawing.Size(143, 13); this.lblNguoi_cap_nhat.TabIndex = 4; this.lblNguoi_cap_nhat.Text = "<Chưa xác định>"; this.lblNguoi_cap_nhat.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // Chu_de // this.Chu_de.Appearance.ForeColor = System.Drawing.Color.Blue; this.Chu_de.Appearance.Options.UseForeColor = true; this.Chu_de.Location = new System.Drawing.Point(59, 6); this.Chu_de.Name = "Chu_de"; this.Chu_de.Size = new System.Drawing.Size(85, 13); this.Chu_de.TabIndex = 1; this.Chu_de.Text = "<Chưa xác định>"; this.Chu_de.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // label6 // this.label6.Location = new System.Drawing.Point(18, 6); this.label6.Name = "label6"; this.label6.Size = new System.Drawing.Size(41, 13); this.label6.TabIndex = 0; this.label6.Text = "Chủ đề: "; this.label6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // label7 // this.label7.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.label7.Location = new System.Drawing.Point(702, 7); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(80, 13); this.label7.TabIndex = 3; this.label7.Text = "Người cập nhật: "; this.label7.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // gridControlMaster // this.gridControlMaster.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("gridControlMaster.BackgroundImage"))); this.gridControlMaster.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center; this.gridControlMaster.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlMaster.Location = new System.Drawing.Point(0, 0); this.gridControlMaster.MainView = this.gridViewMaster; this.gridControlMaster.Name = "gridControlMaster"; this.gridControlMaster.Size = new System.Drawing.Size(944, 126); this.gridControlMaster.TabIndex = 0; this.gridControlMaster.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewMaster}); // // gridViewMaster // this.gridViewMaster.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewMaster.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewMaster.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.CotNhomtin, this.CotTieude, this.CotNgaytao, this.CotNguoitao, this.CotPrior, this.CotTin_Noi_Bat}); this.gridViewMaster.GridControl = this.gridControlMaster; this.gridViewMaster.GroupPanelText = "DANH SÁCH TIN TỨC"; this.gridViewMaster.IndicatorWidth = 40; this.gridViewMaster.Name = "gridViewMaster"; this.gridViewMaster.OptionsLayout.Columns.AddNewColumns = false; this.gridViewMaster.OptionsNavigation.AutoFocusNewRow = true; this.gridViewMaster.OptionsNavigation.EnterMoveNextColumn = true; this.gridViewMaster.OptionsPrint.UsePrintStyles = true; this.gridViewMaster.OptionsView.EnableAppearanceEvenRow = true; this.gridViewMaster.OptionsView.EnableAppearanceOddRow = true; this.gridViewMaster.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.gridViewMaster.OptionsView.ShowGroupedColumns = true; this.gridViewMaster.OptionsView.ShowGroupPanel = false; // // CotNhomtin // this.CotNhomtin.Caption = "Nhóm tin"; this.CotNhomtin.Name = "CotNhomtin"; this.CotNhomtin.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotNhomtin.Visible = true; this.CotNhomtin.VisibleIndex = 3; this.CotNhomtin.Width = 54; // // CotTieude // this.CotTieude.Caption = "Chủ đề"; this.CotTieude.Name = "CotTieude"; this.CotTieude.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotTieude.Visible = true; this.CotTieude.VisibleIndex = 0; this.CotTieude.Width = 46; // // CotNgaytao // this.CotNgaytao.Caption = "Thời gian cập nhật"; this.CotNgaytao.Name = "CotNgaytao"; this.CotNgaytao.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotNgaytao.Visible = true; this.CotNgaytao.VisibleIndex = 1; this.CotNgaytao.Width = 100; // // CotNguoitao // this.CotNguoitao.Caption = "Nhân viên"; this.CotNguoitao.Name = "CotNguoitao"; this.CotNguoitao.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotNguoitao.Visible = true; this.CotNguoitao.VisibleIndex = 2; this.CotNguoitao.Width = 60; // // CotPrior // this.CotPrior.Caption = "Prior"; this.CotPrior.Name = "CotPrior"; this.CotPrior.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotPrior.Width = 34; // // CotTin_Noi_Bat // this.CotTin_Noi_Bat.Caption = "Tin_Noi_Bat"; this.CotTin_Noi_Bat.Name = "CotTin_Noi_Bat"; this.CotTin_Noi_Bat.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False; this.CotTin_Noi_Bat.Width = 69; // // xtraTabControlDetail // this.xtraTabControlDetail.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControlDetail.Location = new System.Drawing.Point(0, 0); this.xtraTabControlDetail.Name = "xtraTabControlDetail"; this.xtraTabControlDetail.SelectedTabPage = this.xtraTabPageDetail; this.xtraTabControlDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabControlDetail.TabIndex = 11; this.xtraTabControlDetail.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageDetail}); // // xtraTabPageDetail // this.xtraTabPageDetail.Name = "xtraTabPageDetail"; this.xtraTabPageDetail.Size = new System.Drawing.Size(0, 0); this.xtraTabPageDetail.Text = "Chi tiết"; // // checkTin_noi_bat // this.checkTin_noi_bat.Location = new System.Drawing.Point(59, 37); this.checkTin_noi_bat.Name = "checkTin_noi_bat"; this.checkTin_noi_bat.Properties.Caption = "Xem 5 tin mới nhất"; this.checkTin_noi_bat.Size = new System.Drawing.Size(128, 19); this.checkTin_noi_bat.TabIndex = 2; // // popupControlContainerFilter // this.popupControlContainerFilter.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.popupControlContainerFilter.Controls.Add(this.ngay); this.popupControlContainerFilter.Controls.Add(this.checkTin_noi_bat); this.popupControlContainerFilter.Controls.Add(this.DuyetSelect); this.popupControlContainerFilter.Controls.Add(this.PLNhomTT); this.popupControlContainerFilter.Controls.Add(this.labelControl2); this.popupControlContainerFilter.Controls.Add(this.labelControl6); this.popupControlContainerFilter.Dock = System.Windows.Forms.DockStyle.Top; this.popupControlContainerFilter.Location = new System.Drawing.Point(0, 24); this.popupControlContainerFilter.Manager = this.barManager1; this.popupControlContainerFilter.Name = "popupControlContainerFilter"; this.popupControlContainerFilter.Size = new System.Drawing.Size(944, 66); this.popupControlContainerFilter.TabIndex = 0; this.popupControlContainerFilter.Visible = false; // // ngay // this.ngay.Caption = "Năm 2010 và 2011"; this.ngay.Default = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth; this.ngay.FirstFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngay.FirstTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngay.FromDate = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngay.Location = new System.Drawing.Point(319, 11); this.ngay.Name = "ngay"; this.ngay.ReturnType = ProtocolVN.Framework.Win.Trial.TimeType.Date; this.ngay.SecondFrom = new System.DateTime(2010, 1, 1, 0, 0, 0, 0); this.ngay.SecondTo = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngay.SelectedType = ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear; this.ngay.Size = new System.Drawing.Size(224, 21); this.ngay.TabIndex = 1; this.ngay.ToDate = new System.DateTime(2011, 12, 31, 0, 0, 0, 0); this.ngay.Types = ((ProtocolVN.Framework.Win.Trial.SelectionTypes)(((((((((ProtocolVN.Framework.Win.Trial.SelectionTypes.OneDate | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.OneYear) | ProtocolVN.Framework.Win.Trial.SelectionTypes.SixMonths) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromDateToDate) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromMonthToMonth) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromQuarterToQuarter) | ProtocolVN.Framework.Win.Trial.SelectionTypes.FromYearToYear))); // // DuyetSelect // this.DuyetSelect.Location = new System.Drawing.Point(310, 37); this.DuyetSelect.Name = "DuyetSelect"; this.DuyetSelect.Size = new System.Drawing.Size(233, 24); this.DuyetSelect.TabIndex = 3; // // PLNhomTT // this.PLNhomTT.DataSource = null; this.PLNhomTT.DisplayField = null; this.PLNhomTT.Location = new System.Drawing.Point(61, 11); this.PLNhomTT.Name = "PLNhomTT"; this.PLNhomTT.Size = new System.Drawing.Size(147, 20); this.PLNhomTT.TabIndex = 0; this.PLNhomTT.ValueField = null; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(13, 14); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(42, 13); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "Nhóm tin"; this.labelControl2.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(243, 14); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(70, 13); this.labelControl6.TabIndex = 5; this.labelControl6.Text = "Ngày cập nhật"; this.labelControl6.ZZZType = System.Windows.Forms.PLLabel.LabelType.NORMAL; // // gridColumn8 // this.gridColumn8.Caption = "VAT"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 5; // // gridColumn6 // this.gridColumn6.Caption = "VAT"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 5; this.gridColumn6.Width = 96; // // btnPhanHoi // this.btnPhanHoi.Caption = "Phản hồi"; this.btnPhanHoi.Id = 35; this.btnPhanHoi.Name = "btnPhanHoi"; // // frmTinTucQL // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(944, 481); this.Controls.Add(this.splitContainerControl1); this.Controls.Add(this.popupControlContainerFilter); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.Name = "frmTinTucQL"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Tag = ""; this.Text = "Tin tức"; ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupMenuFilter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit(); this.splitContainerControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).EndInit(); this.splitContainerControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainer1)).EndInit(); this.popupControlContainer1.ResumeLayout(false); this.popupControlContainer1.PerformLayout(); this.xtraScrollableControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControlMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewMaster)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControlDetail)).EndInit(); this.xtraTabControlDetail.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkTin_noi_bat.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.popupControlContainerFilter)).EndInit(); this.popupControlContainerFilter.ResumeLayout(false); this.popupControlContainerFilter.PerformLayout(); this.ResumeLayout(false); }