Example #1
0
 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;
 }
Example #2
0
 protected internal override void OnDispose()
 {
     GRenderSettingEditorForm.m_Instance = (GRenderSettingEditorForm)null;
     PlayUO.Profiles.Config.Current.Save();
     base.OnDispose();
 }