Esempio n. 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();
            }
        }
Esempio n. 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();
            }
        }
Esempio n. 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();
            }
        }