public ThreadAsynchronousCheckWindow() { InitializeComponent(); this.DataContext = new ThreadTest(); DoOperation = (this.DataContext as ThreadTest).OnDoThreads; FlagChange = (this.DataContext as ThreadTest).OnFlagChange; }
public OperationTask(ThreadsOperation threadsOperacion) { ListaOperaciones = threadsOperacion.Items; InitializeComponent(); }