Esempio n. 1
0
 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");
     }
 }
Esempio n. 2
0
 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"); };
 }