Example #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);
        }
 private void pictureBox_DoubleClick(object sender, EventArgs e)
 {
     MLVViewerForm form = new MLVViewerForm(FileInfo.FullName);
     form.Show();
 }