private void ViewAssBTN_Click(object sender, EventArgs e) { var shadow = new Shadow { Size = new Size(900, 600), Location = Location, Transparency = 0.4 }; var view = new SchedViewAssHistory { Gid = Gid, Location = Location, Name = "Archived", GuardName = LLBL.Text + LNLBL.Text, Refer = shadow }; shadow.Transparent(); shadow.Form = view; shadow.ShowDialog(); }