Exemplo n.º 1
0
 public override ListViewItem GetMenuItem(ListViewGroupCollection groups)
 {
     System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem("用户管理", 1);
     listViewItem7.Group = groups.Cast<ListViewGroup>()
         .Where(l => l.Name.Equals("lvgManage")).FirstOrDefault();
     listViewItem7.ToolTipText = "用户管理";
     return listViewItem7;
 }
Exemplo n.º 2
0
 public override ListViewItem GetMenuItem(ListViewGroupCollection groups)
 {
     System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem("学生管理", 6);
     listViewItem3.Group = groups.Cast<ListViewGroup>()
         .Where(l => l.Name.Equals("lvgSchool")).FirstOrDefault();
     listViewItem3.ToolTipText = "学生管理";
     return listViewItem3;
 }
Exemplo n.º 3
0
 public override ListViewItem GetMenuItem(ListViewGroupCollection groups)
 {
     var listViewItem1 = new System.Windows.Forms.ListViewItem("基本信息", 4);
     listViewItem1.Group = groups.Cast<ListViewGroup>()
         .Where(l => l.Name.Equals("lvgSchool")).FirstOrDefault();
     listViewItem1.ToolTipText = "基本信息";
     return listViewItem1;
 }