public static void Main(string[] args) { var a = new ShellWrapper(); Console.ReadLine(); GC.SuppressFinalize(a); }
public Example() { wrapper = new ShellWrapper(); wrapper.draw(new Action <Graphics>((d) => { d.FillRectangle(new SolidBrush(Color.Red), 0, 0, 500, 500); })); System.Threading.Thread.Sleep(5000); wrapper.clearGraphics(); }
public void Dispose() { wrapper = null; }