예제 #1
0
 protected virtual void OnValueChanged(ShapeChangedEventArgs e)
 {
     if (ShapeChanged != null)
     {
         ShapeChanged(this, e);
     }
 }
예제 #2
0
 private void ShapeUserControl_ShapeChanged(object sender, ShapeChangedEventArgs e)
 {
     this.label.Text = e.Shape.ToString();
 }