コード例 #1
0
        internal void NotifyError(string message)
        {
            mMascotImage.Source = GitMasterImages.GetImage(
                GitMasterImages.ImageName.IllustrationSignupError);

            mWebErrorPanel.ShowError(message);
        }
コード例 #2
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());
        }
コード例 #3
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());
        }
コード例 #4
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));
        }