public watchListForm(BusinessTier.User usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.loggedUser = usr; this.bLogic = b; searchAutocomplete(); if (bLogic.isWatchlistEmpty(loggedUser.id)) { watchlistDataGridView.Rows.Clear(); removeFromWatchlist.Enabled = false; } else { populateWatchListTable(); removeFromWatchlist.Enabled = true; //populateGraph(); } industriesComboBox.ValueMember = "Industry"; industriesComboBox.DisplayMember = "Industry"; industriesComboBox.DataSource = bLogic.populateIndustryDropDown(); }
public HistoryStatementForm(BusinessTier.User usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.loggedUser = usr; this.bLogic = b; displayHistoryStatementGrid(); }
public RecoverForm(String question, String usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.question = question; this.userName = usr; this.bLogic = b; this.questionLabel.Text += " " + question.ToString(); }
public LoginForm() { InitializeComponent(); loginFormLoadingCircle.Visible = false; loginFormLoadingCircle.Active = true; loginFormLoadingCircle.OuterCircleRadius = 30; loginFormLoadingCircle.InnerCircleRadius = 14; loginFormLoadingCircle.SpokeThickness = 3; loginFormLoadingCircle.NumberSpoke = 14; bLogic = new BusinessLogic("stockMarketDB.mdf"); }
public PurchaseForm(BusinessTier.User usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.loggedUser = usr; this.bLogic = b; this.nameLabel.Text += " " + loggedUser.firstName.ToString() + " " + loggedUser.lastName.ToString(); this.cashTextBox.Text = loggedUser.balance.ToString(); this.Size = new Size(851, 620); searchAutocomplete(); industriesComboBox.ValueMember = "Industry"; industriesComboBox.DisplayMember = "Industry"; industriesComboBox.DataSource = bLogic.populateIndustryDropDown(); }
public PurchaseForm(BusinessTier.User usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.loggedUser = usr; this.bLogic = b; this.nameLabel.Text += " " + loggedUser.firstName.ToString() +" "+ loggedUser.lastName.ToString(); this.cashTextBox.Text = loggedUser.balance.ToString(); this.Size = new Size(851, 620); searchAutocomplete(); industriesComboBox.ValueMember = "Industry"; industriesComboBox.DisplayMember = "Industry"; industriesComboBox.DataSource = bLogic.populateIndustryDropDown(); }
public MainForm(BusinessTier.User usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.loggedUser = usr; this.bLogic = b; this.mainFormLoadingCircle.Visible = false; this.mainFormLoadingCircle.Active = true; this.mainFormLoadingCircle.OuterCircleRadius = 42; this.mainFormLoadingCircle.InnerCircleRadius = 14; this.mainFormLoadingCircle.SpokeThickness = 4; this.mainFormLoadingCircle.NumberSpoke = 14; // this enforces the user to see the hotkeys mainFormMenuStrip.Renderer = new CustomMenuStripRenderer(); this.KeyPreview = true; this.KeyDown += new KeyEventHandler(Form_KeyDown); this.Size = new Size(1002, 783); populateControls(this.zedPieControl); this.nameLabel.Text += " " + loggedUser.firstName.ToString() + " " + loggedUser.lastName.ToString(); this.cashTextBox.Text = loggedUser.balance.ToString(String.Format("c")); }
public ChangePassword(string usr, BusinessTier.BusinessLogic b) { InitializeComponent(); this.userName = usr; this.bLogic = b; }