コード例 #1
0
        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();
        }
コード例 #2
0
 public RenderModalCommand(CSyclesForm parent, string filename)
 {
     MenuText = filename;
     Tag      = filename;
     m_parent = parent;
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: jesterKing/CCSycles
        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();
        }