Ejemplo n.º 1
0
        static void Main(string[] args)
        {
            string file;
            if (args.Length == 0)
                return;
            else
                file = args[0];

            if (System.IO.File.Exists(file))
            {
                if (!System.Diagnostics.Debugger.IsAttached)
                {
                    System.Windows.Forms.Application.ThreadException += ApplicationThreadException;
                    AppDomain.CurrentDomain.UnhandledException += CurrentDomainOnUnhandledException;
                }

                ImageViewer imageViewer = new ImageViewer(file);
            }
        }
Ejemplo n.º 2
0
 public ContextMenu(ImageViewer ImageViewer)
     : base()
 {
     this.ImageViewer = ImageViewer;
 }
Ejemplo n.º 3
0
 public ContextMenu(ImageViewer ImageViewer)
     : base()
 {
     this.ImageViewer = ImageViewer;
 }