コード例 #1
0
        private void OnCancelRename(object parameter)
        {
            Log.Instance.LogInfo(string.Format("RenameViewModel.OnCancelRename {0}", parameter));

            RenameDialog w = parameter as RenameDialog;

            if (w != null)
            {
                w.Close();
            }
        }
コード例 #2
0
        private void OnOKRename(object parameter)
        {
            Log.Instance.LogInfo(string.Format("RenameViewModel.OnOKRename {0}", parameter));

            RenameDialog w = parameter as RenameDialog;

            if (w != null)
            {
                w.Close();
            }

            Log.Instance.LogInfo(string.Format("RenameViewModel - renaming list to {0}", w.textBox1.Text));

            RenameAction(w.textBox1.Text);
        }