RARE album review

I have been a fan of the alté sound for at least 2 years. My definition of alté is simply alternative music, different from the generic afro-beat/dancehall music in Nigeria. The alté music leaders…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Close a Window from ViewModel using WPF and MVVM pattern

1- The first thing we will do is declare a RelayCommand property that receives as parameter the IClosable interface.

2- We create the “CloseWindow” method that also receives as parameter the IClosable interface, this method execute the action if parameter is not null.

3- We define the constructor of the class, we initialize the “CloseWindowCommand” property and send the window related to the view model.

Add a comment

Related posts:

What I learned as a Vegan Athlete

Veganism is taught to be a diet of “takeaways”. This belief serves a great injustice to plant based diets that posses life changing health benefits. These benefits not only meet the needs of…

A Case For Fanfiction

No fandom is a homogenous, monolithic, passive unit. Fanfiction arms fans with a role that is more than reactive, a voice to tell their own stories.

How to think about solving an Engineering Problem in Innovative ways

While working on various software projects, I have used a strategy very successfully to solve many challenging problems in innovative ways. My problem solving strategy for a technical solution is…