public static void Open() { if (GRenderSettingEditorForm.m_Instance != null) { return; } GRenderSettingEditorForm.m_Instance = new GRenderSettingEditorForm(); Gumps.Desktop.Children.Add((Gump)GRenderSettingEditorForm.m_Instance); Gumps.Focus = (Gump)GRenderSettingEditorForm.m_Instance; }
protected internal override void OnDispose() { GRenderSettingEditorForm.m_Instance = (GRenderSettingEditorForm)null; PlayUO.Profiles.Config.Current.Save(); base.OnDispose(); }