private void fromSerializedFileToolStripMenuItem_Click(object sender, EventArgs e) { CreateFromFile(Properties.Resources.AllFilesFilter_String, fileName => new PacketLogDocument(GeneralUtils.DeserializeLogPackets(fileName))); }