Esempio n. 1
0
        void BuildComponents()
        {
            mMascotImage = ControlBuilder.CreateImage(
                GitMasterImages.GetImage(
                    GitMasterImages.ImageName.IllustrationLoginSkater));
            mMascotImage.Width  = 330;
            mMascotImage.Margin = new Thickness(10, 55, 30, 50);

            WebEntriesPacker.AddMascotContentComponents(
                this, mMascotImage, CreateContentPanel());
        }
Esempio n. 2
0
        void BuildComponents()
        {
            Image mascotImage = ControlBuilder.CreateImage(
                GitMasterImages.GetImage(
                    GitMasterImages.ImageName.IllustrationLicenseWaiting));

            mascotImage.HorizontalAlignment = HorizontalAlignment.Center;
            mascotImage.VerticalAlignment   = VerticalAlignment.Center;
            mascotImage.Width  = 300;
            mascotImage.Margin = new Thickness(50, 0, 0, 0);

            WebEntriesPacker.AddMascotContentComponents(
                this, mascotImage, CreateContentPanel());
        }
Esempio n. 3
0
        internal void NotifyLicenseError(string message)
        {
            Children.Clear();

            Image mascotImage = ControlBuilder.CreateImage(
                GitMasterImages.GetImage(
                    GitMasterImages.ImageName.IllustrationSignupError));

            mascotImage.Width  = 300;
            mascotImage.Margin = new Thickness(50, 0, 0, 0);
            mascotImage.HorizontalAlignment = HorizontalAlignment.Center;
            mascotImage.VerticalAlignment   = VerticalAlignment.Center;

            WebEntriesPacker.AddMascotContentComponents(
                this, mascotImage, CreateContentErrorPanel(message));
        }