2using System.Collections.Generic;
8using System.Threading.Tasks;
19 string m_strName =
null;
20 string m_strVal =
null;
30 InitializeComponent();
42 get {
return m_strName; }
50 get {
return m_strVal; }
53 private void FormProperty_Load(
object sender, EventArgs e)
55 edtName.Text = m_strName;
56 edtValue.Text = m_strVal;
59 Text =
"New Property";
62 private void btnOK_Click(
object sender, EventArgs e)
64 m_strName = edtName.Text;
65 m_strVal = edtValue.Text;
68 private void timerUI_Tick(
object sender, EventArgs e)
70 if (edtName.Text.Length > 0 && edtValue.Text.Length > 0)
73 btnOK.Enabled =
false;