Is this possible to change with a hook?
Posted: Sat Aug 06, 2016 8:17 pm
I didn't think so, but I thought I would ask...
Instead of an Open File Dialog sending a list of files as a string.. I want to replace it with my own.
The method is rather large, it is the Import File Dialog in the Images Module.
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Multiselect = true;
if (EhrAmendmentCur != null)
{
openFileDialog.Multiselect = false;
}
if (openFileDialog.ShowDialog() != DialogResult.OK)
{
return;
}
string[] fileNames = openFileDialog.FileNames;
if (fileNames.Length < 1)
{
return;
}
Instead of an Open File Dialog sending a list of files as a string.. I want to replace it with my own.
OpenFileDialog openFileDialog = new OpenFileDialog();
openFileDialog.Multiselect = true;
if (EhrAmendmentCur != null)
{
openFileDialog.Multiselect = false;
}
if (openFileDialog.ShowDialog() != DialogResult.OK)
{
return;
}
string[] fileNames = openFileDialog.FileNames;
if (fileNames.Length < 1)
{
return;
}