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);
            }
        }
Esempio n. 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);
            }
        }