Esempio n. 1
0
 private void timer(object sender, EventArgs e)
 {
     pbLoad.Value += 10;
     if (pbLoad.Value == 100)
     {
         t1.Stop();
         player.Stop();
         Raichu r = new Raichu();
         r.Show();
         Close();
     }
 }
Esempio n. 2
0
        void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target)
        {
            switch (connectionId)
            {
            case 1:
                this.raichu = ((Pokegotchi.Raichu)(target));
                return;

            case 2:
                this.raichuGrid = ((System.Windows.Controls.Grid)(target));
                return;

            case 3:
                this.lbl1 = ((System.Windows.Controls.Label)(target));
                return;

            case 4:
                this.lbl2 = ((System.Windows.Controls.Label)(target));
                return;

            case 5:
                this.lblDormir = ((System.Windows.Controls.Label)(target));
                return;

            case 6:
                this.lblTerminar = ((System.Windows.Controls.Label)(target));

            #line 20 "..\..\Raichu.xaml"
                this.lblTerminar.MouseEnter += new System.Windows.Input.MouseEventHandler(this.destacarBordes);

            #line default
            #line hidden

            #line 20 "..\..\Raichu.xaml"
                this.lblTerminar.MouseLeave += new System.Windows.Input.MouseEventHandler(this.ocultarBordes);

            #line default
            #line hidden

            #line 20 "..\..\Raichu.xaml"
                this.lblTerminar.MouseDown += new System.Windows.Input.MouseButtonEventHandler(this.terminar);

            #line default
            #line hidden
                return;
            }
            this._contentLoaded = true;
        }