Example #1
0
 public static HostInfo GetHostInfo()
 {
     if (_hostInfo == null)
     {
         _hostInfo = new HostInfo();
     }
     return _hostInfo;
 }
Example #2
0
        public GUI()
        {
            InitializeComponent();

            //theHub = new Hub(); // I absolutly hate running my controler from my view but I've wasted so much time trying to get it the other way around that I don't think I'll finish If I don't do it this way.
               // theHub.setGUI(this);
            hostInfo = new HostInfo();
            largeSize = new Point(this.Width, this.Height);
            setSizeMode(sizeMode.Bar);
            //this.Left = 0;
            //this.Top = 30;
        }