public override void ViewDidAppear (bool animated) { base.ViewDidAppear (animated); // Let the controller know that the view has finished loading. Controller = new LoginViewController(this, iOSClientFactory.DefaultClient()); Controller.ViewDidLoad (); }
public WinLoginView() { //UI related. Sets placeholdertext InitializeComponent(); ThemeProperties.SetPlaceholderText(EmailTextBox, "E-mail"); ThemeProperties.SetPlaceholderText(PasswordTextBox, "Password"); string Ip = System.IO.File.ReadAllText("IpTextFile.txt"); //Controller var clientMessager = new ClientMessenger(new SynchronousSocketClient(Ip)); Controller = new LoginViewController(this, clientMessager); Controller.ViewDidLoad(); }
private void InitiateController() { Controller = new LoginViewController(this, new ClientMessenger(new SynchronousSocketClient("93.166.226.201"))); Controller.ViewDidLoad(); }