Ejemplo n.º 1
0
 public override void DrawBackground(BackgroundRendererEventArgs args)
 {
     //
     using (TextureBrush brush = new TextureBrush(global::TestVirtualKeyboard.Properties.Resources.Fiber))
     {
         brush.WrapMode = System.Drawing.Drawing2D.WrapMode.Tile;
         args.Graphics.FillRectangle(brush, args.Bounds);
     }
 }
Ejemplo n.º 2
0
 public override void DrawBackground(BackgroundRendererEventArgs args)
 {
     using (Brush brush = new SolidBrush(Color.White))
     {
         //brush.WrapMode = System.Drawing.Drawing2D.WrapMode.Tile;
         args.Graphics.FillRectangle(brush, args.Bounds);
         Draw3DBorder(args.Graphics, args.Bounds, ColorTable.DarkKeysBrush, ColorTable.LightKeysBrush);
     }
 }
Ejemplo n.º 3
0
 public override void DrawBackground(BackgroundRendererEventArgs args)
 {
     //args.Graphics.DrawImage((Image)Properties.Resources.back_keyboard, args.Bounds, new Rectangle(0, 0, Properties.Resources.back_keyboard.Width, Properties.Resources.back_keyboard.Height), GraphicsUnit.Pixel);
 }