示例#1
0
 public override void EditDetails()
 {
     if (paintDialog == null)
     {
         paintDialog = new frmPainting();
     }
     paintDialog.SetDetails(_Name, theDate, theValue, theWidth, theHeight, theType);
     if (paintDialog.ShowDialog() == DialogResult.OK)
     {
         paintDialog.GetDetails(ref _Name, ref theDate, ref theValue, ref theWidth, ref theHeight, ref theType);
     }
 }
 public override void EditDetails()
 {
     if (paintDialog == null)
     {
         paintDialog = new frmPainting();
     }
     paintDialog.SetDetails(_Name, theDate, theValue, theWidth, theHeight, theType);
     if(paintDialog.ShowDialog() == DialogResult.OK)
     {
        paintDialog.GetDetails(ref _Name, ref theDate, ref theValue, ref theWidth, ref theHeight, ref theType);
     }
 }