Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            var a = new ShellWrapper();

            Console.ReadLine();
            GC.SuppressFinalize(a);
        }
Ejemplo n.º 2
0
        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();
        }
Ejemplo n.º 3
0
 public void Dispose()
 {
     wrapper = null;
 }