private void Files_DoubleClick(object sender, System.EventArgs e) { if (Files.SelectedItems.Count > 0 && OpenSelectedFile != null) { OpenFileEventArg tmp = new OpenFileEventArg(); tmp.filename = Files.SelectedItems[0].Tag.ToString(); OpenSelectedFile(this, tmp); } }
private void Files_DoubleClick(object sender, System.EventArgs e) { if(Files.SelectedItems.Count>0 && OpenSelectedFile!=null){ OpenFileEventArg tmp = new OpenFileEventArg(); tmp.filename = Files.SelectedItems[0].Tag.ToString(); OpenSelectedFile(this,tmp); } }