Exemple #1
0
 public void ServerForm_Load(object sender, EventArgs e)
 {
     //폼 로드시, 현재 컴퓨터의 LocalIPAddress를 TextBox에 출력합니다.
     tbxLocalIpAddress.Text = serverEvent.LocalIPAddress();
     btnStart.Enabled       = true;
     btnStop.Enabled        = false;
 }
Exemple #2
0
 public void ServerForm_Load(object sender, EventArgs e)
 {
     try
     {
         ServerEvent serverEvent = new ServerEvent();
         tbxLocalIpAddress.Text = serverEvent.LocalIPAddress();
         btnStart.Enabled       = true;
         btnStop.Enabled        = false;
     }
     catch (Exception ex) { }
 }
Exemple #3
0
 public void ServerForm_Load(object sender, EventArgs e)
 {
     try
     {
         //폼 로드시, 현재 컴퓨터의 LocalIPAddress를 TextBox에 출력합니다.
         tbxLocalIpAddress.Text = serverEvent.LocalIPAddress();
         btnStart.Enabled       = true;
         btnStop.Enabled        = false;
     }
     catch (Exception ex)
     {
         MessageBox.Show("btnStart_Click : \r\n" + ex.ToString());
     }
 }
Exemple #4
0
 public void ServerForm_Load(object sender, EventArgs e)
 {
     log4net.Config.XmlConfigurator.Configure(new System.IO.FileInfo("log_ErrorLog.xml"));
     try
     {
         ServerEvent serverEvent = new ServerEvent();
         tbxLocalIpAddress.Text = serverEvent.LocalIPAddress();
         btnStart.Enabled       = true;
         btnStop.Enabled        = false;
     }
     catch (Exception ex)
     {
         logger.Info("ServerForm_Load Error: " + ex.ToString());
     }
 }
        public void ServerForm_Load(object sender, EventArgs e)
        {
            try
            {
                ServerEvent serverEvent = new ServerEvent();
                tbxLocalIpAddress.Text = serverEvent.LocalIPAddress();
                btnStart.Enabled       = true;
                btnStop.Enabled        = false;

                cbxChannel.Items.Add("All");
                for (int i = 65; i < 91; i++)
                {
                    cbxChannel.Items.Add(Convert.ToChar(i));
                }
                cbxChannel.Text = "All";
            }
            catch (Exception ex)
            {
                ServerEvent.ErrorLog("ServerForm_Load", ex.Message);
            }
        }