- Removed redundant folder and file opening methods from AiTabView and FaceAiTabView. - Introduced PathPickerField control to streamline path selection and opening functionality across multiple views. - Updated FaceAiTabView and GeneralTabView to utilize PathPickerField for source and destination path selection. - Created PathShellService to encapsulate logic for opening paths in the file explorer. - Simplified XAML structure by replacing manual grid definitions with PathPickerField components. - Removed unused namespaces and cleaned up code for better readability and maintainability.
8 lines
No EOL
114 B
C#
8 lines
No EOL
114 B
C#
namespace ImageCatalog_2.Controls;
|
|
|
|
public enum PathPickerSelectionMode
|
|
{
|
|
Folder,
|
|
OpenFile,
|
|
SaveFile
|
|
} |