Simple: create a method that accepts a string and returns the value or a default if the string is blank:
private int GetValue(string s)
{
int value = 0;
if (!string.IsNullOrWhiteSpace(s))
{
int.TryParse(s, out value);
}
return value;
}
Then all you have to do is call that instead:
int totalQLoaded = GetValue(Txt50ClCokeQuantityLoaded.Text) +
GetValue(Txt50ClFantaQuantityLoaded.Text) +
...