private unsafe void Import()
        {
            string path;

            if (Program.OpenFile("PCM Audio (*.wav)|*.wav", out path) > 0)
            {
                RSARFileAudioNode n;

                if ((_resource.Parent as NW4RNode).VersionMinor >= 3)
                {
                    n = new RWAVNode();
                }
                else
                {
                    n = new WAVESoundNode();
                }

                _resource.AddChild(n);
                n.Replace(path);

                BaseWrapper res = this.FindResource(n, true);
                res.EnsureVisible();
                res.TreeView.SelectedNode = res;
            }
        }
        private void sndNew_Click(object sender, EventArgs e)
        {
            WAVESoundNode s = new WAVESoundNode();

            s.Name   = String.Format("[{0}]Audio", _targetNode.Children[1].Children.Count);
            s.Parent = _targetNode.Children[1];
            using (OpenFileDialog ofd = new OpenFileDialog())
            {
                ofd.Filter = SupportedFilesHandler.GetCompleteFilter("wav");
                if (ofd.ShowDialog() != DialogResult.Cancel)
                {
                    s.Replace(ofd.FileName);
                    TargetChanged();
                    ReselectBaseEntry();
                }
            }
        }