Exemple #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();
            }
        }
Exemple #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();
            }
        }
Exemple #3
0
        public Explorer(List <string> extras)
        {
            this.InitializeComponent();

            foreach (var path in extras)
            {
                var editor = new FileViewer()
                {
                    MdiParent = this
                };
                editor.LoadResource(path);
                editor.Show();
            }
        }
Exemple #4
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();
            }
        }