Exemplo n.º 1
0
        public void OpenFilePreview(PffEntry fileContents)
        {
            if (fileContents == null)
                return;


            //TODO: Reuse window
            var mdiChild = new FormPreview
            {
                MdiParent = this,
                PreviewFile = fileContents
            };
            mdiChild.Show();
        }
Exemplo n.º 2
0
        public void OpenFilePreview(PffEntry fileContents)
        {
            if (fileContents == null)
            {
                return;
            }


            //TODO: Reuse window
            var mdiChild = new FormPreview
            {
                MdiParent   = this,
                PreviewFile = fileContents
            };

            mdiChild.Show();
        }