static UCFileSystemBroswer() { var localMachine = new FileSystemInfo() { Ip = new IPAddress(new byte[] { 127, 0, 0, 1 }), Name = "Local Machine", Username = "", Password = "", }; fileSystemInfoHistory.Add(localMachine); }
private void btnOK_Click(object sender, EventArgs e) { this.NewFileSystemInfo = new FileSystemInfo(); this.DialogResult = System.Windows.Forms.DialogResult.OK; }