コード例 #1
0
ファイル: Program.cs プロジェクト: Torrunt/vimage
        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);
            }
        }
コード例 #2
0
ファイル: ContextMenu.cs プロジェクト: Torrunt/vimage
 public ContextMenu(ImageViewer ImageViewer)
     : base()
 {
     this.ImageViewer = ImageViewer;
 }
コード例 #3
0
 public ContextMenu(ImageViewer ImageViewer)
     : base()
 {
     this.ImageViewer = ImageViewer;
 }