CentralServerDemo.MainForm.MainForm_Load C# (CSharp) Method

MainForm_Load() private method

private MainForm_Load ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void
		private void MainForm_Load(object sender, EventArgs e)
		{
			//prep work ...

            LoadVideoDevices();
            LoadAudioDevices();

            audioDevicesForm.cbAudioInDevices.SelectedIndex = 0;
            audioDevicesForm.cbAudioOutDevices.SelectedIndex = 0;

            //select the first available device ..
            cbWebcam.SelectedIndex = 0;

            txtCentralIp.Text = "184.175.121.100"; // this is our sample central server for testing .. //ics.GetLocalIp()[0].ToString();

            ////initialize the audio system ! required
            ics.InitializeAudioSystem(iConfServerDotNet.audioType.DirectSound, -1, -1, 16000, 5);

            timerInputLevel.Enabled = true;

            masterVolume.Value = ics.GetVolume();

            ics.RemoveNoiseFromOutgoingAudio(true);
		}
MainForm