예제 #1
0
        private void label1_Click(object sender, EventArgs e)
        {
            frm_rule frm = new frm_rule();

            frm.RType = RType;
            frm.pCtrl = this;
            frm.ShowDialog();
        }
예제 #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();
        }