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