public PromptForm(ref GHI.Glide.Display.Window window, ref Gadgeteer.Modules.GHIElectronics.DisplayTE35 displayTE35, ref SDCard sdCard, ref USBHost usbHost, ref USBClientEDP usbClientEDP, ref WiFiRS21 wifiRS21)
     : base(ref window)
 {
     this.usbClientEDP = usbClientEDP;
     this.usbHost      = usbHost;
     this.sdCard       = sdCard;
     this.displayTE35  = displayTE35;
     this.wifiRS21     = wifiRS21;
 }
 public GvShell(ref SDCard sdCard, ref USBHost usbHost, ref DisplayTE35 displayT35, ref USBClientEDP usbClientEdp, ref WiFiRS21 wifiRS21)
 {
     //initial / default params
     ForeGround        = GT.Color.White;
     BackGround        = GT.Color.Black;
     ScreenWidth       = 320;
     ScreenHeight      = 240;
     this.wifiRS21     = wifiRS21;
     this.displayTE35  = displayT35;
     this.usbHost      = usbHost;
     this.usbClientEDP = usbClientEdp;
     this.sdCard       = sdCard;
     Screen            = new Bitmap(ScreenWidth, ScreenHeight);
     ClearScreen();
     MaxLine     = ScreenHeight / 20;
     CurrentLine = 0;
     CurrentFont = Resources.GetFont(Resources.FontResources.NinaB);
     CurrentPath = "\\SD\\";
     DataLines   = new ArrayList();
     for (int i = 0; i < MaxLine; i++)
     {
         DataLines.Add(string.Empty);
     }
     TypedCommand = string.Empty; if (basic == null)
     {
         if (basic == null)
         {
             basic              = new SBASIC();
             basic.Print       += Basic_Print;
             basic.ClearScreen += Basic_ClearScreen;
         }
     }
     //setup network
     wifiRS21.DebugPrintEnabled = true;
     NetworkChange.NetworkAvailabilityChanged += NetworkChange_NetworkAvailabilityChanged;
     NetworkChange.NetworkAddressChanged      += NetworkChange_NetworkAddressChanged;
     //setup network
     wifiRS21.NetworkInterface.Open();
     wifiRS21.NetworkInterface.EnableDhcp();
     wifiRS21.NetworkInterface.EnableDynamicDns();
 }