private void Setting_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Setting dlg = new Setting(); dlg.ShowDialog(); }