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

            if (item == null)
            {
                return;
            }

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

            if (item == null)
            {
                return;
            }

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