Client/MainForm.cs
changeset 57 544132d07c3b
parent 55 b5ed2e29be23
child 60 4f2a73683adc
     1.1 --- a/Client/MainForm.cs	Sun Sep 21 13:40:21 2014 +0200
     1.2 +++ b/Client/MainForm.cs	Sun Sep 21 19:07:18 2014 +0200
     1.3 @@ -33,9 +33,7 @@
     1.4          private void MainForm_Load(object sender, EventArgs e)
     1.5          {
     1.6              iCallback = new Callback(this);
     1.7 -            //Instance context is then managed by our client class
     1.8 -            InstanceContext instanceContext = new InstanceContext(iCallback);
     1.9 -            iClient = new Client(instanceContext);
    1.10 +            iClient = new Client(iCallback);
    1.11  
    1.12              //Connect using unique name
    1.13              //string name = DateTime.Now.ToString("MM/dd/yyyy hh:mm:ss.fff tt");