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