FREE Subscription to Dr. Dobb’s Digest: Same Great Content, New Digital Edition
Site Archive (Complete)
Architecture & Design
Email
Print
Reprint

add to:
Del.icio.us
Digg
Google
Furl
Slashdot
Y! MyWeb
Blink
October 01, 2004

Dynamic Compilation, Reflection, & Customizable Apps

(Page 2 of 5)
October, 2004: Dynamic Compilation, Reflection, & Customizable Apps

public class HelloToolbarButton : CustomToolBarButton
{
  public HelloToolbarButton()
  {
    Text        = "Hello World";
    ToolTipText = "Display Hello World Message";
  }
  public override Image GetImage()
  {
    return new Bitmap("World.bmp");
  }
  public override void DoAction(object sender, System.EventArgs e)
  {
    MessageBox.Show(iapi.TheMainForm, "World", "Hello");
  }
}

Example 1: The first class inside of the NS namespace declaration.

Previous Page | 1 | 2 | 3 | 4 | 5 Next Page
TOP 5 ARTICLES
No Top Articles.



MICROSITES
FEATURED TOPIC

ADDITIONAL TOPICS

INFO-LINK