Example #1
0
        public Explorer(List<string> extras)
        {
            this.InitializeComponent();

            foreach (var path in extras)
            {
                var editor = new FileViewer() { MdiParent = this };
                editor.LoadResource(path);
                editor.Show();
            }
        }
Example #2
0
        private void OnOpen(object sender, EventArgs e)
        {
            if (this.openDRMDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            foreach (var path in this.openDRMDialog.FileNames)
            {
                var editor = new FileViewer() { MdiParent = this };
                editor.LoadResource(path);
                editor.Show();
            }
        }
Example #3
0
        private void OnOpen(object sender, EventArgs e)
        {
            if (this.openDRMDialog.ShowDialog() != DialogResult.OK)
            {
                return;
            }

            foreach (var path in this.openDRMDialog.FileNames)
            {
                var editor = new FileViewer()
                {
                    MdiParent = this
                };
                editor.LoadResource(path);
                editor.Show();
            }
        }