BrawlCrate v0.41
Wii File Editor
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
BrawlCrate.UI.CollisionForm Class Reference
Inheritance diagram for BrawlCrate.UI.CollisionForm:

Public Member Functions

 CollisionForm ()
 
DialogResult ShowDialog (IWin32Window owner, CollisionNode node)
 

Protected Member Functions

override void OnShown (EventArgs e)
 
override void OnClosing (System.ComponentModel.CancelEventArgs e)
 
override void OnClosed (EventArgs e)
 

Constructor & Destructor Documentation

◆ CollisionForm()

BrawlCrate.UI.CollisionForm.CollisionForm ( )
inline
43 {
44 InitializeComponent();
45 Text = $"{Program.AssemblyTitleShort} - Collision Editor";
46 }

Member Function Documentation

◆ OnClosed()

override void BrawlCrate.UI.CollisionForm.OnClosed ( EventArgs  e)
inlineprotected
76 {
77 base.OnClosed(e);
78
79 MainForm.Instance.Visible = true;
80 MainForm.Instance.Refresh();
81 }

◆ OnClosing()

override void BrawlCrate.UI.CollisionForm.OnClosing ( System.ComponentModel.CancelEventArgs  e)
inlineprotected
69 {
70 base.OnClosing(e);
71 collisionEditor1.TargetNode = null;
72 collisionEditor1._modelPanel.Release();
73 }
ModelPanel _modelPanel
Definition: CollisionEditor.cs:26

◆ OnShown()

override void BrawlCrate.UI.CollisionForm.OnShown ( EventArgs  e)
inlineprotected
62 {
63 base.OnShown(e);
64 collisionEditor1.TargetNode = _node;
65 collisionEditor1._modelPanel.Capture();
66 }

◆ ShowDialog()

DialogResult BrawlCrate.UI.CollisionForm.ShowDialog ( IWin32Window  owner,
CollisionNode  node 
)
inline
49 {
50 _node = node;
51 try
52 {
53 return ShowDialog(owner);
54 }
55 finally
56 {
57 _node = null;
58 }
59 }
DialogResult ShowDialog(IWin32Window owner, CollisionNode node)
Definition: CollisionForm.cs:48

The documentation for this class was generated from the following file: