private void ButtonWindowSelectionTimer_Click(object sender, System.Windows.RoutedEventArgs e) { try { System.Windows.MessageBox.Show("10秒後に選択されます。"); WindowSelectionFrame = new FreeEcho.FEWindowSelectionFrame.WindowSelectionFrame(); WindowSelectionFrame.StartWindowSelection(); SelectionTimer.Start(); } catch { } }
private void ButtonWindowSelectionLeftButtonUp_PreviewMouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e) { try { WindowSelectionFrame = new FreeEcho.FEWindowSelectionFrame.WindowSelectionFrame { MouseLeftUpStop = true }; WindowSelectionFrame.MouseLeftButtonUp += WindowSelectionFrame_MouseLeftButtonUpEvent; WindowSelectionFrame.StartWindowSelection(); } catch { } }