private ReflexilHost CreateHostControlIfNecessary() { if (_host != null) { return(_host); } Application.EnableVisualStyles(); _host = new ReflexilHost(this, OnCloseReflexilHost); return(_host); }
private void OnClickExecuted() { if (!IsReflexilHostLoaded) { if (this.reflexilHost == null) { this.reflexilHost = new ReflexilHost(OnCloseReflexilHostExecuted, ReflexilWindow); } regionManager.AddToRegion("PluginRegion", reflexilHost); SetReflexilHandler(this.selectedItem); } }
private void OnClickExecuted() { if (!this.IsReflexilHostLoaded) { if (this.reflexilHost == null) { this.reflexilHost = new ReflexilHost(new Action(this.OnCloseReflexilHostExecuted), this.ReflexilWindow); } this.regionManager.AddToRegion("PluginRegion", this.reflexilHost); this.SetReflexilHandler(this.selectedItem); } }