示例#1
0
        /// <summary>
        /// 右键菜单单击事件 添加用户组
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItem_Add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            UserGroupManage userGroup = new UserGroupManage();
            userGroup.Tag = "Add";

            userGroup.ShowDialog();
        }
示例#2
0
        /// <summary>
        /// 添加按钮单击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SystemManagementAndTools_UserGroupManage_AddGroup_SimpleButton_Click(object sender, EventArgs e)
        {
            UserGroupManage userGroup = new UserGroupManage();

            userGroup.Tag = "Add";

            userGroup.ShowDialog();
        }
示例#3
0
        /// <summary>
        /// 右键菜单单击事件 添加用户组
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItem_Add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            UserGroupManage userGroup = new UserGroupManage();

            userGroup.Tag = "Add";

            userGroup.ShowDialog();
        }
示例#4
0
        /// <summary>
        /// 右键菜单单击事件 用户组详细信息
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void barButtonItem_Details_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            group = (Group)SystemManagementAndTools_UserGroupManage_UserGroupList_UserGroupList_GridView.GetFocusedRow();
            UserGroupManage userGroup = new UserGroupManage();

            userGroup.Tag   = "Modify";
            userGroup.group = group;
            userGroup.ShowDialog();
        }
示例#5
0
        /// <summary>
        /// 添加按钮单击事件
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void SystemManagementAndTools_UserGroupManage_AddGroup_SimpleButton_Click(object sender, EventArgs e)
        {
            UserGroupManage userGroup = new UserGroupManage();
            userGroup.Tag = "Add";

            userGroup.ShowDialog();
        }
示例#6
0
 /// <summary>
 /// 右键菜单单击事件 修改用户组
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void barButtonItem_Modify_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     group = (Group)SystemManagementAndTools_UserGroupManage_UserGroupList_UserGroupList_GridView.GetFocusedRow();
     UserGroupManage userGroup = new UserGroupManage();
     userGroup.Tag = "Modify";
     userGroup.group = group;
     userGroup.ShowDialog();
 }