private void InitializeWindow(IProctoringControl control) { if (control is UIElement element) { Content = element; control.FullScreenChanged += Control_FullScreenChanged; } Closing += ProctoringWindow_Closing; Loaded += ProctoringWindow_Loaded; Top = SystemParameters.WorkArea.Height - Height - 15; Left = SystemParameters.WorkArea.Width - Width - 20; }
public ProctoringWindow(IProctoringControl control) { InitializeComponent(); InitializeWindow(control); }
public IProctoringWindow CreateProctoringWindow(IProctoringControl control) { return(Application.Current.Dispatcher.Invoke(() => new ProctoringWindow(control))); }
public IProctoringWindow CreateProctoringWindow(IProctoringControl control) { // TODO throw new System.NotImplementedException(); }