コード例 #1
0
        protected override void ViewCore()
        {
            // Open window
            NewItemWindow window = new NewItemWindow(SelectedNote);

            window.Show();
        }
コード例 #2
0
        protected override void NewCore()
        {
            // Open new window
            NewItemWindow window = new NewItemWindow();

            window.Show();
        }
コード例 #3
0
        protected override void NewCore()
        {
            // Open new window
            //TODO CalendarPlugin: Keep this or replace it by detailview?
            //TODO CalendarPlugin: Set the window on the plugin
            NewItemWindow window = new NewItemWindow();

            window.Show();
        }
コード例 #4
0
        private void ViewModel_OpenItem(object sender, EventArgs e)
        {
            _newItemViewModel = new NewItemViewModel(_service);
            _newItemViewModel.MessageApplication += ViewModel_MessageApplication;
            _newItemViewModel.BackToMain         += ViewModel_Back;

            _newItemView = new NewItemWindow
            {
                DataContext = _newItemViewModel
            };

            _newItemView.Show();
            _view.Close();
        }