Exemplo n.º 1
0
        private void label1_Click(object sender, EventArgs e)
        {
            frm_rule frm = new frm_rule();

            frm.RType = RType;
            frm.pCtrl = this;
            frm.ShowDialog();
        }
Exemplo n.º 2
0
        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();
        }