private void OpenDirectoryManager(object sender, EventArgs e) { if (!Window.Opened) { DirectoryManager dirManager = new DirectoryManager(); dirManager.Show(); } Window.Current.Activate(); }
public DirectoryControl(DirectoryManager directoryManager, DBDirectory dir, int order) : base(directoryManager.DirsPanel, order) { _directoryManager = directoryManager; _attachedDirectory = dir; _accessor = _directoryManager.Accessor; InitializeComponents(); }