Пример #1
0
        private void Open_Click(object sender, RoutedEventArgs e)
        {
            UltimaPacket packet = Packet;

            if (packet != null)
            {
                try
                {
                    BinaryWindow window = new BinaryWindow();
                    window.Binary.Packet = packet;
                    window.Show();
                }
                catch (Exception ex)
                {
                    App.Window.ShowNotification(NotificationType.Error, ex);
                }
            }
        }
Пример #2
0
        private void Open_Click( object sender, RoutedEventArgs e )
        {
            UltimaPacket packet = Packet;

            if ( packet != null )
            {
                try
                {
                    BinaryWindow window = new BinaryWindow();
                    window.Binary.Packet = packet;
                    window.Show();
                }
                catch ( Exception ex )
                {
                    App.Window.ShowNotification( NotificationType.Error, ex );
                }
            }
        }