using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace robospot_camera_finder { public partial class Manual_IP_Form : Form { [DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)] public string ipAddress { get; set; } public Manual_IP_Form() { InitializeComponent(); } private void btnValidate_Click(object sender, EventArgs e) { this.ipAddress = txtIPAddress.Text; this.DialogResult = DialogResult.OK; this.Close(); } } }