public LoginScreen(IAppBasics appBasics) : base(appBasics, "Login screen", Images.LoginScreen.Screen_Loaded) { Username = new Progile.TRIO.BaseModel.TextBox(appBasics: AppBasics, displayName: "Username", imageReference: Images.LoginScreen.Username, filters: ScreenSelect) { ParentScreen = this }; Password = new Progile.TRIO.BaseModel.PwTextBox(appBasics: AppBasics, displayName: "Password", imageReference: Images.LoginScreen.Password.TextBoxImage, pwCharImage: Images.LoginScreen.Password.BlindCharImage, filters: ScreenSelect) { ParentScreen = this }; KeepMeLoggedIn = new Progile.TRIO.BaseModel.Checkbox(tester: t, displayName: "Keep me logged in", checkedImageReference: Images.LoginScreen.KeepMeLoggedIn._checked, uncheckedImageReference: Images.LoginScreen.KeepMeLoggedIn._unchecked, filters: ScreenSelect) { ParentScreen = this }; LogInButton = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Log in Button", activeImageReference: Images.LoginScreen.LogInButton.active, filters: ScreenSelect) { ParentScreen = this }; Help = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Help", activeImageReference: Images.LoginScreen.Help.active, filters: ScreenSelect) { ParentScreen = this }; ForgotPassword = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Forgot password", activeImageReference: Images.LoginScreen.ForgotPassword.active, filters: ScreenSelect) { ParentScreen = this }; JoinWikipedia = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Join Wikipedia", activeImageReference: Images.LoginScreen.JoinWikipedia.active, filters: ScreenSelect) { ParentScreen = this }; ConfigureElementProperties(); }
public WelcomeScreen(IAppBasics appBasics) : base(appBasics, "Welcome Screen", Images.WelcomeScreen.Screen_Loaded) { English = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "English", activeImageReference: Images.WelcomeScreen.English.active, filters: ScreenSelect) { ParentScreen = this }; German = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "German", activeImageReference: Images.WelcomeScreen.German.active, filters: ScreenSelect) { ParentScreen = this }; ConfigureElementProperties(); }
public TopMenu(IAppBasics appBasics) : base(appBasics, "Top Menu", Images.TopMenu.Screen_Loaded) { CreateAccount = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Create account", activeImageReference: Images.TopMenu.CreateAccount.active, filters: ScreenSelect) { ParentScreen = this }; LogIn = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Log in", activeImageReference: Images.TopMenu.LogIn.active, filters: ScreenSelect) { ParentScreen = this }; LogOut = new Progile.TRIO.BaseModel.Button(tester: t, displayName: "Log out", activeImageReference: Images.TopMenu.LogOut.active, filters: ScreenSelect) { ParentScreen = this }; LoggedInUser = new Progile.TRIO.BaseModel.LabelWithValue(tester: t, displayName: "Logged in user", valuePosition: RelativePosition.Right, imageReferenceForLabel: Images.TopMenu.LoggedInUser, gridWidth: 800, filters: ScreenSelect) { ParentScreen = this }; ConfigureElementProperties(); }