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


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


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

            mdiChild.Show();
        }