public void SetSubWindowHelpBoxType(SubWindowHelpBoxType helpBoxType)
 {
     if (m_HelpBoxType == helpBoxType)
     {
         return;
     }
     m_HelpBoxType = helpBoxType;
     m_HelpBox     = SubWindowHelpBox.CreateHelpBox(helpBoxType);
 }
 public SubWindowMethodDrawer(string title, string icon, MethodInfo method, System.Object target,
                              EWSubWindowToolbarType toolbar, SubWindowHelpBoxType helpbox)
 {
     this.m_Title   = CreateTitle(title, icon);
     this.m_Method  = method;
     this.m_ToolBar = toolbar;
     this.m_HelpBox = SubWindowHelpBox.CreateHelpBox(helpbox);
     this.m_Target  = target;
     this.m_Id      = GetMethodID(method, target);
     if (this.m_Method != null)
     {
         ParameterInfo[] p = this.m_Method.GetParameters();
         m_Params = new System.Object[p.Length];
     }
 }