Posts

Showing posts from May, 2012

MSChart Extension - Zoom and Pan Controls

Image
NEW : MSChart Extension 2.0 Released - Find out more Introduction - About MSChart Extension MSChart Extension is an extension package created to provide additional features and functions to Microsoft Chart (MSChart) control. This control is released under MIT license. Get latest source code and package from NuGet or GitHub. GitHub: https://github.com/Code-Artist/MSChartExtension NuGet:  http://nuget.org/packages/MSChartExtension

C# Stop / Suspend painting for a control.

Original post from stack overflow: How do I suspend painting for a control and its children? The code below is used to suspend painting for control to speed up processing. using  System.Runtime.InteropServices; class   DrawingControl {     [ DllImport ( "user32.dll" )]      public   static   extern   int  SendMessage(IntPtr hWnd, Int32 wMsg, bool  wParam, Int32 lParam);      private   const   int  WM_SETREDRAW = 11;      public   static   void  SuspendDrawing(Control parent)     {         SendMessage(parent.Handle, WM_SETREDRAW,  false , 0);     }      public   static   void  ResumeDrawing(Control parent)     {         SendMessage(parent.Handle, WM_SETREDRAW,  true , 0);         parent.Refresh();     } }

C# DSP Lab (V1.6.0): Convolution Demo

Image
Convolution demo is added to DSP Lab Version 1.6.0 to demonstrate convolution process steps by steps. Objectives of creating this tools is to help anyone who is learning DSP to have better understanding with convolution process. Download Now