From b90d419bc5e95af1681725ecfe75bcd81a4ca9ea Mon Sep 17 00:00:00 2001 From: Paul Larsen Date: Mon, 27 Jul 2026 12:14:55 -0400 Subject: [PATCH] B2026-053-Find-Unlinked-Values-of-Selected --- .../VlnFlexGrid.Designer.cs | 6 +-- PROMS/Volian.Controls.Library/VlnFlexGrid.cs | 48 ++++++------------- 2 files changed, 16 insertions(+), 38 deletions(-) diff --git a/PROMS/Volian.Controls.Library/VlnFlexGrid.Designer.cs b/PROMS/Volian.Controls.Library/VlnFlexGrid.Designer.cs index d6e48711..95fa1523 100644 --- a/PROMS/Volian.Controls.Library/VlnFlexGrid.Designer.cs +++ b/PROMS/Volian.Controls.Library/VlnFlexGrid.Designer.cs @@ -1,5 +1,4 @@ using System; -using System.Windows.Forms; namespace Volian.Controls.Library { @@ -79,10 +78,7 @@ namespace Volian.Controls.Library // VlnFlexGrid // this.Rows.DefaultSize = 19; - this.AllowDrop = true; - this.DragEnter += new DragEventHandler(Control_DragEnter); - this.DragDrop += new DragEventHandler(Control_DragDrop); - + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); this.ResumeLayout(false); diff --git a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs index 6f85943f..f7f2310f 100644 --- a/PROMS/Volian.Controls.Library/VlnFlexGrid.cs +++ b/PROMS/Volian.Controls.Library/VlnFlexGrid.cs @@ -1,23 +1,22 @@ -using C1.Win.C1FlexGrid; -using C1.Win.C1SpellChecker; -using DevComponents.DotNetBar.Controls; -using JR.Utils.GUI.Forms; using System; +using System.ComponentModel; using System.Collections; using System.Collections.Generic; -using System.ComponentModel; using System.Diagnostics; -using System.Drawing; -using System.IO; -using System.Runtime.InteropServices; using System.Text; -using System.Text.RegularExpressions; using System.Windows.Forms; +using System.Drawing; +using System.Runtime.InteropServices; using System.Xml; -using System.Xml.Serialization; -using VEPROMS.CSLA.Library; -using Volian.Base.Library; +using System.IO; using Volian.Controls.Library; +using VEPROMS.CSLA.Library; +using C1.Win.C1FlexGrid; +using C1.Win.C1SpellChecker; +using System.Text.RegularExpressions; +using System.Xml.Serialization; +using Volian.Base.Library; +using JR.Utils.GUI.Forms; namespace Volian.Controls.Library { @@ -4439,28 +4438,11 @@ namespace Volian.Controls.Library // } //} - private void Control_DragEnter(object sender, DragEventArgs e) - { - if (e.Data.GetDataPresent(DataFormats.Text)) - { - e.Effect = DragDropEffects.Copy; // Allow copy - } - else - { - e.Effect = DragDropEffects.None; // Disallow - } - } - private void Control_DragDrop(object sender, DragEventArgs e) - { - string data = (string)e.Data.GetData(DataFormats.Text); - // Process the data (e.g., display it in a TextBox) - this.Text = data; - } #region Uneven Selections - /// - /// True if the top and bottom row of the selection is the same for every column - /// - public bool EvenSelection + /// + /// True if the top and bottom row of the selection is the same for every column + /// + public bool EvenSelection { get {