private void loader_Click(object sender, EventArgs e) { this.Hide(); timer2.Enabled = false; ContainerMainWindow ir = new ContainerMainWindow(); ir.Show(); }
private void timer2_Tick(object sender, EventArgs e) { timer2.Stop(); textloader.Text = "VERIFICANDO RED"; bool isConnected = Http.hasInternet(); if (!isConnected) { MessageBox.Show("No cuentas con conexion a internet"); } textloader.Text = "VERIFICANDO ESTADO DE LA APP"; CheckingTableExists(); CheckingItsForFisrtTime(); //switch (contador) //{ // case 15: // textloader.Text = "PREPARANDO LOGIN"; // break; // case 28: // textloader.Text = "CALMANDO BESTIAS"; // break; // case 45: // textloader.Text = "BUSCANDO ELFOS"; // break; // case 66: // textloader.Text = "CARGANDO PUNTOS"; // break; // case 90: // textloader.Text = "LISTO!"; // break; //} this.Hide(); ContainerMainWindow ir = new ContainerMainWindow(); ir.Show(); }
public Login(ContainerMainWindow ctx) { InitializeComponent(); Context = ctx; }