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