private void browse_Click(object sender, System.EventArgs e) { if (openFile.ShowDialog(this) == DialogResult.OK) { PathElipsis pe = new PathElipsis(openFile.FileName); uoClient.Text = pe.GetPath(); IsValidClientAndDataDir(); } }
private void browse_Click(object sender, System.EventArgs e) { if (openFile.ShowDialog(this) == DialogResult.OK) { PathElipsis pe = new PathElipsis(openFile.FileName); uoClient.Text = pe.GetPath(); dataDir.Text = m_DataDir = Path.GetDirectoryName(uoClient.Text); Config.SetAppSetting("UODataDir", dataDir.Text); Config.SetAppSetting("UOClient", uoClient.Text); IsValidClientAndDataDir(); } }