Esempio n. 1
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     lock ( closeLock )
     {
         bClosing = true;
     }
     SteamContext.StopCallbacks();
 }
Esempio n. 2
0
        public static void Main()
        {
            try
            {
                SteamContext.Initialize();
            }
            catch (Exception ex)
            {
                Util.MsgBox("Unable to initialize Steam Context: " + ex.Message + "\n\n" + ex.ToString());
                return;
            }

            Application.Run(new MainForm());

            SteamContext.Shutdown();
        }
Esempio n. 3
0
 private void MainForm_Shown(object sender, EventArgs e)
 {
     SteamContext.StartCallbacks();
 }