private void Right_Click(object sender, RoutedEventArgs e) { CMTV094CTC1 module = this.DataContext as CMTV094CTC1; module.Button1('r'); }
/// <summary> /// Advance to the next page /// </summary> /// <param name="sender">UI Element originating this event</param> /// <param name="e">Routed event args</param> private void NextPage(object sender, RoutedEventArgs e) { CMTV094CTC1 module = this.DataContext as CMTV094CTC1; module.NextPage(); }
private void BeginOrStop(object sender, RoutedEventArgs e) { CMTV094CTC1 module = this.DataContext as CMTV094CTC1; module.BeginOrStop(); }
/// <summary> /// Initializes a new instance of the <see cref="CMTV094CTC1UI" /> class. /// </summary> /// <param name="module">The module class associated with this UI</param> public CMTV094CTC1UI(CMTV094CTC1 module) { this.InitializeComponent(); this.DataContext = module; }