Beispiel #1
0
 private void Abrir_URL(string url, string titulo)
 {
     if (Config.explorador == "hipoqih")
     {
         // el formularo de los avisos
         // OJO--> siempre es nuevo
         aviso ffAviso = new aviso();
         ffAviso.Width  = Config.avisowidth;
         ffAviso.Height = Config.avisoheight;
         ffAviso.Top    = Config.avisotop;
         ffAviso.Left   = Config.avisoleft;
         ffAviso.Text   = titulo;
         ffAviso.st_url = url;
         ffAviso.cargaURL();
         ffAviso.Show();
     }
     else
     {
         try
         {
             System.Diagnostics.Process proc = new System.Diagnostics.Process();
             proc.EnableRaisingEvents = false;
             proc.StartInfo.Arguments = url;
             proc.StartInfo.FileName  = @Config.explorador;
             proc.Start();
         }
         catch
         {
         }
     }
 }
Beispiel #2
0
 private void Abrir_URL(string url, string titulo)
 {
     if (Config.explorador == "hipoqih")
     {
         aviso ff = new aviso();
         ff.Width  = Config.avisowidth;
         ff.Height = Config.avisoheight;
         ff.Top    = Config.avisotop;
         ff.Left   = Config.avisoleft;
         ff.Text   = titulo;
         ff.st_url = url;
         ff.cargaURL();
         ff.Show();
     }
     else
     {
         try
         {
             System.Diagnostics.Process proc = new System.Diagnostics.Process();
             proc.EnableRaisingEvents = false;
             proc.StartInfo.Arguments = "http://" + url;
             proc.StartInfo.FileName  = @Config.explorador;
             proc.Start();
         }
         catch (Exception e)
         {
         }
     }
 }
Beispiel #3
0
 private void Abrir_URL(string url, string titulo)
 {
     if (Config.explorador == "hipoqih")
     {
         aviso ff = new aviso();
         ff.Width = Config.avisowidth;
         ff.Height = Config.avisoheight;
         ff.Top = Config.avisotop;
         ff.Left = Config.avisoleft;
         ff.Text = titulo;
         ff.st_url = url;
         ff.cargaURL();
         ff.Show();
     }
     else
     {
         try
         {
             System.Diagnostics.Process proc = new System.Diagnostics.Process();
             proc.EnableRaisingEvents = false;
             proc.StartInfo.Arguments = "http://"+url;
             proc.StartInfo.FileName = @Config.explorador;
             proc.Start();
         }
         catch (Exception e)
         {
         }
     }
 }
Beispiel #4
0
 private void Abrir_URL(string url, string titulo)
 {
     if (Config.explorador == "hipoqih")
      {
          // el formularo de los avisos
          // OJO--> siempre es nuevo
          aviso ffAviso = new aviso();
          ffAviso.Width = Config.avisowidth;
          ffAviso.Height = Config.avisoheight;
          ffAviso.Top = Config.avisotop;
          ffAviso.Left = Config.avisoleft;
          ffAviso.Text = titulo;
          ffAviso.st_url = url;
          ffAviso.cargaURL();
          ffAviso.Show();
      }
      else
      {
          try
          {
              System.Diagnostics.Process proc = new System.Diagnostics.Process();
              proc.EnableRaisingEvents = false;
              proc.StartInfo.Arguments = url;
              proc.StartInfo.FileName = @Config.explorador;
              proc.Start();
          }
          catch
          {
          }
      }
 }