Compare commits
	
		
			7 Commits
		
	
	
		
			F2025-028_
			...
			B2025-053
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 327aae687a | |||
| 3cbe4617eb | |||
| de69fe6b6f | |||
| e53101dacb | |||
| d3ec749848 | |||
| 410b7d3dd6 | |||
| e87b233713 | 
| @@ -418,7 +418,8 @@ namespace VEPROMS | ||||
| 			cmMembers.Items.Clear(); | ||||
| 			lstGroups.SelectedIndex = -1; | ||||
|  | ||||
| 			if (e.Button == MouseButtons.Right) | ||||
| 			//shouldn<64>t be bringing up a menu in the Group box unless a user is 1st selected in the Users box. | ||||
| 			if (e.Button == MouseButtons.Right && lstUsers.SelectedIndex > -1) | ||||
| 			{ | ||||
| 				int k = lstGroups.IndexFromPoint(e.Location); | ||||
| 				if (k >= 0) | ||||
|   | ||||
| @@ -188,7 +188,6 @@ namespace Volian.Controls.Library | ||||
| 			this.tabSearchTypes.Controls.Add(this.tabControlPanel5); | ||||
| 			this.tabSearchTypes.Controls.Add(this.tabControlPanel2); | ||||
| 			this.tabSearchTypes.Controls.Add(this.tabControlPanel3); | ||||
| 			this.tabSearchTypes.Controls.Add(this.tabControlPanel1); | ||||
| 			this.tabSearchTypes.Controls.Add(this.contextMenuBar1); | ||||
| 			this.tabSearchTypes.Dock = System.Windows.Forms.DockStyle.Top; | ||||
| 			this.tabSearchTypes.Location = new System.Drawing.Point(0, 0); | ||||
| @@ -983,7 +982,6 @@ namespace Volian.Controls.Library | ||||
| 			this.tabControlPanel1.Controls.Add(this.lblSrchIncTran); | ||||
| 			this.tabControlPanel1.Controls.Add(this.groupBox1); | ||||
| 			this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty; | ||||
| 			this.tabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; | ||||
| 			this.tabControlPanel1.Location = new System.Drawing.Point(0, 34); | ||||
| 			this.tabControlPanel1.Name = "tabControlPanel1"; | ||||
| 			this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); | ||||
| @@ -997,6 +995,8 @@ namespace Volian.Controls.Library | ||||
| 			this.tabControlPanel1.Style.GradientAngle = 90; | ||||
| 			this.tabControlPanel1.TabIndex = 17; | ||||
| 			this.tabControlPanel1.TabItem = this.tabIncTrans; | ||||
| 			this.tabControlPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)(( System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); | ||||
| 			this.tabControlPanel1.RightToLeft = System.Windows.Forms.RightToLeft.No; | ||||
| 			//  | ||||
| 			// btnTranCvtSelToTxt | ||||
| 			//  | ||||
| @@ -1732,6 +1732,12 @@ namespace Volian.Controls.Library | ||||
| 			this.Controls.Add(this.xpStepTypes); | ||||
| 			this.Controls.Add(this.xpSetToSearch); | ||||
| 			this.Controls.Add(this.tabSearchTypes); | ||||
| 			this.Controls.Add(this.tabControlPanel1); | ||||
| 			//B2025-056 Click on Incoming Transitions | ||||
| 			// This needs to be part of overall control | ||||
| 			// since if it is part of tabSearchTypes, | ||||
| 			// then when that is disabled, buttons on | ||||
| 			// this will be also | ||||
| 			this.Margin = new System.Windows.Forms.Padding(2); | ||||
| 			this.Name = "DisplaySearch"; | ||||
| 			this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; | ||||
|   | ||||
| @@ -1857,14 +1857,15 @@ namespace Volian.Controls.Library | ||||
| 				lbSrchResultsIncTrans.Enabled = false; | ||||
| 				lbSrchResultsIncTrans.UseWaitCursor = true; | ||||
| 			} | ||||
| 			ListBox mylb = sender as ListBox; | ||||
| 			//B2025-056 Click on Incoming Transitions | ||||
| 			// Clicking on Incoming Transitions | ||||
| 			// will now open that item | ||||
| 			ListBox mylb_lbSrchResults = sender as ListBox; | ||||
| 			ListBoxAdv mylb_lbSrchResultsIncTrans = sender as ListBoxAdv; | ||||
|  | ||||
| 			// If the list is being refreshed, then set the selection index to -1 (no selection) | ||||
| 			// B2022-044: don't set selection to top of list (commented out/changed if) | ||||
| 			//if (mylb != null && _SearchResults.RefreshingList && mylb.SelectedIndex != -1) | ||||
| 			//	//mylb.SelectedIndex = -1; | ||||
| 			//else | ||||
| 			if (mylb != null && !_SearchResults.RefreshingList) | ||||
| 			if ((mylb_lbSrchResults != null || mylb_lbSrchResultsIncTrans != null) && !_SearchResults.RefreshingList) | ||||
| 			{ | ||||
| 				_ItemInfo = (tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[4]) ? lbSrchResultsIncTrans.SelectedValue as ItemInfo : lbSrchResults.SelectedValue as ItemInfo; | ||||
| 				if ((tabSearchTypes.SelectedTab == tabSearchTypes.Tabs[1]) && (_ItemInfo != null)) | ||||
|   | ||||
| @@ -4190,15 +4190,19 @@ namespace Volian.Controls.Library | ||||
| 			if (oring == eEventSource.Keyboard) | ||||
| 				_OringFlg = 1; | ||||
|  | ||||
| 			int selectedSlave = MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave; | ||||
| 			if (MyItemInfo == null) return;   // if creating a pdf before rtb exists, return; | ||||
| 			if (MyEditItem != null) MyEditItem.SaveCurrentAndContents(); | ||||
| 			MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = selectedSlave; | ||||
| 			OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure, _OringFlg), 0); | ||||
| 		} | ||||
|  | ||||
| 		private void btnPdfQuickCreate_Click(object sender, EventArgs e) | ||||
| 		{ | ||||
| 			int selectedSlave = MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave; | ||||
| 			if (MyItemInfo == null) return;   // if creating a pdf before rtb exists, return; | ||||
| 			if (MyEditItem != null) MyEditItem.SaveCurrentAndContents(); | ||||
| 			MyItemInfo.MyProcedure.ProcedureConfig.SelectedSlave = selectedSlave; | ||||
| 			OnPrintRequest(new StepTabRibbonEventArgs(MyItemInfo.MyProcedure, _OringFlg), 1); | ||||
| 		} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user