Example #1
0
 public PrincipalViewModel()
 {
     AbreFechamentoCaixaCommand = new Command(async() => await AbreFechamentoCaixa());
     AbreHistoricoCommand       = new Command(async() => await AbreHistorico());
     SairCommand = new Command(async() => await Sair());
     _android    = DependencyService.Get <IAndroid>();
 }
Example #2
0
 public MobileClient(IMobile factory)
 {
     androidPhone = factory.GetAndroidPhone();
     iOSPhone     = factory.GetiOSPhone();
 }
 public void Charge(IAndroid android)
 {
     android.Charge();
 }
Example #4
0
 private void button1_Click(object sender, EventArgs e)
 {
     android             = new Samsung();
     label2.Text         = android.RunAndroidGame(txtboxInfo.Text);
     pictureBox2.Visible = true;
 }
Example #5
0
 public AndroidToIphoneAdapter(IAndroid andoidPhone)
 {
     andoidPhone = _andoidPhone;
 }
Example #6
0
 public NewAgeSmartPhone(IAndroid android) : base(android)
 {
 }
Example #7
0
 public SmartPhone(IAndroid android) => _android = android;