Example #1
0
 private void MainForm_FormClosing(object sender, FormClosingEventArgs e)
 {
     lock ( closeLock )
     {
         bClosing = true;
     }
     SteamContext.StopCallbacks();
 }
Example #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();
        }
Example #3
0
 private void MainForm_Shown(object sender, EventArgs e)
 {
     SteamContext.StartCallbacks();
 }