Exemple #1
0
        protected override void DoDraw(System.Drawing.Graphics graphics)
        {
            double x = Size.Width / 2.0f;
            double y = Size.Height / 2.0f;

            double angle = 0.0;
            for (int i = 0; i < Count; i++)
            {
                DrawSnowflake(graphics, x, y, angle, 0);
                angle += line_angle;
            }
        }
Exemple #2
0
 protected virtual long TimeGen()
 {
     return(System.CurrentTimeMillis());
 }