Пример #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;
        }