private void OpenReplay_Activated(object sender, EventArgs e) { using var chooser = new PacketDumpSelector(this, "Open Replay", FileChooserAction.Open); chooser.SetFilter("AtlasReactor Replay", "*.arr"); chooser.Callback += s => LoadPacketDump(PacketDumpType.ReplayFile, s); chooser.Run(); }
private void OpenFolder_Activated(object sender, EventArgs e) { using var chooser = new PacketDumpSelector(this, "Open Dump Folder", FileChooserAction.SelectFolder); chooser.Callback += s => LoadPacketDump(PacketDumpType.PacketDirectory, s); chooser.Run(); }