C# Class TurtleZenTaoLib.SiteManageForm

ファイルを表示 Open project: easysoft/zentao_extension Class Usage Examples

Public Properties

Property Type Description
plugin Plugin

Public Methods

Method Description
SiteManageForm ( Plugin plugin ) : System
addWebSite ( string siteUrl, string username, string password, string websiteName ) : void
editWebSite ( int index, string siteUrl, string username, string password, string websiteName ) : void

网站编辑结果展示

initSiteList ( ) : void

初始化网站列表

onDeleteClick ( object sender, EventArgs e ) : void

鼠标右键删除网站

onEditClick ( object sender, EventArgs e ) : void

鼠标右键编辑网站信息

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

SiteManageForm_Load ( object sender, EventArgs e ) : void
addSiteBtnClick ( object sender, EventArgs e ) : void
button2_Click ( object sender, EventArgs e ) : void
onListDbClicked ( object sender, EventArgs e ) : void

列表项鼠标双击处理

siteListView_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripStatusLabel1_Click ( object sender, EventArgs e ) : void

Method Details

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

SiteManageForm() public method

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

addWebSite() public method

public addWebSite ( string siteUrl, string username, string password, string websiteName ) : void
siteUrl string
username string
password string
websiteName string
return void

editWebSite() public method

网站编辑结果展示
public editWebSite ( int index, string siteUrl, string username, string password, string websiteName ) : void
index int
siteUrl string
username string
password string
websiteName string
return void

initSiteList() public method

初始化网站列表
public initSiteList ( ) : void
return void

onDeleteClick() public method

鼠标右键删除网站
public onDeleteClick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

onEditClick() public method

鼠标右键编辑网站信息
public onEditClick ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

plugin public_oe property

public Plugin,TurtleZenTaoLib plugin
return Plugin