コード例 #1
0
 void debug(string message)
 {
     if (!toEnd && isAverage && toEnd)
     {
         LogC.debug(message);
     }
 }
コード例 #2
0
        /// <summary>
        /// Renders the double buffer to the screen
        /// </summary>
        /// <param name="realGraphics">Window forms Graphics Object</param>
        public void Render(Graphics realGraphics)
        {
            if (memoryBitmap == null)
            {
                return;
            }
            realGraphics.DrawImage(memoryBitmap, new Rectangle(0, 0, width, height), 0, 0, width, height, GraphicsUnit.Pixel);
            var filename = @"C:\logs\chart." + (count++) + ".bmp";

            //memoryBitmap.Save(filename);
            LogC.debug("writing file " + filename);
        }