mnscript
MNGuiFrame Surface.CreateApplicationFrame()
Description ​
Creates an application frame for this program. Previous frames are also removed.
Returns ​
MNGuiFrame
- The MNGuiFrame which was created.
Example ​
msc
using Surface;
using System;
// Creates the application frame.
MNGuiFrame frame = Surface.CreateApplicationFrame();
MNGuiPanel pnl = frame.GetPanel();
// Update to add the new UI to the screen.
Surface.Update();
// Keep the program alive so the UI stays.
while(true){
System.Sleep(1);
}