private void Option_Click(object sender, RoutedEventArgs e) { var dialog = new options(); dialog.ShowDialog(); }