private void buttonTimer_Click(object sender, RoutedEventArgs e) { SysTimer w = new SysTimer(); ActionShow.CenterShow(CameraTestDesktop.getDesktopPanel(), w); Canvas Desk = CameraTestDesktop.getDesktopPanel(); if (Desk.Children.Contains(this)) { Desk.Children.Remove(this); } }
private void ButtonTimer(object sender, RoutedEventArgs e) { SysTimer ss = new SysTimer(); LynxWindow.ShowWindow(ss, this.Parent as Panel); }