I have .zip archive which contains only one file - a text file. Within my WinForm
I want to open the .zip file, cick on the existing text file.
The text file should be displayed ListView
, this is my code for now:
private void button1_Click(object sender, EventArgs e)
{
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "archieve files (*.zip)|*.zip";
if (openFileDialog1.ShowDialog() == DialogResult.OK)
{
string filename = openFileDialog1.FileName;
textBox1.Text = filename;
}
//
}