示例#1
0
 public GUI_Main(BrokerManager brokerManager) {
     lastGlobeObject = "";
     this.brokerM = brokerManager;
     currentUser = brokerM.retrieveUser();
     InitializeComponent();
     initializeSettings();
 }
示例#2
0
 public GUI_Login(BrokerManager brokerManager) {
     InitializeComponent();
     this.brokerManager = brokerManager;
     setupAutoComplete();
     attemptDeviceComms();
     this.Visible = true;
 }
示例#3
0
 static void initializeApplication() {
     BrokerManager brokerM = new BrokerManager();
     if (!brokerM.userIsCurrent()) {
         Application.Run(new GUI_Login(brokerM));
     } else {
         Application.Run(new GUI_Main(brokerM));
     }
 }
示例#4
0
 internal void updateBroker(BrokerManager brokerM) {
     this.brokerM = brokerM;
 }
示例#5
0
 public GUI_SetProject(BrokerManager brokerManager) {
     this.brokerM = brokerManager;
     InitializeComponent();
     setupCombo();
 }