public pgKnjiga_utisaka()
 {
     InitializeComponent();
     txtIme.GotFocus += (oo, ee) =>
     {
         tastatura         = new TastaturaXAML(txtIme);
         tastatura.Loaded += (o, e) => { Animate.SlideUp(tastatura); };
         tastatura.Show();
     };
     txtIme.LostFocus += (oo, ee) =>
     {
         Animate.SlideDown(tastatura);
     };
     txtKomentar.GotFocus += (oo, ee) =>
     {
         tastatura         = new TastaturaXAML(txtKomentar);
         tastatura.Loaded += (o, e) => { Animate.SlideUp(tastatura); };
         tastatura.Show();
     };
     txtKomentar.LostFocus += (oo, ee) =>
     {
         Animate.SlideDown(tastatura);
     };
     Animate.SlideUp(this);
     Animate.GridAnimateEntrance(gdKu);
     Animate.GridAnimateEntrance(gdtmp);
 }
Exemplo n.º 2
0
 public pgAdresar()
 {
     InitializeComponent();
     dodaj();
     this.Loaded            += (oo, ee) => { Animate.SlideUp(this); };
     tbPretraga.GotFocus    += (oo, ee) => { tastatura = new TastaturaXAML(tbPretraga); tastatura.Loaded += (o, e) => { Animate.SlideUp(tastatura); }; tastatura.Show(); };
     tbPretraga.LostFocus   += (oo, ee) => { Animate.SlideDown(tastatura); };
     tbPretraga.TextChanged += tbPretraga_TextChanged;
     Animate.GridAnimateEntrance(header);
     Animate.GridAnimateEntrance(footer);
 }