Advertisement
andidegn

Untitled

Apr 27th, 2013
328
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.46 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication1 {
  8.     class Program {
  9.         static void Main(string[] args) {
  10.             System.Windows.Forms.TextBox t = new System.Windows.Forms.TextBox();
  11.             t.Text = "500";
  12.             int test = int.Parse(t.Text);
  13.             Console.WriteLine("test: {0}", test);
  14.             Console.ReadKey();
  15.         }
  16.     }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement