Esempio n. 1
0
        private void OnCancel(object parameter)
        {
            Log.Instance.LogInfo(string.Format("NotesViewModel.OnCancel {0}", parameter));

            NotesDialog w = parameter as NotesDialog;

            if (w != null)
            {
                w.Close();
            }
        }
Esempio n. 2
0
        private void OnOK(object parameter)
        {
            Log.Instance.LogInfo(string.Format("NotesViewModel.OnOK {0}", parameter));

            NotesDialog w = parameter as NotesDialog;

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

            OnOKAction(Index, w.textBox.Text);
        }