Пример #1
0
        public LoginSessionDlg()
        {
            InitializeComponent();

            DataContext = this;

            //SkinManager.ChangeSkin("GreenSkin.xaml", this.Assets);
            SkinManager.ChangeSkin("Blue2Skin.xaml", this.Resources);

            lblVersion.Content = Utils2.VersionString();
        }
Пример #2
0
        public LoginPerson(bool backAvailable)
        {
            InitializeComponent();

            DataContext = this;

            lblVersion.Content = Utils2.VersionString();

            //SkinManager.ChangeSkin("GreenSkin.xaml", this.Assets);
            SkinManager.ChangeSkin("Blue2Skin.xaml", this.Resources);

            if (backAvailable)
            {
                btnBack.Visibility = Visibility.Visible;
            }
            else
            {
                btnBack.Visibility = Visibility.Collapsed;
            }
        }