コード例 #1
0
        private void btnBrowse_Click(object sender, EventArgs e)
        {
            string newPath = EditLibraryDlg.GetLibraryPath(this, ExistingLibraryPath);

            if (newPath != null)
            {
                tbxLibraryPath.Text = newPath;
            }
        }
コード例 #2
0
        public string ValidateLibraryPath()
        {
            if (!EditLibraryDlg.ValidateLibraryPath(this, ExistingLibraryPath))
            {
                tbxLibraryPath.Focus();
                return(null);
            }

            return(ExistingLibraryPath);
        }