Example #1
0
        private void OnCreateImgArchiveClick(object sender, EventArgs e)
        {
            NewArchiveWindow window = new NewArchiveWindow();

            window.OnPathSet += (s, ee) =>
            {
                ArchiveFile file = ArchiveFile.Create(Path.Combine(currentDir.FullPath, ee.Path));
                OpenArchive(file);
            };

            window.ShowDialog();
        }