TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
abdelwaheb ammar
1.3k
456
123.8k
link two windows in WPF + MVVM Light
Feb 16 2018 6:44 PM
Good evening, I try to link the window WPF "MainWindow" with another window WPF that I name it "window". I write this code with MVVMLight Toolkit:
ViewModel / MainViewModel.cs
public
class
MainViewModel : ViewModelBase
{
public
ICommand Save {
get
;
set
; }
public
MainViewModel()
{
ave =
new
RelayCommand(CommandSave);
}
rivate
void
CommandSave()
{
fenetre windows =
new
fenetre();
windows.Show();
}
}
does this confirm the MVVM design pattern, or how can I fix it?
Reply
Answers (
2
)
collapsing controls and resizing form
Need to make WPF application keyboard navigable