public DockerUI(object app) { InitializeComponent(); try { this.corelApp = app as corel.Application; stylesController = new Styles.StylesController(this.Resources, this.corelApp); } catch { global::System.Windows.MessageBox.Show("VGCore Erro"); } }
public ControlUI(object app) { InitializeComponent(); try { this.corelApp = app as corel.Application; stylesController = new Styles.StylesController(this.Resources, this.corelApp); } catch { global::System.Windows.MessageBox.Show("VGCore Erro"); } btn_Command.Click += (s, e) => { corelApp.MsgShow("Working"); }; }