예제 #1
0
        public PPDPreviewClothes()
        {
            try
            {
                if (theInstance != null)
                {
                    theInstance.Close();
                    theInstance = null;
                    return;
                }
                theInstance = this;

                InitializeComponent();

                Gui.Docking.ShowDockContent(this, Gui.Docking.DockQuickAccess, ContentCategory.None);

                this.FormClosing += new FormClosingEventHandler(FormOpenedFiles_FormClosing);
            }
            catch (Exception ex)
            {
                Utility.ReportException(ex);
            }
        }
예제 #2
0
        public PPDPreviewClothes()
        {
            try
            {
                if (theInstance != null)
                {
                    theInstance.Close();
                    theInstance = null;
                    return;
                }
                theInstance = this;

                InitializeComponent();

                Gui.Docking.ShowDockContent(this, Gui.Docking.DockQuickAccess, ContentCategory.None);

                this.FormClosing += new FormClosingEventHandler(FormOpenedFiles_FormClosing);
            }
            catch (Exception ex)
            {
                Utility.ReportException(ex);
            }
        }