C# Class HYPDM.WinUI.Document.DocRegForm

Inheritance: System.Windows.Forms.Form
Exibir arquivo Open project: huayancreate/HYPDM Class Usage Examples

Protected Properties

Property Type Description
IsWFViewDetail Boolean
closed int
valueChanged bool

Public Methods

Method Description
DocRegForm ( ) : System
DocRegForm ( Boolean isWFViewDetail ) : System
SaveDocment ( ) : void

保存文档基本属性

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

Private Methods

Method Description
BindProcessFileTreeData ( TreeGridView tgv, DataType fileType ) : void
BindTreeData ( ) : void

CheckInFile ( TreeGridView tgv, DataType fileType ) : void

checkin文件

CheckOut ( TreeGridView tgv, DataType fileType ) : void

检出文件

CheckOutCancel ( TreeGridView tgv, DataType fileType ) : void

取消检出

DocRegForm_FormClosing ( object sender, FormClosingEventArgs e ) : void
DocRegForm_Load ( object sender, EventArgs e ) : void
InitDocumentInfo ( ) : void
InitialObjectRelation ( ) : void

初始化文档关联的对象信息

InitializeComponent ( ) : void

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

RegFile ( DataType fileType ) : void

物理文件注册

SaveCheck ( ) : Boolean

保存前的输入check

UpdateExtProperties ( ) : void
VersionSave ( string type, DOC_FILE_LIST doc ) : void

版本历史记录保存

ViewFile ( TreeGridView tgv, DataType fileType ) : void

查看文件

btnAddProperties_Click ( object sender, EventArgs e ) : void
btnAddRelation_Click ( object sender, EventArgs e ) : void

新建关联

btnCancel_Click ( object sender, EventArgs e ) : void
btnCheckIN_Click ( object sender, EventArgs e ) : void

检入

btnCheckOut_Click ( object sender, EventArgs e ) : void

检出

btnDelRelation_Click ( object sender, EventArgs e ) : void

删除关联

btnDel_Click ( object sender, EventArgs e ) : void

删除文件

btnDocAdd_Click ( object sender, EventArgs e ) : void
btnFileDown_Click ( object sender, EventArgs e ) : void
btnHalfProduct_Click ( object sender, EventArgs e ) : void

半成品、原材料、工艺装备

btnMaterial_Click ( object sender, EventArgs e ) : void
btnProduct_Click ( object sender, EventArgs e ) : void
btnRegPhysicalFile_Click ( object sender, EventArgs e ) : void

工艺文件注册

btnView_Click ( object sender, EventArgs e ) : void

查看文件

delFile ( TreeGridView tgv, DataType fileType ) : void

删除文件

dgv_ProRecord_DoubleClick ( object sender, EventArgs e ) : void
downLoadFile ( TreeGridView tgv, DataType fileType ) : void

文件下载

menuCadCancelCheckOut_Click ( object sender, EventArgs e ) : void
menuCadCheckIn_Click ( object sender, EventArgs e ) : void
menuCadCheckOut_Click ( object sender, EventArgs e ) : void
menuCadDownLoad_Click ( object sender, EventArgs e ) : void
menuCadFileDelete_Click ( object sender, EventArgs e ) : void
menuCadView_Click ( object sender, EventArgs e ) : void
tabProRecord_Init ( ) : void
toolProRecordEdit_Click ( object sender, EventArgs e ) : void
tspBtnQuery_Click ( object sender, EventArgs e ) : void
tspCadDownLoad_Click ( object sender, EventArgs e ) : void
tspDownLoad_Click ( object sender, EventArgs e ) : void

文件下载

tspRegPhysicCad_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

DocRegForm() public method

public DocRegForm ( ) : System
return System

DocRegForm() public method

public DocRegForm ( Boolean isWFViewDetail ) : System
isWFViewDetail Boolean
return System

OnClosing() protected method

protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

SaveDocment() public method

保存文档基本属性
public SaveDocment ( ) : void
return void

Property Details

IsWFViewDetail protected_oe property

protected Boolean IsWFViewDetail
return Boolean

closed protected_oe property

protected int closed
return int

valueChanged protected_oe property

protected bool valueChanged
return bool