Advertisement
Guest User

Launcher

a guest
Oct 28th, 2013
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.01 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace kjpUnityGameLauncherTemplate
  12. {
  13.     public partial class Launcher : Form
  14.     {
  15.         public Launcher()
  16.         {
  17.             InitializeComponent();
  18.         }
  19.  
  20.         private kjpUnityGameLauncher ugl;
  21.  
  22.         public static string GameFileName;
  23.         public static string OnlineLocation;
  24.         public static string GameZipName;
  25.  
  26.         private void Launcher_Load(object sender, EventArgs e)
  27.         {
  28.             ugl = new kjpUnityGameLauncher(GameFileName, OnlineLocation);
  29.             ugl.SetGameFileZip(GameZipName);
  30.             ugl.SetupDesignAspects(button1, progressBar1, label1);
  31.             ugl.LaunchingHandler();
  32.         }
  33.  
  34.         private void button1_Click(object sender, EventArgs e)
  35.         {
  36.             ugl.InteractButtonSetup();
  37.         }
  38.     }
  39. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement