示例#1
0
 private void HeaderMenuShowGridButton_Clicked(object sender, RoutedEventArgs e)
 {
     IsShowGrid = ((AppBarToggleButton)sender).IsChecked.HasValue && ((AppBarToggleButton)sender).IsChecked.Value;
     HeaderMenuEventOccur?.Invoke(sender, new HeaderMenuUpdateEventArgs(HeaderMenuUpdateEvent.DrawGridOnCanvas));
 }
示例#2
0
 private void HeaderMenuSaveButton_Click(object sender, RoutedEventArgs e)
 {
     HeaderMenuEventOccur?.Invoke(sender, new HeaderMenuUpdateEventArgs(HeaderMenuUpdateEvent.Save));
 }