in your first post, you have an error msg, GUI not set to an instance of an object. If GUI is not an object, how are you going to call on it's member variable/methods?
What Ian was telling you to do is declare and initialize your GUI. (alright, the syntax will be java, but it's close to C# i think you'll undertand)
Code:
public class test{
UserDefinedClass GUI = null;
...
... //somewhere in the class before GUI has been called, you need to perform
GUI = new UserDefinedClass();
...
public static void Write(String x){...} // where your error occurred
public static void WriteLine( ... ){...}
}//end of class defn
if you have an object that you will be assigning reference to, i personally suggest declare it and initialize to null, and you can check if your object is null at any time to make sure things are on the right track