Пример #1
0
        ///// <summary>
        ///// 授权
        ///// </summary>
        //public void RightSetup()
        //{
        //    FrmProjectSelect frm = new FrmProjectSelect();
        //    frm.groupno = treeView1.SelectedNode.Name;
        //    frm.groupname = treeView1.SelectedNode.Text;
        //    frm.ShowDialog();

        //}

        /// <summary>
        /// 授权
        /// </summary>
        public void RightSetup()
        {
            FrmProjectSelect frm = new FrmProjectSelect();

            frm.groupno   = treeView1.SelectedNode.Name;
            frm.groupname = treeView1.SelectedNode.Text;
            frm.ShowDialog();

            FrmGroupRights dlg = new FrmGroupRights();

            dlg.Groupno     = treeView1.SelectedNode.Name;;
            dlg.ProjectUID  = MIS.ProgUID;
            dlg.ProjectName = MIS.ProgName;
            dlg.ShowDialog();
        }
Пример #2
0
        ///// <summary>
        ///// ��Ȩ
        ///// </summary>
        //public void RightSetup()
        //{
        //    FrmProjectSelect frm = new FrmProjectSelect();
        //    frm.groupno = treeView1.SelectedNode.Name;
        //    frm.groupname = treeView1.SelectedNode.Text;
        //    frm.ShowDialog();
        //}
        /// <summary>
        /// ��Ȩ
        /// </summary>
        public void RightSetup()
        {
            FrmProjectSelect frm = new FrmProjectSelect();
            frm.groupno = treeView1.SelectedNode.Name;
            frm.groupname = treeView1.SelectedNode.Text;
            frm.ShowDialog();

            FrmGroupRights dlg = new FrmGroupRights();
            dlg.Groupno = treeView1.SelectedNode.Name; ;
            dlg.ProjectUID = MIS.ProgUID;
            dlg.ProjectName = MIS.ProgName;
            dlg.ShowDialog();
        }