コード例 #1
0
 // Calls hosting dialog, if set yet, to indicate that a property has changed, and that
 // the dialog should do whatever is necessary to propogate the change to the native control.
 // Note that if the dialog isn't set yet, there are no prop set restrictions yet.
 protected void ApplyPropertyChange(string propName)
 {
     Debug.Assert(!String.IsNullOrEmpty(propName), "Property changed was not specified");
     if (hostingDialog != null)
     {
         hostingDialog.ApplyControlPropertyChange(propName, this);
     }
 }