private void OpenButton_Click(object sender, EventArgs e) { Files fl = DependencyFacade.GetFile(Convert.ToInt32(dataGridView1.SelectedCells[0].Value)); string path = ByteToString(fl.File.ToArray(), fl.Ext); OpenFile(path); this.Hide(); }