예제 #1
0
        private void RaiseSelectedSizeEvent(int Size)
        {
            SelectedSizeChangedRoutedEventArgs newEventArgs = new SelectedSizeChangedRoutedEventArgs(SizeControl.SelectedSizeChangedEvent)
            {
                Size = Size
            };

            RaiseEvent(newEventArgs);
        }
예제 #2
0
        private void RaiseSelectedSizeEvent(int Size)
        {
            SelectedSizeChangedRoutedEventArgs newEventArgs = new SelectedSizeChangedRoutedEventArgs(SizeControl.SelectedSizeChangedEvent)
            {
                Size = Size
            };

            this.Dispatcher.Invoke(() =>
                                   RaiseEvent(newEventArgs));
        }