예제 #1
0
 public SocketClient(Form1 form,string inRemoteIpAddr, int inRemotePortNum)
 {
     this._RemoteIpAddress = inRemoteIpAddr;
     this._RemotePortNumber = inRemotePortNum;
     f = form;
     setListBox = f.addListBoxString;
 }
예제 #2
0
 public SocketClient(Form1 form, string inRemoteIpAddr, int inRemotePortNum)
 {
     this._RemoteIpAddress  = inRemoteIpAddr;
     this._RemotePortNumber = inRemotePortNum;
     f          = form;
     setListBox = f.addListBoxString;
 }
예제 #3
0
파일: IM.cs 프로젝트: atree1987/MyWorks
 private void SetListBoxValue(string value)
 {
     if (this.listBox1.InvokeRequired)
     {
         SetListBox sbox = new SetListBox(SetListBoxValue);
         listBox1.Invoke(sbox, value);
     } 
     else 
     {
             listBox1.Items.Add(value);
     }
 }
예제 #4
0
파일: IM.cs 프로젝트: ylan2009/MyWorks
 private void SetListBoxValue(string value)
 {
     if (this.listBox1.InvokeRequired)
     {
         SetListBox sbox = new SetListBox(SetListBoxValue);
         listBox1.Invoke(sbox, value);
     }
     else
     {
         listBox1.Items.Add(value);
     }
 }