title: Custom Control that exposes Button Control's OnClick event
body: <p>I need to design a custom control that is basically going to be a fancy button, let's call it <code>CtrlButton</code>.</p>
  
  <p>I want to drop these on my blank form, then go to the Events for my control and specify what to do for the <strong>Click</strong> event.</p>
  
  <p>If my custom control <code>CtrlButton</code> contained 1 Windows Form Button named <code>button1</code>, could I simply expose the underlying Click event handler for the <code>button1</code>?</p>
  
  <pre><code>public EventHandler Click {
    get { return button1.Click; }
    set { button1.Click = value; }
  }
  </code></pre>
  
  <p>This code doesn't work! But, that's essentially what I'm trying to do.</p>
  
  <p><strong>EDIT:</strong> I see I was awarded Popular Question for this post, yet it still sits there at -1. If this question helps you find your answer, please vote it up.</p>