Beispiel #1
0
        private void buttonJunk_Click(object sender, RoutedEventArgs e)
        {
            int bytes;

            if (!Int32.TryParse(textboxJunkSize.Text, out bytes))
            {
                MessageBox.Show("Error: JUNK chunk size parse error");
                return;
            }

            var p = new JunkChunkParams(bytes);

            WavChunk = p;

            DialogResult = true;
            Close();
        }
        private void buttonJunk_Click(object sender, RoutedEventArgs e)
        {
            int bytes;
            if (!Int32.TryParse(textboxJunkSize.Text, out bytes)) {
                MessageBox.Show("Error: JUNK chunk size parse error");
                return;
            }

            var p = new JunkChunkParams(bytes);

            WavChunk = p;

            DialogResult = true;
            Close();
        }