What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

New HB and using .Show(); Question

Truman422

Member
Joined
Jan 10, 2011
Messages
198
Reaction score
14
This worked fine with the last references of honorbuddy, but now, if I write something new, and basically copy what I've been doing, with the new honorbuddy references, I get this error, and was wondering how to fix, or if I can even fix...

Code:
        public override void OnButtonPress()
        {
            Deathknight m_config = new Deathknight();
            m_config.Show();
        }

The above code, with all the references included, won't define Show properly anymore with the new honorbuddy. Anyone know how this can be fixed? Or what I need to add to make up for whatever reference is now missing from the new honorbuddy?

Thanks a million.
 
heres what i use on amplify and this method for me has worked well for a very long time now, on both plugins and CC's
Code:
        private Form _configForm;
        public override void OnButtonPress()
        {
            if (_configForm == null || _configForm.IsDisposed || _configForm.Disposing)
                _configForm = new AmpConfig();

            _configForm.ShowDialog();
        }
 
Awesome, thanks for the reply. I'll give it a shot.

Worked perfectly, thanks for the help.
 
Last edited:
Back
Top