Exemplo n.º 1
0
 private void btnConfigurations_Click(object sender, EventArgs e)
 {
     try
     {
         frmConfiguracion cfg = new frmConfiguracion();
         cfg.ShowDialog(this);
         WSConnector.Instance.Url = cfg.Url;
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "ERROR!!");
     }
 }
Exemplo n.º 2
0
        private void btnConfigurations_Click(object sender, EventArgs e)
        {
            //String exc = "";

            try
            {
                String           url = WSConnector.Instance.Url;
                frmConfiguracion cfg = new frmConfiguracion(url);
                cfg.ShowDialog(this);
                WSConnector.Instance.Url = cfg.Url;
                WSConnector.Instance.Login();
            }catch (Exception ex) {
                MessageBox.Show(ex.Message, "ERROR!");
            }
        }