Пример #1
0
        protected override void pushData()
        {
            base.pushData();
            clsPainting lcWork = (clsPainting)_Work;

            lcWork.Width  = Single.Parse(txtWidth.Text);
            lcWork.Height = Single.Parse(txtHeight.Text);
            lcWork.Type   = txtType.Text;
        }
Пример #2
0
        protected override void updateForm()
        {
            base.updateForm();
            clsPainting lcWork = (clsPainting)_Work;

            txtWidth.Text  = lcWork.Width.ToString();
            txtHeight.Text = lcWork.Height.ToString();
            txtType.Text   = lcWork.Type;
        }