Beispiel #1
0
 /// <summary>
 /// Draws a push button in the specified state, on the specified graphics
 /// surface, and within the specified bounds
 /// </summary>
 /// <param name="g">The Graphics to draw on</param>
 /// <param name="buttonRect">The Rectangle that represents the dimensions
 /// of the button</param>
 /// <param name="state">A PushButtonStates value that specifies the
 /// state to draw the button in</param>
 public static void DrawButton(Graphics g, Rectangle buttonRect, I3PushButtonStates state)
 {
     I3ThemeManager.DrawButton(g, buttonRect, buttonRect, state);
 }