Beispiel #1
0
        public static void Main(string[] args)
        {
            Application.Init();

            // Init CLI

            Core = new Eddie.Lib.UiWeb.ProcessCore();

            Splash = new WindowSplash();
            Splash.Show();

            m_imageIconNormal = Gtk.Image.LoadFromResource("UI.GtkWeb.Linux.Resources.icon.png");
            m_imageIconGray   = Gtk.Image.LoadFromResource("UI.GtkWeb.Linux.Resources.icon_gray.png");

            Core.ReceiveEvent    += OnReceiveEvent;
            Core.MessageEvent    += OnMessageEvent;
            Core.ShowReadyEvent  += OnShowReadyEvent;
            Core.LaunchCoreEvent += OnLaunchCoreEvent;
            Core.ExitEvent       += OnExitEvent;



            // Init UI
            //BuildMainForm();

            BuildTray();

            Core.Start();

            Application.Run();
        }
Beispiel #2
0
        public static void Main(string[] args)
        {
            Application.Init ();

            // Init CLI

            Core = new Eddie.Lib.UiWeb.ProcessCore ();

            Splash = new WindowSplash ();
            Splash.Show ();

            m_imageIconNormal = Gtk.Image.LoadFromResource ("UI.GtkWeb.Linux.Resources.icon.png");
            m_imageIconGray = Gtk.Image.LoadFromResource ("UI.GtkWeb.Linux.Resources.icon_gray.png");

            Core.ReceiveEvent += OnReceiveEvent;
            Core.MessageEvent += OnMessageEvent;
            Core.ShowReadyEvent += OnShowReadyEvent;
            Core.LaunchCoreEvent += OnLaunchCoreEvent;
            Core.ExitEvent += OnExitEvent;

            // Init UI
            //BuildMainForm();

            BuildTray ();

            Core.Start ();

            Application.Run ();
        }