Beispiel #1
0
        private async void MenuItemServerNewFolder_Click(object sender, RoutedEventArgs e)
        {
            ServerList.UnselectAll();
            string newFolder = await NewFolderWindow.New(this, false);

            if (!newFolder.NullEmpty())
            {
                SmartItem item = ClientHelper.GetItem(newFolder);
                if (item != null)
                {
                    ServerList.Focus();
                    ServerList.SelectedItem = item;
                }
            }
        }
Beispiel #2
0
 private async void MenuItemLocalNewFolder_Click(object sender, RoutedEventArgs e)
 {
     await NewFolderWindow.New(this, true);
 }