示例#1
0
		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 ();
		}
示例#2
0
        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();
        }
示例#3
0
 private void InitiateController()
 {
     Controller = new LoginViewController(this, new ClientMessenger(new SynchronousSocketClient("93.166.226.201")));
     Controller.ViewDidLoad();
 }