public AddServer(ref serverlist list, int num) { InitializeComponent(); this.list = list; txtServerName.Text = list.info[num].Name; txtAddress.Text = list.info[num].Address; checkIsHide.IsChecked = list.info[num].IsHide; this.num = num; }
public AddServer(ref serverlist list) { InitializeComponent(); this.list = list; }