internal void SetServer(ServerModel server) { ServerModel = (Models.ServerModel)server.Clone(); txt_ip.Text = ServerModel.IP; txt_mac.Text = ServerModel.Mac; txt_mode.Text = ServerModel.Mode.ToString(); txt_password.Text = ServerModel.Password; txt_servername.Text = ServerModel.ServerName; txt_username.Text = ServerModel.UserName; IsUpdated = true; }