These are the lines that I changed...
//this.AddTextEntry(35, 275, 200, 21, 0, 1, null);
this.AddTextEntry(35, 275, 200, 21, 0, (int)1, null);
//this.AddTextEntry(35, 300, 200, 21, 0, 2, null);
this.AddTextEntry(35, 300, 200, 21, 0, 2, (int)1, null);
here are the NEW errors I received...