public Home(string id) { InitializeComponent(); this.id = id; friendsListBox = new FriendsListBox(id); friendsListBox.Location = new Point(13, 69); RunChatClient = new Action(RunChatting); this.Controls.Add(friendsListBox); }
public Home(string id) { InitializeComponent(); this.id = id; friendsListBox = new FriendsListBox(id); friendsListBox.Size = new Size(285, 150); friendsListBox.Location = new Point(27, 420); friendsListBox.BorderStyle = BorderStyle.None; RunChatClient = new Action(RunChatting); this.Controls.Add(friendsListBox); FontSet(); }