Exemple #1
0
        private void MenuItemServerRename_Click(object sender, RoutedEventArgs e)
        {
            SmartItem item = ServerList.SelectedItem();

            if (item == null)
            {
                return;
            }

            RenameWindow.Rename(this, item, false);
        }
Exemple #2
0
        private void MenuItemLocalRename_Click(object sender, RoutedEventArgs e)
        {
            SmartItem item = LocalList.SelectedItem();

            if (item == null)
            {
                return;
            }

            RenameWindow.Rename(this, item, true);
        }