ActivityDesignerPaint.Draw3DButton Метод

Определение

Рисует 3-мерную кнопку в рабочей области конструктора действий.

public:
 static void Draw3DButton(System::Drawing::Graphics ^ graphics, System::Drawing::Image ^ image, System::Drawing::Rectangle bounds, float transparency, System::Windows::Forms::ButtonState buttonState);
public static void Draw3DButton (System.Drawing.Graphics graphics, System.Drawing.Image image, System.Drawing.Rectangle bounds, float transparency, System.Windows.Forms.ButtonState buttonState);
static member Draw3DButton : System.Drawing.Graphics * System.Drawing.Image * System.Drawing.Rectangle * single * System.Windows.Forms.ButtonState -> unit
Public Shared Sub Draw3DButton (graphics As Graphics, image As Image, bounds As Rectangle, transparency As Single, buttonState As ButtonState)

Параметры

graphics
Graphics

Объект Graphics, на котором рисуется 3-мерная кнопка.

image
Image

Объект Image для отрисовки на кнопке.

bounds
Rectangle

Объект Rectangle, который определяет границы кнопки.

transparency
Single

Число обычной точности с плавающей запятой для определения уровня прозрачности кнопки.

buttonState
ButtonState

Значение перечисления ButtonState для указания внешнего вида кнопки.

Исключения

Параметр graphics содержит пустую ссылку (Nothing в Visual Basic).

Применяется к