public WindowCoverLabel AddLabel(string text)
        {
            CheckState();
            IntPtr label;

            if (Navigator.navigator_window_cover_attribute_add_label(handle, text, out label) == BPS.BPS_SUCCESS)
            {
                var result = new WindowCoverLabel(label, text, this);
                labels.Add(result);
                return(result);
            }
            return(null);
        }
 public WindowCoverLabel AddLabel(string text)
 {
     CheckState();
     IntPtr label;
     if (Navigator.navigator_window_cover_attribute_add_label(handle, text, out label) == BPS.BPS_SUCCESS)
     {
         var result = new WindowCoverLabel(label, text, this);
         labels.Add(result);
         return result;
     }
     return null;
 }