Exemple #1
0
        void ReleaseDesignerOutlets()
        {
            if (CompletedIcon != null)
            {
                CompletedIcon.Dispose();
                CompletedIcon = null;
            }

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

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

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

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

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

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

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

            if (RequestedTableViewCell != null)
            {
                RequestedTableViewCell.Dispose();
                RequestedTableViewCell = null;
            }
        }
Exemple #2
0
        private void ConfigureIcons( )
        {
            CreateMaintenanceTableViewCell.BackgroundColor = UIColor.Clear.FromHex("#4ac06b");
            CreateLabel.TextColor = UIColor.Clear.FromHex("#fff");
            CreateIcon.ToColour(UIColor.Clear.FromHex("#fff"));

            RequestedIcon.ToColour(UIColor.Clear.FromHex("#0cb6ea"));
            IncompleteIcon.ToColour(UIColor.Clear.FromHex("#414c50"));
            CompletedIcon.ToColour(UIColor.Clear.FromHex("#4ac06b"));
        }