void ReleaseDesignerOutlets()
        {
            if (CenterPointButton != null)
            {
                CenterPointButton.Dispose();
                CenterPointButton = null;
            }

            if (CircularRevealButton != null)
            {
                CircularRevealButton.Dispose();
                CircularRevealButton = null;
            }

            if (TransitionSpeedLabel != null)
            {
                TransitionSpeedLabel.Dispose();
                TransitionSpeedLabel = null;
            }

            if (TransitionSpeedSlider != null)
            {
                TransitionSpeedSlider.Dispose();
                TransitionSpeedSlider = null;
            }

            if (RotatingImage != null)
            {
                RotatingImage.Dispose();
                RotatingImage = null;
            }
        }
Exemplo n.º 2
0
 public RotatingImageManageModel(RotatingImage rotatingImage)
     : this()
 {
     Id        = rotatingImage.Id;
     Title     = rotatingImage.Title;
     ImageUrl  = rotatingImage.ImageUrl;
     Text      = rotatingImage.Text;
     Url       = rotatingImage.Url;
     UrlTarget = rotatingImage.UrlTarget;
     GroupId   = rotatingImage.GroupId;
 }
Exemplo n.º 3
0
 internal ResponseModel Delete(RotatingImage rotatingImage)
 {
     return(_rotatingImageRepository.Delete(rotatingImage));
 }
Exemplo n.º 4
0
 internal ResponseModel Insert(RotatingImage rotatingImage)
 {
     return(_rotatingImageRepository.Insert(rotatingImage));
 }
Exemplo n.º 5
0
 public ResponseModel Update(RotatingImage rotatingImage)
 {
     return(_rotatingImageRepository.Update(rotatingImage));
 }