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; }
protected override void updateForm() { base.updateForm(); clsPainting lcWork = (clsPainting)_Work; txtWidth.Text = lcWork.Width.ToString(); txtHeight.Text = lcWork.Height.ToString(); txtType.Text = lcWork.Type; }