/// <summary> /// Event handler function for Open Debug Output button click /// </summary> /// <param name="sender">Control sending the activation event</param> /// <param name="e">Routed event args., if any, required for the event</param> private void OpenDebugOutput(object sender, RoutedEventArgs e) { BAS001CTC1 module = this.DataContext as BAS001CTC1; module.OpenDebugOutput(); }
/// <summary> /// Initializes a new instance of the BAS001CTC1UI class /// </summary> /// <param name="module">BAS001CTC1 module class object to initialize</param> public BAS001CTC1UI(BAS001CTC1 module) { this.InitializeComponent(); this.DataContext = module; }