Beispiel #1
0
 private void onTextboxRepertoireChanged(object sender, EventArgs e)
 {
     Settings.Default.RepertoireDeBase = textBoxRepertoire.Text;
     Settings.Default.Save();
     notifyIcon.Text = NetworkUtils.LocalIPAddress().ToString() + " (" + Dns.GetHostName() + ")" + ":" + Settings.Default.Port;
 }
Beispiel #2
0
 private void onPortChanged(object sender, EventArgs e)
 {
     Settings.Default.Port = (int)numericUpDownPort.Value;
     Settings.Default.Save();
     notifyIcon.Text = NetworkUtils.LocalIPAddress().ToString() + " (" + Dns.GetHostName() + ")" + ":" + Settings.Default.Port;
 }