/// <summary> /// Handles the Click event of the Button control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs"/> instance containing the event data.</param> private void Button_Click(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e) { OpenFileDialog dlg = new OpenFileDialog(); dlg.FileName = "*.xamlx"; if (Convert.ToBoolean(dlg.ShowDialog())) { Stream s = dlg.OpenFile(); } }
/// <summary> /// Handles the Click event of the btnRun control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs"/> instance containing the event data.</param> private void btnRun_Click(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e) { vwSOAStudio.Run(); }
/// <summary> /// Activates the Navigator Docking Window /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs"/> instance containing the event data.</param> private void BtnNavigatorWindowClick(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e) { twNavigator.Activate(); }
/// <summary> /// Activates the Description Docking Window /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs"/> instance containing the event data.</param> private void BtnDescWindowClick(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e) { twDescriptions.Activate(); }
/// <summary> /// Activates the Property Docking Window /// </summary> /// <param name="sender">The sender.</param> /// <param name="e">The <see cref="ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs"/> instance containing the event data.</param> private void BtnPropertiesWindowClick(object sender, ActiproSoftware.Windows.Controls.Ribbon.Controls.ExecuteRoutedEventArgs e) { twProperties.Activate(); }