示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            cProperty aCProperty = new cProperty();

            aCProperty.ddd = "Dima Privet";

            MessageBox.Show(aCProperty.ddd);
        }
示例#2
0
        private void btnGet_Click(object sender, EventArgs e)
        {
            cProperty aCProperty = new cProperty();

            textBox2.Text = aCProperty.getValue();

            textBox2.Text = 10.ToString();
        }
示例#3
0
        private void btnSet_Click(object sender, EventArgs e)
        {
            cProperty aCProperty = new cProperty();

            aCProperty.setValue(textBox2);
        }
示例#4
0
        private void button2_Click(object sender, EventArgs e)
        {
            cProperty aCProperty = new cProperty();

            textBox1.Text = aCProperty.STR;
        }