public void FixedHeightControlStyle() { TextBoxPublic t = new TextBoxPublic(); t.Multiline = true; Assert.IsFalse(t.GetStylePublic(ControlStyles.FixedHeight), "A1"); t.Multiline = false; Assert.IsTrue(t.GetStylePublic(ControlStyles.FixedHeight), "A2"); }
public void FixedHeightControlStyle () { TextBoxPublic t = new TextBoxPublic (); t.Multiline = true; Assert.IsFalse (t.GetStylePublic (ControlStyles.FixedHeight), "A1"); t.Multiline = false; Assert.IsTrue (t.GetStylePublic (ControlStyles.FixedHeight), "A2"); }