Error 1 'int.Parse(string, System.Globalization.NumberStyles, System.IFormatProvider)' is a 'method', which is not valid in the given context C:\Users\nima\documents\visual studio 2013\Projects\t\t\Form1.cs 107 41 t code example
Example: c sharp tryparse
// Any Parse() function has a TryParse function, which returns
// 'true' on a success and 'false' on a failure. On a succes
// it also saves the conerted value in the second parameter.
string value = "160"
int number;
bool success = Int32.TryParse(value, out number);
// success = true
// number = 160