public WindowHost() { wrapper = new Class1(); if (instance == null) { instance = this; } }
public void Execute(object parameter) { var wndHost = WindowHost.GetInstance(); if (wndHost == null) { return; } wndHost.Effect(); }