You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
779 B
35 lines
779 B
using System.Windows; |
|
using System.Windows.Input; |
|
using BrilliantSightClient.Model.Helper; |
|
|
|
namespace BrilliantSightClient.Views.Dialog; |
|
|
|
public partial class MessageBoxHasCheck : Window |
|
{ |
|
public MessageBoxHasCheck() |
|
{ |
|
InitializeComponent(); |
|
} |
|
|
|
|
|
|
|
private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) |
|
{ |
|
if (e.ButtonState == MouseButtonState.Pressed) |
|
{ |
|
this.DragMove(); |
|
} |
|
} |
|
|
|
private void ConfirmButton_OnClick(object sender, RoutedEventArgs e) |
|
{ |
|
this.Close(); |
|
} |
|
|
|
public static bool ShowMessageDialog() |
|
{ |
|
var dialog = new MessageBoxHasCheck(); |
|
dialog.ShowDialog(); |
|
return dialog.CheckBoxCancelCheck.IsChecked == true; |
|
} |
|
} |