/// <summary>
 /// Related control
 /// </summary>
 /// <param name="tRelatedControl">Related control</param>
 public NavigateBarButton(Control tRelatedControl)
 {
     this.RelatedControl = tRelatedControl;
     this.Caption        = "NavigateBarButton";
     this.Key            = NavigateBarHelper.CreateUniqKey();
     InitNavigateBarButton();
 }
 /// <summary>
 /// Caption and Image
 /// </summary>
 /// <param name="tCaption">Caption text</param>
 /// <param name="tImage">Image (24x24 recommended)</param>
 public NavigateBarButton(string tCaption, Image tImage)
 {
     this.Caption = tCaption;
     this.Image   = tImage;
     this.Key     = NavigateBarHelper.CreateUniqKey();
     InitNavigateBarButton();
 }
 /// <summary>
 /// Caption, image and related control
 /// </summary>
 /// <param name="tCaption">Caption text</param>
 /// <param name="tImage">Image (24x24 recommended)</param>
 /// <param name="tRelatedControl">Related control</param>
 public NavigateBarButton(string tCaption, Image tImage, Control tRelatedControl)
 {
     this.Caption        = tCaption;
     this.Image          = tImage;
     this.RelatedControl = tRelatedControl;
     this.Key            = NavigateBarHelper.CreateUniqKey();
     InitNavigateBarButton();
 }
 public NavigateBarButton()
 {
     this.Caption = "NavigateBarButton";
     this.Key     = NavigateBarHelper.CreateUniqKey();
     InitNavigateBarButton();
 }