private buttonEdit1_ButtonClick ( object sender, DevExpress e ) : void | ||
sender | object | |
e | DevExpress | |
return | void |
private void buttonEdit1_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
{
FolderBrowserDialog fbd = new FolderBrowserDialog();
fbd.ShowNewFolderButton = false;
try
{
fbd.SelectedPath = buttonEdit1.Text;
}
catch (Exception)
{
}
if (fbd.ShowDialog() == DialogResult.OK)
{
buttonEdit1.Text = fbd.SelectedPath;
Application.DoEvents();
LoadFiles();
}
}