프로그래밍/.Net
Control Attribute 컨트롤 속성 변경하기(get/set)
강태공97
2014. 1. 17. 20:52
목표: Control로 설정된 값(Text등)을 바꾸거나 값을 가져와 보자
본 Control은 User Control로 제작된 Form에서 수행된다.
#region "Control 속성을 변경 및 문자열을 얻기이한 Method"
/// GroupBoxCtrlTest Name Get/Set
public string GrpBoxCtrlText
{
get
{
return grpBox.Text;
}
set
{
grpBox.Text = value;
}
}
#endregion