示例#1
0
 private void Uc_EventNewReq(object sender, EventArgs e)
 {
     var arg = e as RequireEventArgs;
     if (arg != null)
     {
         var uc = new UC_ShowRequirementInfo(true);
         ShowPage(uc, arg.Title, arg.Title);
     }
 }
示例#2
0
 /// <summary>
 /// 双击展示需求详情
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Uc_EvenShowRequirementInfo(object sender, EventArgs e)
 {
     var arg = e as RequireEventArgs;
     if (arg != null)
     {
         var uc = new UC_ShowRequirementInfo(arg.ID);
         ShowPage(uc, arg.Title, arg.ID.ToString());
     }
 }