public FormEmployConsuInfo(FormEmploySearchConsu ConsuForm, string name, string id) { InitializeComponent(); this.ConsuForm = ConsuForm; this.name = name; this.id = id; }
private void labelConsuSearchClick(object sender, EventArgs e) { this.Visible = false; FormEmploySearchConsu frm = new FormEmploySearchConsu(mainform, id); frm.Owner = this; frm.Show(); frm.Activate(); }