Exemplo n.º 1
0
        static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            MLVViewerForm form = new MLVViewerForm();

            if (args.Length != 0)
            {
                form.AutoplayFile = args[0];
            }
            Application.Run(form);
        }
Exemplo n.º 2
0
 private void pictureBox_DoubleClick(object sender, EventArgs e)
 {
     MLVViewerForm form = new MLVViewerForm(FileInfo.FullName);
     form.Show();
 }