Example #1
0
 private void ResizeCells()
 {
     cells[0] = Renderer.ResizeImage(Properties.Resources.Bee_animation_1, Width, Height);
     cells[1] = Renderer.ResizeImage(Properties.Resources.Bee_animation_2, Width, Height);
     cells[2] = Renderer.ResizeImage(Properties.Resources.Bee_animation_3, Width, Height);
     cells[3] = Renderer.ResizeImage(Properties.Resources.Bee_animation_4, Width, Height);
 }
 public HiveForm()
 {
     InitializeComponent();
     BackgroundImage = Renderer.ResizeImage(
         Properties.Resources.Hive__inside_,
         ClientRectangle.Width, ClientRectangle.Height);
 }