private void imgShare_Click(object sender, EventArgs e) { var a = new frmShareFile(); a.infoFileURL = infoFileURL; a.ShowDialog(this); }
private void btnShareFile_ClickButtonArea(object Sender, MouseEventArgs e) { var a = new frmShareFile(); a.infoFileURL = infoFileURL.Text; a.ShowDialog(this); }