private void FileComboBox_SelectedIndexChanged(object sender, EventArgs e) { FileInfo.Text = "Start address:" + unpacker.PartitionInfo(UpgradeFile.Text, FileComboBox.Text, Unpacker.PartitionInfoType.StartAddress) + "\n" + "End address:" + unpacker.PartitionInfo(UpgradeFile.Text, FileComboBox.Text, Unpacker.PartitionInfoType.EndAddress) + "\n" + "File size:" + unpacker.PartitionInfo(UpgradeFile.Text, FileComboBox.Text, Unpacker.PartitionInfoType.FileSize) + "\n" + "File name:" + unpacker.PartitionInfo(UpgradeFile.Text, FileComboBox.Text, Unpacker.PartitionInfoType.Filename) + "\n" + "File extension:" + unpacker.PartitionInfo(UpgradeFile.Text, FileComboBox.Text, Unpacker.PartitionInfoType.FileExtension); }