protected override void pushData() { base.pushData(); clsPhotograph lcWork = (clsPhotograph)_Work; lcWork.Width = Single.Parse(txtWidth.Text); lcWork.Height = Single.Parse(txtHeight.Text); lcWork.Type = txtType.Text; }
protected override void updateForm() { base.updateForm(); clsPhotograph lcWork = (clsPhotograph)_Work; txtWidth.Text = lcWork.Width.ToString(); txtHeight.Text = lcWork.Height.ToString(); txtType.Text = lcWork.Type; }