C# Class XSDDiagram.MainForm

Mostrar archivo Open project: dgis/xsddiagram

Public Methods

Method Description
MainForm ( ) : System
ValidationHandler ( object sender, ValidationEventArgs e ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CleanupUserInterface ( bool fullCleanup ) : void
DiagramControl_KeyDown ( object sender, KeyEventArgs e ) : void
DiagramControl_MouseClick ( object sender, MouseEventArgs e ) : void
DiagramControl_MouseHover ( object sender, EventArgs e ) : void
DiagramControl_MouseMove ( object sender, MouseEventArgs e ) : void
DiagramControl_MouseWheel ( object sender, MouseEventArgs e ) : void
DiagramControl_Paint ( object sender, PaintEventArgs e ) : void
ExpandCollapseElement ( DiagramItem element ) : void
ExpandCollapseElement ( DiagramItem element, bool scrollToElement ) : void
InitializeComponent ( ) : void

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

ListViewToString ( ListView listView, bool selectedLineOnly ) : void
LoadSchema ( string schemaFilename ) : void
MainForm_DragDrop ( object sender, DragEventArgs e ) : void
MainForm_DragEnter ( object sender, DragEventArgs e ) : void
MainForm_KeyUp ( object sender, KeyEventArgs e ) : void
MainForm_Load ( object sender, EventArgs e ) : void
ParseAttribute ( string nameSpace, List listAttributes, XMLSchema attribute, bool isRestriction ) : XSDAttribute
ParseAttributeGroup ( string nameSpace, List listAttributes, XMLSchema attributeGroup, bool isRestriction ) : void
ParseComplexTypeAttributes ( string nameSpace, List listAttributes, XMLSchema complexType, bool isRestriction ) : void
QualifiedNameToAttributeTypeName ( System xmlQualifiedName ) : string
QualifiedNameToFullName ( string type, System xmlQualifiedName ) : string
RemoveElement ( DiagramItem element ) : void
SaveAlert ( string title, string message ) : bool
SelectDiagramElement ( DiagramItem element ) : void
SelectDiagramElement ( DiagramItem element, bool scrollToElement ) : void
SelectSchemaElement ( DiagramItem diagramBase ) : void
SelectSchemaElement ( XMLSchema openAttrs, string nameSpace ) : void
SelectSchemaElement ( XSDObject xsdObject ) : void
ShowAttributes ( XMLSchema complexType, string nameSpace ) : List
ShowDocumentation ( XMLSchema annotation ) : void
ShowEnumerate ( XMLSchema attribute ) : void
UpdateActionsState ( ) : void
UpdateDiagram ( ) : void
UpdateTitle ( string filename ) : void
aboutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
closeToolStripMenuItem_Click ( object sender, EventArgs e ) : void
contextMenuStripAttributes_Opening ( object sender, CancelEventArgs e ) : void
contextMenuStripDiagram_Opened ( object sender, EventArgs e ) : void
contextMenuStripElements_Opening ( object sender, CancelEventArgs e ) : void
contextMenuStripEnumerate_Opening ( object sender, CancelEventArgs e ) : void
diagram_RequestAnyElement ( DiagramItem diagramElement, XMLSchema &element, string &nameSpace ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
expandOneLevelToolStripMenuItem_Click ( object sender, EventArgs e ) : void
expandToolStripMenuItem_Click ( object sender, EventArgs e ) : void
generateSampleToolStripMenuItem_Click ( object sender, EventArgs e ) : void
gotoXSDFileToolStripMenuItem_Click ( object sender, EventArgs e ) : void
inferXSDFromXMLToolStripMenuItem_Click ( object sender, EventArgs e ) : void
listViewAttributes_ColumnClick ( object sender, ColumnClickEventArgs e ) : void
listViewAttributes_SelectedIndexChanged ( object sender, EventArgs e ) : void
listViewElement_Click ( object sender, EventArgs e ) : void
listViewElement_ColumnClick ( object sender, ColumnClickEventArgs e ) : void
listViewElement_DoubleClick ( object sender, EventArgs e ) : void
listViewElements_ItemDrag ( object sender, ItemDragEventArgs e ) : void
listViewEnumerate_SelectedIndexChanged ( object sender, EventArgs e ) : void
listView_AfterLabelEdit ( object sender, LabelEditEventArgs e ) : void
nextTabToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openURLToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pageToolStripMenuItem_Click ( object sender, EventArgs e ) : void
panelDiagram_DragDrop ( object sender, DragEventArgs e ) : void
panelDiagram_DragEnter ( object sender, DragEventArgs e ) : void
previousTabToolStripMenuItem_Click ( object sender, EventArgs e ) : void
printPreviewToolStripMenuItem_Click ( object sender, EventArgs e ) : void
printToolStripMenuItem_Click ( object sender, EventArgs e ) : void
recentFilesToolStripMenuSubItemClearAll_Click ( object sender, EventArgs evt ) : void
recentFilesToolStripMenuSubItemFile_Click ( object sender, EventArgs evt ) : void
registerToolStripMenuItem_Click ( object sender, EventArgs e ) : void
removeFromDiagramToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveDiagramToolStripMenuItem_Click ( object sender, EventArgs e ) : void
schema_RequestCredential ( string url, string realm, int attemptCount, string &username, string &password ) : bool
tabControlView_Click ( object sender, EventArgs e ) : void
tabControlView_Enter ( object sender, EventArgs e ) : void
tabControlView_Selected ( object sender, TabControlEventArgs e ) : void
toolStripButtonAddAllToDiagram_Click ( object sender, EventArgs e ) : void
toolStripButtonAddToDiagram_Click ( object sender, EventArgs e ) : void
toolStripButtonRemoveAllFromDiagram_Click ( object sender, EventArgs e ) : void
toolStripButtonShowDocumentation_Click ( object sender, EventArgs e ) : void
toolStripButtonShowReferenceBoundingBox_Click ( object sender, EventArgs e ) : void
toolStripButtonTogglePanel_Click ( object sender, EventArgs e ) : void
toolStripComboBoxAlignement_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripComboBoxSchemaElement_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripComboBoxZoom_SelectedIndexChanged ( object sender, EventArgs e ) : void
toolStripComboBoxZoom_TextChanged ( object sender, EventArgs e ) : void
toolStripMenuItemAttributesCopyLine_Click ( object sender, EventArgs e ) : void
toolStripMenuItemAttributesCopyList_Click ( object sender, EventArgs e ) : void
toolStripMenuItemElementsCopyLine_Click ( object sender, EventArgs e ) : void
toolStripMenuItemElementsCopyList_Click ( object sender, EventArgs e ) : void
toolStripMenuItemEnumerateCopyLine_Click ( object sender, EventArgs e ) : void
toolStripMenuItemEnumerateCopyList_Click ( object sender, EventArgs e ) : void
toolTip_Draw ( object sender, DrawToolTipEventArgs e ) : void
unregisterToolStripMenuItem_Click ( object sender, EventArgs e ) : void
validateXMLFileToolStripMenuItem_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

MainForm() public method

public MainForm ( ) : System
return System

ValidationHandler() public static method

public static ValidationHandler ( object sender, ValidationEventArgs e ) : void
sender object
e ValidationEventArgs
return void