private void miRename_Click(object sender, RoutedEventArgs e) { CheckSelectedItem(); string newTitle = InputBoxWindow.ShowDlg("条目重命名", CurrentUri, ""); if (newTitle != null && newTitle.Length > 0) { uriDB.UpdateTitle(CurrentUri, newTitle); } }