static void Painter_RightButtonDown(object sender, PainterMouseEventArgs e) { paintBuffer.FloodFill(e.UnitLocation.X, e.UnitLocation.Y, pallette[pen]); }