예제 #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");
     }
 }