Skip to content

Commit

Permalink
2005-11-12 Pedro Martínez Juliá <pedromj@gmail.com>
Browse files Browse the repository at this point in the history
	* System.Windows.Forms_test.dll.sources: Added DataGridViewElementTest.cs
	DataGridViewBandTest.cs DataGridViewCellTest.cs

svn path=/trunk/mcs/; revision=53637
  • Loading branch information
migueldeicaza committed Nov 29, 2005
1 parent c1680c3 commit c51fd7e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ public decimal Value {
}

set {
Console.WriteLine ("Getting a: " + value);
if (suppress_validation <= 0) {
if ((value < minimum) || (value > maximum)) {
throw new ArgumentException("NumericUpDown.Value must be within the specified Minimum and Maximum values", "value");
Expand Down Expand Up @@ -283,6 +284,8 @@ public override void DownButton() {

public void EndInit() {
suppress_validation--;
if (suppress_validation == 0)
UpdateEditText ();
}

public override string ToString() {
Expand Down

0 comments on commit c51fd7e

Please sign in to comment.