Ejemplo 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();
            }
        }
Ejemplo n.º 2
0
        public Explorer(List <string> extras)
        {
            this.InitializeComponent();

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