public void update(IQuackObservable duck) { Form1 f1 = (Form1)Application.OpenForms["Form1"]; f1.GB_Status_AppendText_Nextline("Quackologist was notified that the " + duck.get_name() + " just quacked", Color.Black); }
public string get_name() { return(duck.get_name()); }