static void Main(string[] args) { var app = new Eto.Forms.Application(); var path = Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().Location) ?? ""; var userpath = Path.Combine(path, "userpath"); CSycles.path_init(path, userpath); CSycles.initialise(); var csf = new CSyclesForm(path) { ClientSize = new ed.Size((int)1024, (int)768), }; app.Run(csf); CSycles.shutdown(); }
public RenderModalCommand(CSyclesForm parent, string filename) { MenuText = filename; Tag = filename; m_parent = parent; }