C# Class TurtleZenTaoLib.IssuesForm

BUG以及任务筛选
Inheritance: System.Windows.Forms.Form
Mostra file Open project: easysoft/zentao_extension Class Usage Examples

Public Methods

Method Description
IssuesForm ( Plugin plugin ) : System
addBugview ( BugInfo bug ) : void
addTaskView ( TaskInfo task ) : void
editTask ( System.Windows.Forms.ListViewItem item ) : void
getSelectTasks ( ) : List

获取选中的任务列表

getSelecteBugs ( ) : List

获取选中的BUG信息

onEndLoading ( ) : void
onStartLoading ( ) : void
queryBugById ( string id ) : BugInfo
queryTaskById ( string taskId ) : TaskInfo
searchBug ( string keyword ) : void
searchTask ( string keyword ) : void

Private Methods

Method Description
IssuesForm_Closing ( object sender, EventArgs e ) : void
IssuesForm_Load ( object sender, EventArgs e ) : void
bugListHit ( System.Windows.Forms.ListViewHitTestInfo hit ) : void
button1_Click ( object sender, EventArgs e ) : void
button1_Click_1 ( object sender, EventArgs e ) : void

弹窗确定

button2_Click ( object sender, EventArgs e ) : void

弹窗取消

checkBox1_CheckedChanged ( object sender, EventArgs e ) : void

全选按钮事件

checkboxOperate ( bool checkState ) : void

全选/全不选

drawCheckBox ( ListView listView, System.Windows.Forms.ListViewItem subItem, bool isChecked ) : void

在ListView的子项里绘制一个checkbox

getCheckBoxImage ( bool isChecked ) : Image

获取复选框的图像

label1_Click ( object sender, EventArgs e ) : void
listView2_SelectedIndexChanged ( object sender, EventArgs e ) : void

任务选择

listView_DrawColumnHeader ( object sender, DrawListViewColumnHeaderEventArgs e ) : void
listView_DrawItem ( object sender, DrawListViewItemEventArgs e ) : void
listview_DrawSubItem ( object sender, DrawListViewSubItemEventArgs e ) : void

任务和BUG下的列表绘制

listview_MouseUp ( object sender, MouseEventArgs e ) : void

任务完成选择

renwuTabChange ( object sender, EventArgs e ) : void
splitContainer3_Panel1_Paint ( object sender, PaintEventArgs e ) : void
taskListHit ( System.Windows.Forms.ListViewHitTestInfo hit ) : void
textBox1_TextChanged ( object sender, EventArgs e ) : void

Method Details

IssuesForm() public method

public IssuesForm ( Plugin plugin ) : System
plugin Plugin
return System

addBugview() public method

public addBugview ( BugInfo bug ) : void
bug BugInfo
return void

addTaskView() public method

public addTaskView ( TaskInfo task ) : void
task TaskInfo
return void

editTask() public method

public editTask ( System.Windows.Forms.ListViewItem item ) : void
item System.Windows.Forms.ListViewItem
return void

getSelectTasks() public method

获取选中的任务列表
public getSelectTasks ( ) : List
return List

getSelecteBugs() public method

获取选中的BUG信息
public getSelecteBugs ( ) : List
return List

onEndLoading() public method

public onEndLoading ( ) : void
return void

onStartLoading() public method

public onStartLoading ( ) : void
return void

queryBugById() public method

public queryBugById ( string id ) : BugInfo
id string
return BugInfo

queryTaskById() public method

public queryTaskById ( string taskId ) : TaskInfo
taskId string
return TaskInfo

searchBug() public method

public searchBug ( string keyword ) : void
keyword string
return void

searchTask() public method

public searchTask ( string keyword ) : void
keyword string
return void