示例#1
0
        public void ShowGui()
        {
            CMD settings = r.Get <CMD>();

            if (settings.Visible)
            {
                settings.Hide();
            }
            settings.Show();
        }
示例#2
0
 public void ShowGui()
 {
     if (!cmd.Visible)
     {
         cmd.Show();
     }
     else
     {
         cmd.Hide();
     }
 }
示例#3
0
        public void ShowGui()
        {
            CMD settings = dm.Get <CMD>();

            if (!settings.Visible)
            {
                settings.Show();
            }
            else
            {
                settings.Hide();
            }
        }
示例#4
0
        public void ShowGui()
        {
            if (DM != null)
            {
                CMD settings = DM.Get <CMD>();

                if (!settings.Visible)
                {
                    settings.Show();
                }
                else
                {
                    settings.Hide();
                }
            }
            else
            {
                Load();
                MessageBox.Show("plugin loaded");
            }
        }
示例#5
0
 public void ShowGui()
 {
     if (ObjectManager.Instance.Player != null)
     {
         if (cmd == null)
         {
             cmd = new CMD();
         }
         if (!cmd.Visible)
         {
             cmd.Show();
         }
         else
         {
             cmd.Hide();
         }
     }
     else
     {
         MessageBox.Show("Please log in first");
     }
 }