85 references to s_dimension
System.Windows.Forms.Tests (85)
TrackBarTests.cs (85)
31Assert.Equal(s_dimension, control.Bottom); 32Assert.Equal(new Rectangle(0, 0, 104, s_dimension), control.Bounds); 39Assert.Equal(new Size(104, s_dimension), control.ClientSize); 40Assert.Equal(new Rectangle(0, 0, 104, s_dimension), control.ClientRectangle); 54Assert.Equal(new Size(104, s_dimension), control.DefaultSize); 56Assert.Equal(new Rectangle(0, 0, 104, s_dimension), control.DisplayRectangle); 67Assert.Equal(s_dimension, control.Height); 86Assert.Equal(new Size(104, s_dimension), control.PreferredSize); 96Assert.Equal(new Size(104, s_dimension), control.Size); 122Assert.Equal(s_dimension, createParams.Height); 150Assert.Equal(s_dimension, createParams.Height); 176Assert.Equal(s_dimension, createParams.Height); 207Assert.Equal(s_dimension, createParams.Height); 228Assert.Equal(new Size(104, s_dimension), control.Size); 237Assert.Equal(new Size(104, s_dimension), control.Size); 246Assert.Equal(new Size(104, s_dimension), control.Size); 266Assert.Equal(new Size(104, s_dimension), control.Size); 275Assert.Equal(new Size(104, s_dimension), control.Size); 284Assert.Equal(new Size(104, s_dimension), control.Size); 308Assert.Equal(new Size(104, s_dimension), control.Size); 320Assert.Equal(new Size(104, s_dimension), control.Size); 332Assert.Equal(new Size(104, s_dimension), control.Size); 362Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 374Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 386Assert.Equal(new Size(s_dimension, s_dimension), control.Size); 849yield return new object[] { true, Orientation.Horizontal, new Size(104, s_dimension) }; 850yield return new object[] { true, Orientation.Vertical, new Size(s_dimension, s_dimension) }; 851yield return new object[] { false, Orientation.Horizontal, new Size(104, s_dimension) }; 852yield return new object[] { false, Orientation.Vertical, new Size(s_dimension, s_dimension) }; 1299yield return new object[] { true, Orientation.Horizontal, new Size(104, s_dimension), false }; 1300yield return new object[] { true, Orientation.Vertical, new Size(104, s_dimension), true }; 1301yield return new object[] { false, Orientation.Horizontal, new Size(104, s_dimension), false }; 1302yield return new object[] { false, Orientation.Vertical, new Size(104, s_dimension), false }; 1331yield return new object[] { true, Orientation.Horizontal, new Size(s_dimension, s_dimension), false, true }; 1332yield return new object[] { true, Orientation.Vertical, new Size(104, s_dimension), true, false }; 1333yield return new object[] { false, Orientation.Horizontal, new Size(s_dimension, s_dimension), false, false }; 1334yield return new object[] { false, Orientation.Vertical, new Size(104, s_dimension), false, false }; 1365yield return new object[] { true, Orientation.Horizontal, new Size(104, s_dimension), false, false, 0 }; 1366yield return new object[] { true, Orientation.Vertical, new Size(s_dimension, 104), true, false, 1 }; 1367yield return new object[] { false, Orientation.Horizontal, new Size(104, s_dimension), false, false, 0 }; 1368yield return new object[] { false, Orientation.Vertical, new Size(s_dimension, 104), false, false, 1 }; 1411yield return new object[] { true, Orientation.Horizontal, new Size(s_dimension, s_dimension), false, true, 1 }; 1412yield return new object[] { true, Orientation.Vertical, new Size(s_dimension, s_dimension), true, false, 0 }; 1413yield return new object[] { false, Orientation.Horizontal, new Size(s_dimension, s_dimension), false, false, 1 }; 1414yield return new object[] { false, Orientation.Vertical, new Size(s_dimension, s_dimension), false, false, 0 }; 2840yield return new object[] { false, orientation, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 }; 2860yield return new object[] { true, Orientation.Horizontal, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 }; 2874yield return new object[] { true, Orientation.Horizontal, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 }; 2875yield return new object[] { true, Orientation.Horizontal, 0, 0, 0, 0, specified, 0, s_dimension, 0, 1 }; 2876yield return new object[] { true, Orientation.Horizontal, -1, -2, -3, -4, specified, -3, s_dimension, 1, 1 }; 2877yield return new object[] { true, Orientation.Horizontal, 1, 0, 0, 0, specified, 0, s_dimension, 1, 1 }; 2878yield return new object[] { true, Orientation.Horizontal, 0, 2, 0, 0, specified, 0, s_dimension, 1, 1 }; 2879yield return new object[] { true, Orientation.Horizontal, 1, 2, 0, 0, specified, 0, s_dimension, 1, 1 }; 2880yield return new object[] { true, Orientation.Horizontal, 0, 0, 1, 0, specified, 1, s_dimension, 0, 1 }; 2881yield return new object[] { true, Orientation.Horizontal, 0, 0, 0, 2, specified, 0, s_dimension, 0, 1 }; 2882yield return new object[] { true, Orientation.Horizontal, 0, 0, 1, 2, specified, 1, s_dimension, 0, 1 }; 2883yield return new object[] { true, Orientation.Horizontal, 1, 2, 30, 40, specified, 30, s_dimension, 1, 1 }; 2893yield return new object[] { true, Orientation.Vertical, 0, 0, 104, s_dimension, specified, 104, s_dimension, 0, 0 }; 2907yield return new object[] { true, Orientation.Vertical, 0, 0, 104, s_dimension, specified, s_dimension, s_dimension, 0, 1 }; 2908yield return new object[] { true, Orientation.Vertical, 0, 0, 0, 0, specified, s_dimension, 0, 0, 1 }; 2909yield return new object[] { true, Orientation.Vertical, -1, -2, -3, -4, specified, s_dimension, -4, 1, 1 }; 2910yield return new object[] { true, Orientation.Vertical, 1, 0, 0, 0, specified, s_dimension, 0, 1, 1 }; 2911yield return new object[] { true, Orientation.Vertical, 0, 2, 0, 0, specified, s_dimension, 0, 1, 1 }; 2912yield return new object[] { true, Orientation.Vertical, 1, 2, 0, 0, specified, s_dimension, 0, 1, 1 }; 2913yield return new object[] { true, Orientation.Vertical, 0, 0, 1, 0, specified, s_dimension, 0, 0, 1 }; 2914yield return new object[] { true, Orientation.Vertical, 0, 0, 0, 2, specified, s_dimension, 2, 0, 1 }; 2915yield return new object[] { true, Orientation.Vertical, 0, 0, 1, 2, specified, s_dimension, 2, 0, 1 }; 2916yield return new object[] { true, Orientation.Vertical, 1, 2, 30, 40, specified, s_dimension, 40, 1, 1 };