Exemple #1
0
        /// <summary>
        /// 点击新建笔记本按钮
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void miNewNotebook_Click(object sender, RoutedEventArgs e)
        {
            var vm = new ViewModels.NotebookViewModel();

            vm.ShowDialog();
        }
Exemple #2
0
 /// <summary>
 /// 修改笔记本
 /// </summary>
 /// <param name="parameter"></param>
 private void EditNotebook(NotebookViewModel parameter)
 {
     parameter.ShowDialog();
 }