diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryBookView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryBookView.Designer.cs index ee2f8ef..b649afd 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryBookView.Designer.cs @@ -126,7 +126,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -138,7 +138,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); this.toggleSearchArea.UseVisualStyleBackColor = true; // // searchPanel @@ -166,8 +166,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -186,8 +186,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -203,9 +203,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -223,9 +223,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -243,7 +243,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.UseVisualStyleBackColor = true; this.search.MouseHover += new System.EventHandler(this.ForceValidation); // @@ -279,7 +279,7 @@ private void InitializeComponent() this.firstPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.firstPage.Name = "firstPage"; this.firstPage.Size = new System.Drawing.Size(23, 22); - this.firstPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipFirstPage; + this.firstPage.ToolTipText = "First page"; // // previousPage // @@ -289,7 +289,7 @@ private void InitializeComponent() this.previousPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.previousPage.Name = "previousPage"; this.previousPage.Size = new System.Drawing.Size(23, 22); - this.previousPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipPreviousPage; + this.previousPage.ToolTipText = "Previous page"; // // currentPage // @@ -299,7 +299,7 @@ private void InitializeComponent() this.currentPage.Size = new System.Drawing.Size(50, 25); this.currentPage.Text = "1 / 1"; this.currentPage.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.currentPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCurrentPageTotalPages; + this.currentPage.ToolTipText = "Page nr. / Page total"; // // nextpage // @@ -309,7 +309,7 @@ private void InitializeComponent() this.nextpage.ImageTransparentColor = System.Drawing.Color.Magenta; this.nextpage.Name = "nextpage"; this.nextpage.Size = new System.Drawing.Size(23, 22); - this.nextpage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNextPage; + this.nextpage.ToolTipText = "Next page"; // // lastPage // @@ -319,7 +319,7 @@ private void InitializeComponent() this.lastPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.lastPage.Name = "lastPage"; this.lastPage.Size = new System.Drawing.Size(23, 22); - this.lastPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipLastPage; + this.lastPage.ToolTipText = "Last page"; // // printList // @@ -329,7 +329,7 @@ private void InitializeComponent() this.printList.ImageTransparentColor = System.Drawing.Color.Magenta; this.printList.Name = "printList"; this.printList.Size = new System.Drawing.Size(23, 22); - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryDetailView.Designer.cs index d732c18..9e14417 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Delivery/DeliveryDetailView.Designer.cs @@ -95,7 +95,7 @@ private void InitializeComponent() this.toggleDetailPanel.ImageTransparentColor = System.Drawing.Color.Magenta; this.toggleDetailPanel.Name = "toggleDetailPanel"; this.toggleDetailPanel.Size = new System.Drawing.Size(23, 22); - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // @@ -105,7 +105,7 @@ private void InitializeComponent() this.printDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.printDetail.Name = "printDetail"; this.printDetail.Size = new System.Drawing.Size(23, 22); - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // @@ -115,7 +115,7 @@ private void InitializeComponent() this.cancel.ImageTransparentColor = System.Drawing.Color.Magenta; this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(23, 22); - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // @@ -125,7 +125,7 @@ private void InitializeComponent() this.save.ImageTransparentColor = System.Drawing.Color.Magenta; this.save.Name = "save"; this.save.Size = new System.Drawing.Size(23, 22); - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // @@ -135,7 +135,7 @@ private void InitializeComponent() this.editDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.editDetail.Name = "editDetail"; this.editDetail.Size = new System.Drawing.Size(23, 22); - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // @@ -145,7 +145,7 @@ private void InitializeComponent() this.createRegister.ImageTransparentColor = System.Drawing.Color.Magenta; this.createRegister.Name = "createRegister"; this.createRegister.Size = new System.Drawing.Size(23, 22); - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // panelTitle // @@ -181,7 +181,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -205,7 +205,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 100); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -230,7 +230,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -248,7 +248,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -266,7 +266,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -284,7 +284,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -302,7 +302,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -320,7 +320,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_RecipientName // @@ -338,7 +338,7 @@ private void InitializeComponent() this.recipientNameLabel.Name = "recipientNameLabel"; this.recipientNameLabel.Size = new System.Drawing.Size(45, 13); this.recipientNameLabel.Text = "Recipient"; - this.toolTip.SetToolTip(this.recipientNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientName); + this.toolTip.SetToolTip(this.recipientNameLabel, "Document recipient"); // // model_ExpeditorName // @@ -356,7 +356,7 @@ private void InitializeComponent() this.expeditorNameLabel.Name = "expeditorNameLabel"; this.expeditorNameLabel.Size = new System.Drawing.Size(69, 13); this.expeditorNameLabel.Text = "Sent by"; - this.toolTip.SetToolTip(this.expeditorNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipExpeditorName); + this.toolTip.SetToolTip(this.expeditorNameLabel, "Person that sent the document"); // // model_ReceptionName // @@ -374,7 +374,7 @@ private void InitializeComponent() this.receptionNameLabel.Name = "receptionNameLabel"; this.receptionNameLabel.Size = new System.Drawing.Size(89, 13); this.receptionNameLabel.Text = "Received by"; - this.toolTip.SetToolTip(this.receptionNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionName); + this.toolTip.SetToolTip(this.receptionNameLabel, "Person who received the document"); // // model_ReceptionDate // @@ -392,7 +392,7 @@ private void InitializeComponent() this.receptionDateLabel.Name = "receptionDateLabel"; this.receptionDateLabel.Size = new System.Drawing.Size(93, 13); this.receptionDateLabel.Text = "Reception date"; - this.toolTip.SetToolTip(this.receptionDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionDate); + this.toolTip.SetToolTip(this.receptionDateLabel, "Document reception date."); // // audit // @@ -422,7 +422,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateDelivery; + this.whenEmptyCreateRegister.Text = "Click to create a delivery mail register"; this.whenEmptyCreateRegister.UseVisualStyleBackColor = true; this.whenEmptyCreateRegister.Visible = false; // diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingBookView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingBookView.Designer.cs index fa8b30b..1f2da19 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingBookView.Designer.cs @@ -128,7 +128,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -140,7 +140,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); this.toggleSearchArea.UseVisualStyleBackColor = true; // // searchPanel @@ -170,8 +170,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -189,9 +189,9 @@ private void InitializeComponent() this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(70, 13); this.archiveLocationLabel.TabStop = false; - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; + this.archiveLocationLabel.Text = "Location"; this.archiveLocationLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // criteria_ArchiveLocation // @@ -210,8 +210,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -227,9 +227,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -247,9 +247,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -267,7 +267,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.UseVisualStyleBackColor = true; this.search.MouseHover += new System.EventHandler(this.ForceValidation); // @@ -303,7 +303,7 @@ private void InitializeComponent() this.firstPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.firstPage.Name = "firstPage"; this.firstPage.Size = new System.Drawing.Size(23, 22); - this.firstPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipFirstPage; + this.firstPage.ToolTipText = "First page"; // // previousPage // @@ -313,7 +313,7 @@ private void InitializeComponent() this.previousPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.previousPage.Name = "previousPage"; this.previousPage.Size = new System.Drawing.Size(23, 22); - this.previousPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipPreviousPage; + this.previousPage.ToolTipText = "Previous page"; // // currentPage // @@ -323,7 +323,7 @@ private void InitializeComponent() this.currentPage.Size = new System.Drawing.Size(50, 25); this.currentPage.Text = "1 / 1"; this.currentPage.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.currentPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCurrentPageTotalPages; + this.currentPage.ToolTipText = "Page nr. / Page total"; // // nextpage // @@ -333,7 +333,7 @@ private void InitializeComponent() this.nextpage.ImageTransparentColor = System.Drawing.Color.Magenta; this.nextpage.Name = "nextpage"; this.nextpage.Size = new System.Drawing.Size(23, 22); - this.nextpage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNextPage; + this.nextpage.ToolTipText = "Next page"; // // lastPage // @@ -343,7 +343,7 @@ private void InitializeComponent() this.lastPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.lastPage.Name = "lastPage"; this.lastPage.Size = new System.Drawing.Size(23, 22); - this.lastPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipLastPage; + this.lastPage.ToolTipText = "Last page"; // // printList // @@ -353,7 +353,7 @@ private void InitializeComponent() this.printList.ImageTransparentColor = System.Drawing.Color.Magenta; this.printList.Name = "printList"; this.printList.Size = new System.Drawing.Size(23, 22); - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingDetailView.Designer.cs index 29bc81a..5632dd2 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Incoming/IncomingDetailView.Designer.cs @@ -99,7 +99,7 @@ private void InitializeComponent() this.toggleDetailPanel.ImageTransparentColor = System.Drawing.Color.Magenta; this.toggleDetailPanel.Name = "toggleDetailPanel"; this.toggleDetailPanel.Size = new System.Drawing.Size(23, 22); - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // @@ -109,7 +109,7 @@ private void InitializeComponent() this.printDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.printDetail.Name = "printDetail"; this.printDetail.Size = new System.Drawing.Size(23, 22); - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // @@ -119,7 +119,7 @@ private void InitializeComponent() this.cancel.ImageTransparentColor = System.Drawing.Color.Magenta; this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(23, 22); - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // @@ -129,7 +129,7 @@ private void InitializeComponent() this.save.ImageTransparentColor = System.Drawing.Color.Magenta; this.save.Name = "save"; this.save.Size = new System.Drawing.Size(23, 22); - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // @@ -139,7 +139,7 @@ private void InitializeComponent() this.editDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.editDetail.Name = "editDetail"; this.editDetail.Size = new System.Drawing.Size(23, 22); - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // @@ -149,7 +149,7 @@ private void InitializeComponent() this.createRegister.ImageTransparentColor = System.Drawing.Color.Magenta; this.createRegister.Name = "createRegister"; this.createRegister.Size = new System.Drawing.Size(23, 22); - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // panelTitle // @@ -185,7 +185,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -209,7 +209,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 126); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -234,7 +234,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -252,7 +252,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -270,7 +270,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -288,7 +288,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -306,7 +306,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -324,7 +324,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_Subject // @@ -344,7 +344,7 @@ private void InitializeComponent() this.subjectLabel.Name = "subjectLabel"; this.subjectLabel.Size = new System.Drawing.Size(45, 13); this.subjectLabel.Text = "Subject"; - this.toolTip.SetToolTip(this.subjectLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSubject); + this.toolTip.SetToolTip(this.subjectLabel, "Document subject"); // // model_SenderName // @@ -362,7 +362,7 @@ private void InitializeComponent() this.senderNameLabel.Name = "senderNameLabel"; this.senderNameLabel.Size = new System.Drawing.Size(69, 13); this.senderNameLabel.Text = "Origin"; - this.toolTip.SetToolTip(this.senderNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSenderName); + this.toolTip.SetToolTip(this.senderNameLabel, "Origin of the document"); // // model_ReceptionDate // @@ -380,7 +380,7 @@ private void InitializeComponent() this.receptionDateLabel.Name = "receptionDateLabel"; this.receptionDateLabel.Size = new System.Drawing.Size(93, 13); this.receptionDateLabel.Text = "Reception date"; - this.toolTip.SetToolTip(this.receptionDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionDate); + this.toolTip.SetToolTip(this.receptionDateLabel, "Document reception date."); // // model_RoutedTo // @@ -398,7 +398,7 @@ private void InitializeComponent() this.routedToLabel.Name = "routedToLabel"; this.routedToLabel.Size = new System.Drawing.Size(89, 13); this.routedToLabel.Text = "Circulation"; - this.toolTip.SetToolTip(this.routedToLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRoutedTo); + this.toolTip.SetToolTip(this.routedToLabel, "Person or department for whom the document was forwarded."); // // model_Notes // @@ -434,8 +434,8 @@ private void InitializeComponent() this.archiveLocationLabel.Location = new System.Drawing.Point(480, 244); this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(64, 13); - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.archiveLocationLabel.Text = "Location"; + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // audit // @@ -465,7 +465,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateIncoming; + this.whenEmptyCreateRegister.Text = "Click to create an incoming mail register"; this.whenEmptyCreateRegister.UseVisualStyleBackColor = true; this.whenEmptyCreateRegister.Visible = false; // diff --git a/Source/Codisa.InterwayDocs.WindowsForms/MainForm.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/MainForm.Designer.cs index b15a5d6..463a016 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/MainForm.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/MainForm.Designer.cs @@ -68,19 +68,19 @@ private void InitializeComponent() // this.openIncomingBook.Name = "openIncomingBook"; this.openIncomingBook.Size = new System.Drawing.Size(70, 23); - this.openIncomingBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelIncoming; + this.openIncomingBook.Text = "Incoming"; // // openOutgoingBook // this.openOutgoingBook.Name = "openOutgoingBook"; this.openOutgoingBook.Size = new System.Drawing.Size(70, 23); - this.openOutgoingBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelOutgoing; + this.openOutgoingBook.Text = "Outgoing"; // // openDeliveryBook // this.openDeliveryBook.Name = "openDeliveryBook"; this.openDeliveryBook.Size = new System.Drawing.Size(61, 23); - this.openDeliveryBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDelivery; + this.openDeliveryBook.Text = "Delivery"; // // toolsMenuItem // @@ -91,32 +91,32 @@ private void InitializeComponent() this.import}); this.toolsMenuItem.Name = "toolsMenuItem"; this.toolsMenuItem.Size = new System.Drawing.Size(47, 23); - this.toolsMenuItem.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelTools; + this.toolsMenuItem.Text = "Tools"; this.toolsMenuItem.Visible = false; // // backup // this.backup.Name = "backup"; this.backup.Size = new System.Drawing.Size(181, 22); - this.backup.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsBackupLabel; + this.backup.Text = "Make a data backup"; // // restore // this.restore.Name = "restore"; this.restore.Size = new System.Drawing.Size(181, 22); - this.restore.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsRestoreLabel; + this.restore.Text = "Restore data backup"; // // export // this.export.Name = "export"; this.export.Size = new System.Drawing.Size(181, 22); - this.export.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsExportlabel; + this.export.Text = "Export data"; // // import // this.import.Name = "import"; this.import.Size = new System.Drawing.Size(181, 22); - this.import.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsImportLabel; + this.import.Text = "Import data"; // // helpMenuItem // @@ -125,19 +125,19 @@ private void InitializeComponent() this.pdfManual}); this.helpMenuItem.Name = "helpMenuItem"; this.helpMenuItem.Size = new System.Drawing.Size(44, 23); - this.helpMenuItem.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelHelp; + this.helpMenuItem.Text = "Help"; // // about // this.about.Name = "about"; this.about.Size = new System.Drawing.Size(181, 22); - this.about.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelAboutApplication; + this.about.Text = "About InterwayDocs"; // // pdfManual // this.pdfManual.Name = "pdfManual"; this.pdfManual.Size = new System.Drawing.Size(181, 22); - this.pdfManual.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocumentation; + this.pdfManual.Text = "Show Manual (PDF)"; // // language // @@ -151,7 +151,7 @@ private void InitializeComponent() this.languageLabel.Alignment = System.Windows.Forms.ToolStripItemAlignment.Right; this.languageLabel.Name = "languageLabel"; this.languageLabel.Size = new System.Drawing.Size(71, 23); - this.languageLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.Language; + this.languageLabel.Text = "Language"; this.languageLabel.TextAlign = System.Drawing.ContentAlignment.TopCenter; // // statusBar diff --git a/Source/Codisa.InterwayDocs.WindowsForms/MainForm.cs b/Source/Codisa.InterwayDocs.WindowsForms/MainForm.cs index 1e3aff6..4d07b4b 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/MainForm.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/MainForm.cs @@ -35,6 +35,8 @@ public MainForm() private void MainForm_Load(object sender, EventArgs e) { + SetResources(); + var languages = LanguageList.GetLanguageList(); foreach (var lang in languages) { @@ -94,22 +96,36 @@ public void MarkActiveMenuItem(string menuItem) switch (menuItem) { case "IncomingBook": - BackColorHelper(SystemColors.MenuHighlight, SystemColors.Control, SystemColors.Control); + MenuItemColorHelper(true, false, false); break; case "OutgoingBook": - BackColorHelper(SystemColors.Control, SystemColors.MenuHighlight, SystemColors.Control); + MenuItemColorHelper(false, true, false); break; case "DeliveryBook": - BackColorHelper(SystemColors.Control, SystemColors.Control, SystemColors.MenuHighlight); + MenuItemColorHelper(false, false, true); break; } } - private void BackColorHelper(Color incoming, Color outgoing, Color delivery) + private void MenuItemColorHelper(bool incoming, bool outgoing, bool delivery) + { + SetMenuItemColours(openIncomingBook, incoming); + SetMenuItemColours(openOutgoingBook, outgoing); + SetMenuItemColours(openDeliveryBook, delivery); + } + + private void SetMenuItemColours(ToolStripItem item, bool active) { - openIncomingBook.BackColor = incoming; - openOutgoingBook.BackColor = outgoing; - openDeliveryBook.BackColor = delivery; + if (active) + { + item.BackColor = SystemColors.MenuHighlight; + item.ForeColor = Color.White; + } + else + { + item.BackColor = SystemColors.Control; + item.ForeColor = SystemColors.ControlText; + } } #endregion @@ -132,6 +148,14 @@ public void BindMenuItems(List namedElements) #region Translations public void RefreshTranslation() + { + SetResources(); + + language.SelectedIndex = LanguageList.GetLanguageList() + .FindLanguageInfoByUICulture(ApplicationContext.UICulture).Index; + } + + private void SetResources() { openIncomingBook.Text = "LabelIncoming".GetUiTranslation(); openOutgoingBook.Text = "LabelOutgoing".GetUiTranslation(); diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingBookView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingBookView.Designer.cs index 6e412f4..5205d80 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingBookView.Designer.cs @@ -128,7 +128,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -140,7 +140,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); this.toggleSearchArea.UseVisualStyleBackColor = true; // // searchPanel @@ -170,8 +170,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -189,9 +189,9 @@ private void InitializeComponent() this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(70, 13); this.archiveLocationLabel.TabStop = false; - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; + this.archiveLocationLabel.Text = "Location"; this.archiveLocationLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // criteria_ArchiveLocation // @@ -210,8 +210,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -227,9 +227,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -247,9 +247,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -267,7 +267,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.UseVisualStyleBackColor = true; this.search.MouseHover += new System.EventHandler(this.ForceValidation); // @@ -303,7 +303,7 @@ private void InitializeComponent() this.firstPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.firstPage.Name = "firstPage"; this.firstPage.Size = new System.Drawing.Size(23, 22); - this.firstPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipFirstPage; + this.firstPage.ToolTipText = "First page"; // // previousPage // @@ -313,7 +313,7 @@ private void InitializeComponent() this.previousPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.previousPage.Name = "previousPage"; this.previousPage.Size = new System.Drawing.Size(23, 22); - this.previousPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipPreviousPage; + this.previousPage.ToolTipText = "Previous page"; // // currentPage // @@ -323,7 +323,7 @@ private void InitializeComponent() this.currentPage.Size = new System.Drawing.Size(50, 25); this.currentPage.Text = "1 / 1"; this.currentPage.TextBoxTextAlign = System.Windows.Forms.HorizontalAlignment.Center; - this.currentPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCurrentPageTotalPages; + this.currentPage.ToolTipText = "Page nr. / Page total"; // // nextpage // @@ -333,7 +333,7 @@ private void InitializeComponent() this.nextpage.ImageTransparentColor = System.Drawing.Color.Magenta; this.nextpage.Name = "nextpage"; this.nextpage.Size = new System.Drawing.Size(23, 22); - this.nextpage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNextPage; + this.nextpage.ToolTipText = "Next page"; // // lastPage // @@ -343,7 +343,7 @@ private void InitializeComponent() this.lastPage.ImageTransparentColor = System.Drawing.Color.Magenta; this.lastPage.Name = "lastPage"; this.lastPage.Size = new System.Drawing.Size(23, 22); - this.lastPage.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipLastPage; + this.lastPage.ToolTipText = "Last page"; // // printList // @@ -353,7 +353,7 @@ private void InitializeComponent() this.printList.ImageTransparentColor = System.Drawing.Color.Magenta; this.printList.Name = "printList"; this.printList.Size = new System.Drawing.Size(23, 22); - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingDetailView.Designer.cs index aae471b..9a6b522 100644 --- a/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WindowsForms/Outgoing/OutgoingDetailView.Designer.cs @@ -99,7 +99,7 @@ private void InitializeComponent() this.toggleDetailPanel.ImageTransparentColor = System.Drawing.Color.Magenta; this.toggleDetailPanel.Name = "toggleDetailPanel"; this.toggleDetailPanel.Size = new System.Drawing.Size(23, 22); - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // @@ -109,7 +109,7 @@ private void InitializeComponent() this.printDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.printDetail.Name = "printDetail"; this.printDetail.Size = new System.Drawing.Size(23, 22); - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // @@ -119,7 +119,7 @@ private void InitializeComponent() this.cancel.ImageTransparentColor = System.Drawing.Color.Magenta; this.cancel.Name = "cancel"; this.cancel.Size = new System.Drawing.Size(23, 22); - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // @@ -129,7 +129,7 @@ private void InitializeComponent() this.save.ImageTransparentColor = System.Drawing.Color.Magenta; this.save.Name = "save"; this.save.Size = new System.Drawing.Size(23, 22); - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // @@ -139,7 +139,7 @@ private void InitializeComponent() this.editDetail.ImageTransparentColor = System.Drawing.Color.Magenta; this.editDetail.Name = "editDetail"; this.editDetail.Size = new System.Drawing.Size(23, 22); - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // @@ -149,7 +149,7 @@ private void InitializeComponent() this.createRegister.ImageTransparentColor = System.Drawing.Color.Magenta; this.createRegister.Name = "createRegister"; this.createRegister.Size = new System.Drawing.Size(23, 22); - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // panelTitle // @@ -185,7 +185,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -209,7 +209,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 126); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -234,7 +234,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -252,7 +252,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -270,7 +270,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -288,7 +288,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -306,7 +306,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -324,7 +324,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_Subject // @@ -344,7 +344,7 @@ private void InitializeComponent() this.subjectLabel.Name = "subjectLabel"; this.subjectLabel.Size = new System.Drawing.Size(45, 13); this.subjectLabel.Text = "Subject"; - this.toolTip.SetToolTip(this.subjectLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSubject); + this.toolTip.SetToolTip(this.subjectLabel, "Document subject"); // // model_SendDate // @@ -362,7 +362,7 @@ private void InitializeComponent() this.sendDateLabel.Name = "sendDateLabel"; this.sendDateLabel.Size = new System.Drawing.Size(93, 13); this.sendDateLabel.Text = "Sent date"; - this.toolTip.SetToolTip(this.sendDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSendDate); + this.toolTip.SetToolTip(this.sendDateLabel, "Date of document dispatch"); // // model_RecipientName // @@ -380,7 +380,7 @@ private void InitializeComponent() this.recipientNameLabel.Name = "recipientNameLabel"; this.recipientNameLabel.Size = new System.Drawing.Size(69, 13); this.recipientNameLabel.Text = "Recipient"; - this.toolTip.SetToolTip(this.recipientNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientName); + this.toolTip.SetToolTip(this.recipientNameLabel, "Document recipient"); // // model_RecipientTown // @@ -398,7 +398,7 @@ private void InitializeComponent() this.recipientTownLabel.Name = "recipientTownLabel"; this.recipientTownLabel.Size = new System.Drawing.Size(89, 13); this.recipientTownLabel.Text = "Town"; - this.toolTip.SetToolTip(this.recipientTownLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientTown); + this.toolTip.SetToolTip(this.recipientTownLabel, "Document recipient town"); // // model_Notes // @@ -434,8 +434,8 @@ private void InitializeComponent() this.archiveLocationLabel.Location = new System.Drawing.Point(480, 244); this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(64, 13); - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.archiveLocationLabel.Text = "Location"; + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // audit // @@ -465,7 +465,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateOutgoing; + this.whenEmptyCreateRegister.Text = "Click to create an outgoing mail register"; this.whenEmptyCreateRegister.UseVisualStyleBackColor = true; this.whenEmptyCreateRegister.Visible = false; // diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryBookView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryBookView.Designer.cs index 3a7a950..9fa7b61 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryBookView.Designer.cs @@ -1,6 +1,4 @@ -using System.Drawing; - -namespace Codisa.InterwayDocs.Delivery +namespace Codisa.InterwayDocs.Delivery { partial class DeliveryBookView { @@ -123,7 +121,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -133,7 +131,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); // // searchPanel // @@ -160,8 +158,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -180,8 +178,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -197,9 +195,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -217,9 +215,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -237,7 +235,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.MouseHover += new System.EventHandler(this.ForceValidation); this.toolTip.SetToolTip(this.search, null); // @@ -261,7 +259,7 @@ private void InitializeComponent() // this.printList.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printList.Name = "printList"; - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryDetailView.Designer.cs index d7ca319..247ec8e 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Delivery/DeliveryDetailView.Designer.cs @@ -95,37 +95,37 @@ private void InitializeComponent() // this.toggleDetailPanel.Image = global::Codisa.InterwayDocs.Properties.Resources.ArrowDown16; this.toggleDetailPanel.Name = "toggleDetailPanel"; - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // this.printDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printDetail.Name = "printDetail"; - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // this.cancel.Image = global::Codisa.InterwayDocs.Properties.Resources.Delete16; this.cancel.Name = "cancel"; - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // this.save.Image = global::Codisa.InterwayDocs.Properties.Resources.Save16; this.save.Name = "save"; - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // this.editDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Edit16; this.editDetail.Name = "editDetail"; - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // this.createRegister.Image = global::Codisa.InterwayDocs.Properties.Resources.AddNew16; this.createRegister.Name = "createRegister"; - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // registerId // @@ -151,7 +151,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -175,7 +175,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 100); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -200,7 +200,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -218,7 +218,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -236,7 +236,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -254,7 +254,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -272,7 +272,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -290,7 +290,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_RecipientName // @@ -308,7 +308,7 @@ private void InitializeComponent() this.recipientNameLabel.Name = "recipientNameLabel"; this.recipientNameLabel.Size = new System.Drawing.Size(45, 13); this.recipientNameLabel.Text = "Recipient"; - this.toolTip.SetToolTip(this.recipientNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientName); + this.toolTip.SetToolTip(this.recipientNameLabel, "Document recipient"); // // model_ExpeditorName // @@ -326,7 +326,7 @@ private void InitializeComponent() this.expeditorNameLabel.Name = "expeditorNameLabel"; this.expeditorNameLabel.Size = new System.Drawing.Size(69, 13); this.expeditorNameLabel.Text = "Sent by"; - this.toolTip.SetToolTip(this.expeditorNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipExpeditorName); + this.toolTip.SetToolTip(this.expeditorNameLabel, "Person that sent the document"); // // model_ReceptionName // @@ -344,7 +344,7 @@ private void InitializeComponent() this.receptionNameLabel.Name = "receptionNameLabel"; this.receptionNameLabel.Size = new System.Drawing.Size(89, 13); this.receptionNameLabel.Text = "Received by"; - this.toolTip.SetToolTip(this.receptionNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionName); + this.toolTip.SetToolTip(this.receptionNameLabel, "Person who received the document"); // // model_ReceptionDate // @@ -362,7 +362,7 @@ private void InitializeComponent() this.receptionDateLabel.Name = "receptionDateLabel"; this.receptionDateLabel.Size = new System.Drawing.Size(93, 13); this.receptionDateLabel.Text = "Reception date"; - this.toolTip.SetToolTip(this.receptionDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionDate); + this.toolTip.SetToolTip(this.receptionDateLabel, "Document reception date."); // // audit // @@ -391,7 +391,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateDelivery; + this.whenEmptyCreateRegister.Text = "Click to create a delivery mail register"; this.whenEmptyCreateRegister.Visible = false; // // DeliveryDetailView diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingBookView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingBookView.Designer.cs index 45f87fc..593bcb3 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingBookView.Designer.cs @@ -1,6 +1,4 @@ -using System.Drawing; - -namespace Codisa.InterwayDocs.Incoming +namespace Codisa.InterwayDocs.Incoming { partial class IncomingBookView { @@ -125,7 +123,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -135,7 +133,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); // // searchPanel // @@ -164,8 +162,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -183,9 +181,9 @@ private void InitializeComponent() this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(70, 13); this.archiveLocationLabel.TabStop = false; - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; + this.archiveLocationLabel.Text = "Location"; this.archiveLocationLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // criteria_ArchiveLocation // @@ -204,8 +202,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -221,9 +219,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -241,9 +239,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -261,7 +259,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.MouseHover += new System.EventHandler(this.ForceValidation); this.toolTip.SetToolTip(this.search, null); // @@ -285,7 +283,7 @@ private void InitializeComponent() // this.printList.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printList.Name = "printList"; - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingDetailView.Designer.cs index bf68cee..51c10c2 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Incoming/IncomingDetailView.Designer.cs @@ -99,37 +99,37 @@ private void InitializeComponent() // this.toggleDetailPanel.Image = global::Codisa.InterwayDocs.Properties.Resources.ArrowDown16; this.toggleDetailPanel.Name = "toggleDetailPanel"; - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // this.printDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printDetail.Name = "printDetail"; - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // this.cancel.Image = global::Codisa.InterwayDocs.Properties.Resources.Delete16; this.cancel.Name = "cancel"; - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // this.save.Image = global::Codisa.InterwayDocs.Properties.Resources.Save16; this.save.Name = "save"; - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // this.editDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Edit16; this.editDetail.Name = "editDetail"; - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // this.createRegister.Image = global::Codisa.InterwayDocs.Properties.Resources.AddNew16; this.createRegister.Name = "createRegister"; - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // registerId // @@ -155,7 +155,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -179,7 +179,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 126); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -204,7 +204,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -222,7 +222,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -240,7 +240,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -258,7 +258,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -276,7 +276,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -294,7 +294,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_Subject // @@ -314,7 +314,7 @@ private void InitializeComponent() this.subjectLabel.Name = "subjectLabel"; this.subjectLabel.Size = new System.Drawing.Size(45, 13); this.subjectLabel.Text = "Subject"; - this.toolTip.SetToolTip(this.subjectLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSubject); + this.toolTip.SetToolTip(this.subjectLabel, "Document subject"); // // model_SenderName // @@ -332,7 +332,7 @@ private void InitializeComponent() this.senderNameLabel.Name = "senderNameLabel"; this.senderNameLabel.Size = new System.Drawing.Size(69, 13); this.senderNameLabel.Text = "Origin"; - this.toolTip.SetToolTip(this.senderNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSenderName); + this.toolTip.SetToolTip(this.senderNameLabel, "Origin of the document"); // // model_ReceptionDate // @@ -350,7 +350,7 @@ private void InitializeComponent() this.receptionDateLabel.Name = "receptionDateLabel"; this.receptionDateLabel.Size = new System.Drawing.Size(93, 13); this.receptionDateLabel.Text = "Reception date"; - this.toolTip.SetToolTip(this.receptionDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipReceptionDate); + this.toolTip.SetToolTip(this.receptionDateLabel, "Document reception date."); // // model_RoutedTo // @@ -368,7 +368,7 @@ private void InitializeComponent() this.routedToLabel.Name = "routedToLabel"; this.routedToLabel.Size = new System.Drawing.Size(89, 13); this.routedToLabel.Text = "Circulation"; - this.toolTip.SetToolTip(this.routedToLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRoutedTo); + this.toolTip.SetToolTip(this.routedToLabel, "Person or department for whom the document was forwarded."); // // model_Notes // @@ -404,8 +404,8 @@ private void InitializeComponent() this.archiveLocationLabel.Location = new System.Drawing.Point(480, 244); this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(64, 13); - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.archiveLocationLabel.Text = "Location"; + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // audit // @@ -434,7 +434,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateIncoming; + this.whenEmptyCreateRegister.Text = "Click to create an incoming mail register"; this.whenEmptyCreateRegister.Visible = false; // // IncomingDetailView diff --git a/Source/Codisa.InterwayDocs.WisejWeb/MainForm.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/MainForm.Designer.cs index 801161b..51ff12a 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/MainForm.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/MainForm.Designer.cs @@ -28,16 +28,18 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.mainMenu = new Wisej.Web.MenuBar(); - this.openIncomingBook = new Wisej.Web.MenuItem(); - this.openOutgoingBook = new Wisej.Web.MenuItem(); - this.openDeliveryBook = new Wisej.Web.MenuItem(); - this.toolsMenuItem = new Wisej.Web.MenuItem(); + this.mainMenu = new Wisej.Web.ToolBar(); + this.openIncomingBook = new Wisej.Web.ToolBarButton(); + this.openOutgoingBook = new Wisej.Web.ToolBarButton(); + this.openDeliveryBook = new Wisej.Web.ToolBarButton(); + this.toolsMenuItem = new Wisej.Web.ToolBarButton(); + this.toolsMenu = new Wisej.Web.ContextMenu(); this.backup = new Wisej.Web.MenuItem(); this.restore = new Wisej.Web.MenuItem(); this.export = new Wisej.Web.MenuItem(); this.import = new Wisej.Web.MenuItem(); - this.helpMenuItem = new Wisej.Web.MenuItem(); + this.helpMenuItem = new Wisej.Web.ToolBarButton(); + this.helpMenu = new Wisej.Web.ContextMenu(); this.about = new Wisej.Web.MenuItem(); this.pdfManual = new Wisej.Web.MenuItem(); this.language = new Wisej.Web.ComboBox(); @@ -51,91 +53,101 @@ private void InitializeComponent() // this.mainMenu.Dock = Wisej.Web.DockStyle.Top; this.mainMenu.Location = new System.Drawing.Point(0, 0); - this.mainMenu.MenuItems.AddRange(new Wisej.Web.MenuItem[] { + this.mainMenu.Buttons.AddRange(new Wisej.Web.ToolBarButton[] { this.openIncomingBook, this.openOutgoingBook, this.openDeliveryBook, this.toolsMenuItem, this.helpMenuItem}); this.mainMenu.Name = "mainMenu"; - this.mainMenu.Size = new System.Drawing.Size(1006, 22); + this.mainMenu.Size = new System.Drawing.Size(1006, 26); this.mainMenu.TabIndex = 0; this.mainMenu.TabStop = false; // // openIncomingBook // - this.openIncomingBook.Index = 0; this.openIncomingBook.Name = "openIncomingBook"; - this.openIncomingBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelIncoming; + this.openIncomingBook.Style = Wisej.Web.ToolBarButtonStyle.ToggleButton; + this.openIncomingBook.Text = "Incoming"; // // openOutgoingBook // - this.openOutgoingBook.Index = 1; this.openOutgoingBook.Name = "openOutgoingBook"; - this.openOutgoingBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelOutgoing; + this.openOutgoingBook.Style = Wisej.Web.ToolBarButtonStyle.ToggleButton; + this.openOutgoingBook.Text = "Outgoing"; // // openDeliveryBook // - this.openDeliveryBook.Index = 2; this.openDeliveryBook.Name = "openDeliveryBook"; - this.openDeliveryBook.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDelivery; + this.openDeliveryBook.Style = Wisej.Web.ToolBarButtonStyle.ToggleButton; + this.openDeliveryBook.Text = "Delivery"; // // toolsMenuItem // - this.toolsMenuItem.Index = 3; - this.toolsMenuItem.MenuItems.AddRange(new Wisej.Web.MenuItem[] { + this.toolsMenuItem.DropDownMenu = this.toolsMenu; + this.toolsMenuItem.Name = "toolsMenuItem"; + this.toolsMenuItem.Style = Wisej.Web.ToolBarButtonStyle.DropDownButton; + this.toolsMenuItem.Text = "Tools"; + this.toolsMenuItem.Visible = false; + // + // toolsMenu + // + this.toolsMenu.MenuItems.AddRange(new Wisej.Web.MenuItem[] { this.backup, this.restore, this.export, this.import}); - this.toolsMenuItem.Name = "toolsMenuItem"; - this.toolsMenuItem.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelTools; - this.toolsMenuItem.Visible = false; + this.toolsMenu.Name = "toolsMenu"; // // backup // this.backup.Index = 0; this.backup.Name = "backup"; - this.backup.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsBackupLabel; + this.backup.Text = "Make a data backup"; // // restore // this.restore.Index = 1; this.restore.Name = "restore"; - this.restore.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsRestoreLabel; + this.restore.Text = "Restore data backup"; // // export // this.export.Index = 2; this.export.Name = "export"; - this.export.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsExportlabel; + this.export.Text = "Export data"; // // import // this.import.Index = 3; this.import.Name = "import"; - this.import.Text = global::Codisa.InterwayDocs.Properties.Resources.ToolsImportLabel; + this.import.Text = "Import data"; // // helpMenuItem // - this.helpMenuItem.Index = 4; - this.helpMenuItem.MenuItems.AddRange(new Wisej.Web.MenuItem[] { + this.helpMenuItem.DropDownMenu = this.helpMenu; + this.helpMenuItem.Style = Wisej.Web.ToolBarButtonStyle.DropDownButton; + this.helpMenuItem.Name = "helpMenuItem"; + this.helpMenuItem.Text = "Help"; + // + // helpMenu + // + this.helpMenu.MenuItems.AddRange(new Wisej.Web.MenuItem[] { this.about, this.pdfManual}); - this.helpMenuItem.Name = "helpMenuItem"; - this.helpMenuItem.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelHelp; + this.helpMenu.Name = "helpMenu"; // // about // this.about.Index = 0; this.about.Name = "about"; - this.about.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelAboutApplication; + this.about.Text = "About InterwayDocs"; // // pdfManual // this.pdfManual.Index = 1; this.pdfManual.Name = "pdfManual"; - this.pdfManual.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocumentation; + this.pdfManual.Text = "Show Manual (PDF)"; // // language // @@ -153,7 +165,7 @@ private void InitializeComponent() this.languageLabel.Name = "languageLabel"; this.languageLabel.Size = new System.Drawing.Size(100, 13); this.languageLabel.TabIndex = 4; - this.languageLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.Language; + this.languageLabel.Text = "Language"; this.languageLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // // statusBar @@ -195,7 +207,6 @@ private void InitializeComponent() this.Controls.Add(this.activeItem); this.Controls.Add(this.statusBar); this.Controls.Add(this.mainMenu); - this.Movable = false; this.Name = "MainForm"; this.Load += new System.EventHandler(this.MainForm_Load); this.ResumeLayout(false); @@ -205,17 +216,19 @@ private void InitializeComponent() #endregion - private Wisej.Web.MenuBar mainMenu; + private Wisej.Web.ToolBar mainMenu; private Wisej.Web.StatusBar statusBar; - private Wisej.Web.MenuItem openIncomingBook; - private Wisej.Web.MenuItem openOutgoingBook; - private Wisej.Web.MenuItem openDeliveryBook; - private Wisej.Web.MenuItem toolsMenuItem; + private Wisej.Web.ToolBarButton openIncomingBook; + private Wisej.Web.ToolBarButton openOutgoingBook; + private Wisej.Web.ToolBarButton openDeliveryBook; + private Wisej.Web.ToolBarButton toolsMenuItem; + private Wisej.Web.ContextMenu toolsMenu; private Wisej.Web.MenuItem backup; private Wisej.Web.MenuItem restore; private Wisej.Web.MenuItem export; private Wisej.Web.MenuItem import; - private Wisej.Web.MenuItem helpMenuItem; + private Wisej.Web.ToolBarButton helpMenuItem; + private Wisej.Web.ContextMenu helpMenu; private Wisej.Web.MenuItem about; private Wisej.Web.MenuItem pdfManual; private MvvmFx.CaliburnMicro.ContentContainer activeItem; diff --git a/Source/Codisa.InterwayDocs.WisejWeb/MainForm.cs b/Source/Codisa.InterwayDocs.WisejWeb/MainForm.cs index 2ff8cc8..6fbbd6c 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/MainForm.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/MainForm.cs @@ -113,22 +113,22 @@ public void MarkActiveMenuItem(string menuItem) switch (menuItem) { case "IncomingBook": - BackColorHelper(SystemColors.MenuHighlight, SystemColors.Control, SystemColors.Control); + MenuItemColorHelper(true, false, false); break; case "OutgoingBook": - BackColorHelper(SystemColors.Control, SystemColors.MenuHighlight, SystemColors.Control); + MenuItemColorHelper(false, true, false); break; case "DeliveryBook": - BackColorHelper(SystemColors.Control, SystemColors.Control, SystemColors.MenuHighlight); + MenuItemColorHelper(false, false, true); break; } } - private void BackColorHelper(Color incoming, Color outgoing, Color delivery) + private void MenuItemColorHelper(bool incoming, bool outgoing, bool delivery) { - /*openIncomingBook.ForeColor = incoming; - openOutgoingBook.ForeColor = outgoing; - openDeliveryBook.ForeColor = delivery;*/ + openIncomingBook.Pushed = incoming; + openOutgoingBook.Pushed = outgoing; + openDeliveryBook.Pushed = delivery; } #endregion diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingBookView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingBookView.Designer.cs index 4d7180a..0ddab30 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingBookView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingBookView.Designer.cs @@ -1,6 +1,4 @@ -using System.Drawing; - -namespace Codisa.InterwayDocs.Outgoing +namespace Codisa.InterwayDocs.Outgoing { partial class OutgoingBookView { @@ -125,7 +123,7 @@ private void InitializeComponent() this.fastDate.Name = "fastDate"; this.fastDate.Size = new System.Drawing.Size(121, 21); this.fastDate.TabIndex = 1; - this.toolTip.SetToolTip(this.fastDate, global::Codisa.InterwayDocs.Properties.Resources.FastDateToolTip); + this.toolTip.SetToolTip(this.fastDate, "Select search mode."); // // toggleSearchArea // @@ -135,7 +133,7 @@ private void InitializeComponent() this.toggleSearchArea.Name = "toggleSearchArea"; this.toggleSearchArea.Size = new System.Drawing.Size(23, 23); this.toggleSearchArea.TabIndex = 2; - this.toolTip.SetToolTip(this.toggleSearchArea, global::Codisa.InterwayDocs.Properties.Resources.HideSearchPanel); + this.toolTip.SetToolTip(this.toggleSearchArea, "Hide search panel"); // // searchPanel // @@ -164,8 +162,8 @@ private void InitializeComponent() this.fullTextLabel.Name = "fullTextLabel"; this.fullTextLabel.Size = new System.Drawing.Size(56, 13); this.fullTextLabel.TabStop = false; - this.fullTextLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelFullText; - this.toolTip.SetToolTip(this.fullTextLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipFullText); + this.fullTextLabel.Text = "Free text"; + this.toolTip.SetToolTip(this.fullTextLabel, "Type the words that will be searched in all fields, up to three words."); // // criteria_FullText // @@ -183,9 +181,9 @@ private void InitializeComponent() this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(70, 13); this.archiveLocationLabel.TabStop = false; - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; + this.archiveLocationLabel.Text = "Location"; this.archiveLocationLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // criteria_ArchiveLocation // @@ -204,8 +202,8 @@ private void InitializeComponent() this.dateTypeLabel.Name = "dateTypeLabel"; this.dateTypeLabel.Size = new System.Drawing.Size(35, 13); this.dateTypeLabel.TabStop = false; - this.dateTypeLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDates; - this.toolTip.SetToolTip(this.dateTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDates); + this.dateTypeLabel.Text = "Dates"; + this.toolTip.SetToolTip(this.dateTypeLabel, "Select the date type you want to search for."); // // dateType // @@ -221,9 +219,9 @@ private void InitializeComponent() this.startDateLabel.Name = "startDateLabel"; this.startDateLabel.Size = new System.Drawing.Size(40, 13); this.startDateLabel.TabStop = false; - this.startDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelStartDate; + this.startDateLabel.Text = "Since"; this.startDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.startDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipStartDate); + this.toolTip.SetToolTip(this.startDateLabel, "Search since this date (inclusive). If empty, finds the oldest documents."); // // criteria_StartDate // @@ -241,9 +239,9 @@ private void InitializeComponent() this.endDateLabel.Name = "endDateLabel"; this.endDateLabel.Size = new System.Drawing.Size(40, 13); this.endDateLabel.TabStop = false; - this.endDateLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelEndDate; + this.endDateLabel.Text = "Until"; this.endDateLabel.TextAlign = System.Drawing.ContentAlignment.TopRight; - this.toolTip.SetToolTip(this.endDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipEndDate); + this.toolTip.SetToolTip(this.endDateLabel, "Search until this date (inclusive). If empty, finds the newest documents."); // // criteria_EndDate // @@ -261,7 +259,7 @@ private void InitializeComponent() this.search.Name = "search"; this.search.Size = new System.Drawing.Size(75, 23); this.search.TabIndex = 9; - this.search.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelSearch; + this.search.Text = "Search"; this.search.MouseHover += new System.EventHandler(this.ForceValidation); this.toolTip.SetToolTip(this.search, null); // @@ -285,7 +283,7 @@ private void InitializeComponent() // this.printList.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printList.Name = "printList"; - this.printList.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportListExcel; + this.printList.ToolTipText = "Export the list to Excel"; // // dataGridView // diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingDetailView.Designer.cs b/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingDetailView.Designer.cs index ea5ca26..83ef209 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingDetailView.Designer.cs +++ b/Source/Codisa.InterwayDocs.WisejWeb/Outgoing/OutgoingDetailView.Designer.cs @@ -99,37 +99,37 @@ private void InitializeComponent() // this.toggleDetailPanel.Image = global::Codisa.InterwayDocs.Properties.Resources.ArrowDown16; this.toggleDetailPanel.Name = "toggleDetailPanel"; - this.toggleDetailPanel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipHideDetail; + this.toggleDetailPanel.ToolTipText = "Hide the register"; // // printDetail // this.printDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Excel; this.printDetail.Name = "printDetail"; - this.printDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipExportRegisterExcel; + this.printDetail.ToolTipText = "Export the register to Excel"; // // cancel // this.cancel.Image = global::Codisa.InterwayDocs.Properties.Resources.Delete16; this.cancel.Name = "cancel"; - this.cancel.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipCancel; + this.cancel.ToolTipText = "Cancel changes"; // // save // this.save.Image = global::Codisa.InterwayDocs.Properties.Resources.Save16; this.save.Name = "save"; - this.save.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipSave; + this.save.ToolTipText = "Confirm changes"; // // editDetail // this.editDetail.Image = global::Codisa.InterwayDocs.Properties.Resources.Edit16; this.editDetail.Name = "editDetail"; - this.editDetail.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipEdit; + this.editDetail.ToolTipText = "Edit the register."; // // createRegister // this.createRegister.Image = global::Codisa.InterwayDocs.Properties.Resources.AddNew16; this.createRegister.Name = "createRegister"; - this.createRegister.ToolTipText = global::Codisa.InterwayDocs.Properties.Resources.ToolTipNew; + this.createRegister.ToolTipText = "New register"; // // registerId // @@ -155,7 +155,7 @@ private void InitializeComponent() this.registerDateLabel.Size = new System.Drawing.Size(110, 13); this.registerDateLabel.Text = "Register date"; this.registerDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.registerDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRegisterDate); + this.toolTip.SetToolTip(this.registerDateLabel, "Document creation date."); // // documentGroup // @@ -179,7 +179,7 @@ private void InitializeComponent() this.documentGroup.Size = new System.Drawing.Size(990, 126); this.documentGroup.TabIndex = 2; this.documentGroup.TabStop = false; - this.documentGroup.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelDocument; + this.documentGroup.Text = "Document"; // // verticalDivider1 // @@ -204,7 +204,7 @@ private void InitializeComponent() this.documentTypeLabel.Name = "documentTypeLabel"; this.documentTypeLabel.Size = new System.Drawing.Size(45, 13); this.documentTypeLabel.Text = "Type"; - this.toolTip.SetToolTip(this.documentTypeLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentType); + this.toolTip.SetToolTip(this.documentTypeLabel, "Document type"); // // model_DocumentReference // @@ -222,7 +222,7 @@ private void InitializeComponent() this.documentReferenceLabel.Name = "documentReferenceLabel"; this.documentReferenceLabel.Size = new System.Drawing.Size(44, 13); this.documentReferenceLabel.Text = "Number"; - this.toolTip.SetToolTip(this.documentReferenceLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentNumber); + this.toolTip.SetToolTip(this.documentReferenceLabel, "The number that is written on the document."); // // model_DocumentEntity // @@ -240,7 +240,7 @@ private void InitializeComponent() this.documentEntityLabel.Name = "documentEntityLabel"; this.documentEntityLabel.Size = new System.Drawing.Size(36, 13); this.documentEntityLabel.Text = "Entity"; - this.toolTip.SetToolTip(this.documentEntityLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentEntity); + this.toolTip.SetToolTip(this.documentEntityLabel, "Document Producing Entity"); // // model_DocumentDept // @@ -258,7 +258,7 @@ private void InitializeComponent() this.documentDeptLabel.Name = "documentDeptLabel"; this.documentDeptLabel.Size = new System.Drawing.Size(47, 13); this.documentDeptLabel.Text = "Department"; - this.toolTip.SetToolTip(this.documentDeptLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDept); + this.toolTip.SetToolTip(this.documentDeptLabel, "Department that produced the document."); // // model_DocumentClass // @@ -276,7 +276,7 @@ private void InitializeComponent() this.documentClassLabel.Name = "documentClassLabel"; this.documentClassLabel.Size = new System.Drawing.Size(69, 13); this.documentClassLabel.Text = "Class"; - this.toolTip.SetToolTip(this.documentClassLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentClass); + this.toolTip.SetToolTip(this.documentClassLabel, "Document classification code"); // // model_DocumentDate // @@ -294,7 +294,7 @@ private void InitializeComponent() this.documentDateLabel.Size = new System.Drawing.Size(50, 13); this.documentDateLabel.Text = "Date"; this.documentDateLabel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; - this.toolTip.SetToolTip(this.documentDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipDocumentDate); + this.toolTip.SetToolTip(this.documentDateLabel, "The date that is written on the document."); // // model_Subject // @@ -314,7 +314,7 @@ private void InitializeComponent() this.subjectLabel.Name = "subjectLabel"; this.subjectLabel.Size = new System.Drawing.Size(45, 13); this.subjectLabel.Text = "Subject"; - this.toolTip.SetToolTip(this.subjectLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSubject); + this.toolTip.SetToolTip(this.subjectLabel, "Document subject"); // // model_SendDate // @@ -332,7 +332,7 @@ private void InitializeComponent() this.sendDateLabel.Name = "sendDateLabel"; this.sendDateLabel.Size = new System.Drawing.Size(93, 13); this.sendDateLabel.Text = "Sent date"; - this.toolTip.SetToolTip(this.sendDateLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipSendDate); + this.toolTip.SetToolTip(this.sendDateLabel, "Date of document dispatch"); // // model_RecipientName // @@ -350,7 +350,7 @@ private void InitializeComponent() this.recipientNameLabel.Name = "recipientNameLabel"; this.recipientNameLabel.Size = new System.Drawing.Size(69, 13); this.recipientNameLabel.Text = "Recipient"; - this.toolTip.SetToolTip(this.recipientNameLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientName); + this.toolTip.SetToolTip(this.recipientNameLabel, "Document recipient"); // // model_RecipientTown // @@ -368,7 +368,7 @@ private void InitializeComponent() this.recipientTownLabel.Name = "recipientTownLabel"; this.recipientTownLabel.Size = new System.Drawing.Size(89, 13); this.recipientTownLabel.Text = "Town"; - this.toolTip.SetToolTip(this.recipientTownLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipRecipientTown); + this.toolTip.SetToolTip(this.recipientTownLabel, "Document recipient town"); // // model_Notes // @@ -404,8 +404,8 @@ private void InitializeComponent() this.archiveLocationLabel.Location = new System.Drawing.Point(480, 244); this.archiveLocationLabel.Name = "archiveLocationLabel"; this.archiveLocationLabel.Size = new System.Drawing.Size(64, 13); - this.archiveLocationLabel.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelArchiveLocation; - this.toolTip.SetToolTip(this.archiveLocationLabel, global::Codisa.InterwayDocs.Properties.Resources.ToolTipLocation); + this.archiveLocationLabel.Text = "Location"; + this.toolTip.SetToolTip(this.archiveLocationLabel, "Location where the document is archived."); // // audit // @@ -434,7 +434,7 @@ private void InitializeComponent() this.whenEmptyCreateRegister.Name = "whenEmptyCreateRegister"; this.whenEmptyCreateRegister.Size = new System.Drawing.Size(338, 65); this.whenEmptyCreateRegister.TabIndex = 8; - this.whenEmptyCreateRegister.Text = global::Codisa.InterwayDocs.Properties.Resources.LabelClickCreateOutgoing; + this.whenEmptyCreateRegister.Text = "Click to create an outgoing mail register"; this.whenEmptyCreateRegister.Visible = false; // // OutgoingDetailView diff --git a/Source/Codisa.InterwayDocs.WisejWeb/Themes/Classic-3.theme b/Source/Codisa.InterwayDocs.WisejWeb/Themes/Classic-3.theme index db900de..9ace468 100644 --- a/Source/Codisa.InterwayDocs.WisejWeb/Themes/Classic-3.theme +++ b/Source/Codisa.InterwayDocs.WisejWeb/Themes/Classic-3.theme @@ -1843,7 +1843,7 @@ "states": { "default": { "styles": { - "width": 1, + "width": [1, 1, 1, 1], "color": "windowFrame" }, "properties": { @@ -5165,7 +5165,7 @@ "properties": { "cursor": "pointer", "opacity": 1, - "padding": [1, 5, 1, 5], + "padding": [1, 12, 1, 12], "textColor": "" }, "styles": { @@ -5182,10 +5182,10 @@ "checked": { "styles": { "color": "windowFrame", - "backgroundColor": "buttonSelected" + "backgroundColor": "highlight" }, "properties": { - "textColor": "buttonSelectedText" + "textColor": "activeCaption" } }, "pressed": {