private void btnbuscar(object sender, EventArgs e) { Busqueda busqueda = Busqueda.getInstance(470, 0); busqueda.Show(); busqueda.Visible = true; chBoxListMostraBus = busqueda.enviarChe(); actulizarChek(); //ERRRORRRRRR //lista.ToString()); }
public static Busqueda getInstance(int x, int y) { xi = x; yi = y; MessageBox.Show("1"); if (instance == null) { instance = new Busqueda(); return instance; } else return instance; }
public static Busqueda getInstance(int x, int y) { xi = x; yi = y; MessageBox.Show("1"); if (instance == null) { instance = new Busqueda(); return(instance); } else { return(instance); } }