Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 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;
 }