Пример #1
0
 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();
 }
Пример #2
0
 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();
 }