コード例 #1
0
        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;
        }
コード例 #2
0
        protected override void updateForm()
        {
            base.updateForm();
            clsPhotograph lcWork = (clsPhotograph)_Work;

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