Beispiel #1
0
        public void OpenFilePreview(PffEntry fileContents)
        {
            if (fileContents == null)
                return;


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


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

            mdiChild.Show();
        }