Ejemplo n.º 1
0
        private void cbServiceProviders_SelectedIndexChanged(object sender, EventArgs e)
        {
            if (((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag != null)
            {
                lnChangeSettings.Visible = true;

                try
                {
                    RemwaveLiteWS.ServiceProvider serviceProvider = new Remwave.Client.RemwaveLiteWS.ServiceProvider();
                    serviceProvider          = ((RemwaveLiteWS.ServiceProvider)((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag);
                    tbSipProxyAddress.Text   = serviceProvider.SIPProxyAddress + ":" + serviceProvider.SIPProxyPort.ToString();
                    tbSipRealm.Text          = serviceProvider.SIPProxyRealm;
                    tbIMServerAddress.Text   = serviceProvider.IMServerAddress + ":" + serviceProvider.IMServerPort.ToString();
                    tbVideoProxyAddress.Text = serviceProvider.VideoProxyAddress + ":" + serviceProvider.VideoProxyPort.ToString();
                }
                catch (Exception)
                {
                    //   throw;
                }
            }
            else
            {
                lnChangeSettings.Visible = false;

                tbSipProxyAddress.Text   = myClientForm.myClientConfiguration.SIPProxyAddress;
                tbSipRealm.Text          = myClientForm.myClientConfiguration.SIPProxyRealm;
                tbIMServerAddress.Text   = myClientForm.myClientConfiguration.IMServerAddress;
                tbVideoProxyAddress.Text = myClientForm.myClientConfiguration.VideoProxyAddress;
            }
        }
Ejemplo n.º 2
0
        private void lnChangeSettings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag != null)
            {
                try
                {
                    RemwaveLiteWS.ServiceProvider serviceProvider = new Remwave.Client.RemwaveLiteWS.ServiceProvider();
                    serviceProvider = ((RemwaveLiteWS.ServiceProvider)((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag);

                    System.Diagnostics.Process.Start(serviceProvider.SignupLink);
                }
                catch (Exception)
                {
                    // throw;
                }
            }
        }
Ejemplo n.º 3
0
        private void lnChangeSettings_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            if (((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag != null)
            {
                try
                {
                    RemwaveLiteWS.ServiceProvider serviceProvider = new Remwave.Client.RemwaveLiteWS.ServiceProvider();
                    serviceProvider = ((RemwaveLiteWS.ServiceProvider)((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag);

                    System.Diagnostics.Process.Start(serviceProvider.SignupLink);
                }
                catch (Exception)
                {
                    // throw;
                }
            }
        }
Ejemplo n.º 4
0
        private void cbServiceProviders_SelectedIndexChanged(object sender, EventArgs e)
        {

            if (((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag != null)
            {
                lnChangeSettings.Visible = true;

                try
                {
                    RemwaveLiteWS.ServiceProvider serviceProvider = new Remwave.Client.RemwaveLiteWS.ServiceProvider();
                    serviceProvider = ((RemwaveLiteWS.ServiceProvider)((RadComboBoxItem)cbServiceProviders.SelectedItem).Tag);
                    tbSipProxyAddress.Text = serviceProvider.SIPProxyAddress + ":" + serviceProvider.SIPProxyPort.ToString();
                    tbSipRealm.Text = serviceProvider.SIPProxyRealm;
                    tbIMServerAddress.Text = serviceProvider.IMServerAddress + ":" + serviceProvider.IMServerPort.ToString();
                    tbVideoProxyAddress.Text = serviceProvider.VideoProxyAddress + ":" + serviceProvider.VideoProxyPort.ToString();
                }
                catch (Exception)
                {
                 //   throw;
                }
            }
            else
            {
                lnChangeSettings.Visible = false;

                tbSipProxyAddress.Text = myClientForm.myClientConfiguration.SIPProxyAddress;
                tbSipRealm.Text = myClientForm.myClientConfiguration.SIPProxyRealm;
                tbIMServerAddress.Text = myClientForm.myClientConfiguration.IMServerAddress;
                tbVideoProxyAddress.Text = myClientForm.myClientConfiguration.VideoProxyAddress;
            }

        }