메소드 | 설명 | |
---|---|---|
CurtainForm ( |
constructor
|
메소드 | 설명 | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
메소드 | 설명 | |
---|---|---|
InitializeComponent ( ) : void |
Required method for Designer support - do not modify the contents of this method with the code editor.
|
|
InitializeCustomComponent ( ) : void |
initialize some controls manually
|
|
RegisterEvents ( ) : void |
register the customized events
|
|
addCGButton_Click ( object sender, |
add curtain grids to the checked faces
|
|
cgCheckedListBox_ItemCheck ( object sender, System.Windows.Forms.ItemCheckEventArgs e ) : void |
check the curtain grids to delete them, if user wants to check all the curtain grids for deletion, prohibit it (must keep at least one curtain grid)
|
|
createCSButton_Click ( object sender, |
"Create curtain system" button clicked, hide the main form, pop up the create curtain system dialog to let user add a new curtain system. After the curtain system created, close the dialog and show the main form again
|
|
csLabel_Click ( object sender, |
||
csListBox_SelectedIndexChanged ( object sender, |
the selected curtain system changed, update the "Curtain grid" and "Uncovered faces" list boxes of the selected curtain system
|
|
deleteCSButton_Click ( object sender, |
delete the checked curtain systems in the curtain system list box
|
|
facesCheckedListBox_SelectedIndexChanged ( object sender, |
||
m_document_FatalErrorEvent ( string errorMsg ) : void |
Fatal error occurs, close the sample dialog directly
|
|
m_document_MessageChanged ( ) : void |
update the status hints in the status strip
|
|
m_document_SystemData_CurtainSystemChanged ( ) : void |
curtain system changed(added/removed), refresh the lists
|
|
mainPanel_Paint ( object sender, PaintEventArgs e ) : void | ||
removeCGButton_Click ( object sender, |
remove the checked curtain grids from the curtain system Note: curtain system must have at least one curtain grid so sample users can't remove all the curtain grids away
|
public CurtainForm ( |
||
mydoc | /// the data used in the sample /// | |
리턴 | System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
리턴 | void |