static void Main() { Application.ThreadException += new ThreadExceptionEventHandler(Application_ThreadException); tcSln myTcSln = new tcSln(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new Form1(myTcSln)); }
public Form1(tcSln mySln) { InitializeComponent(); this.mySln = mySln; solutionFileSelect.Text = mySln.SlnPath; }