private void label1_Click(object sender, EventArgs e) { frm_rule frm = new frm_rule(); frm.RType = RType; frm.pCtrl = this; frm.ShowDialog(); }
private void lblEdit_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e) { frm_rule frm = new frm_rule(); frm.pCtrl = this; frm.Ruleid = Ruleid; frm.Rulename = Rulename; frm.Ruledesr = Ruledesr; frm.Deviceid = Deviceid; frm.Layer = Layer; frm.RType = RType; frm.ShowDialog(); }