public ResourceHacker RequestResourceHacker()
        {
            if (this.resHacker == null || this.resHacker.IsDisposed)
            {
                this.resHacker             = new ResourceHacker();
                this.resHacker.FormClosed += delegate(object sender, FormClosedEventArgs e) { this.resHacker = null; };
            }

            if (!this.isLoading)
            {
                this.resHacker.Show(DualityEditorApp.MainForm.MainDockPanel);
                if (this.resHacker.Pane != null)
                {
                    this.resHacker.Pane.Activate();
                    this.resHacker.Focus();
                }
            }

            return(this.resHacker);
        }
        public ResourceHacker RequestResourceHacker()
        {
            if (this.resHacker == null || this.resHacker.IsDisposed)
            {
                this.resHacker = new ResourceHacker();
                this.resHacker.FormClosed += delegate(object sender, FormClosedEventArgs e) { this.resHacker = null; };
            }

            if (!this.isLoading)
            {
                this.resHacker.Show(DualityEditorApp.MainForm.MainDockPanel);
                if (this.resHacker.Pane != null)
                {
                    this.resHacker.Pane.Activate();
                    this.resHacker.Focus();
                }
            }

            return this.resHacker;
        }