public PageParmPass1() { this.InitializeComponent(); var hintUC = new HintUC();//for Show Hint functionality #region Initialize child UCs which synthesize at timed intervals PuChild = new PrompterUC(); PuChild.BtnRepeatMediaOutAsyncClick += PuChild.BtnRepeatMediaOutAsync_Click; BtnPage1RepeatMediaOutAsync.Click += PuChild.BtnRepeatMediaOutAsync_Click; HuChild = new HintUC(); //Todo: synth of hint/Mnemonic RuChild = new ResponseUC(); RuChild.BtnRepeatMediaOutAsync2Click += RuChild.BtnRepeatMediaOutAsync_Click; BtnPage1RepeatMediaOutAsync2.Click += RuChild.BtnRepeatMediaOutAsync_Click; #endregion //Make so parent Run button invokes BtnPlayController.Click += RunPlayListsSets_Click; // PrompterUC.BtnRepeatMediaOutAsyncClick += prompterUC.BtnRepeatMediaOutAsync_Click; // BtnPage1RepeatMediaOutAsync.Click += prompterUC.BtnRepeatMediaOutAsync_Click; TimerSetUp(); Psw = new Stopwatch(); }
private void Page_Loaded(object sender, RoutedEventArgs e) { var prompterUC = new PrompterUC(); }