Пример #1
0
 public TransactionHistory(int pID, EditAccount pEditAccount, string pEmail)
 {
     InitializeComponent();
     ID          = pID;
     editAccount = pEditAccount;
     email       = pEmail;
     InitializeDataGridView();
 }
 public AddRounds(int pCurrentRounds, int pID, string pEmail, bool pNoEmail, EditAccount pEditAccount)
 {
     currentRounds = pCurrentRounds;
     ID            = pID;
     editAccount   = pEditAccount;
     email         = pEmail;
     noEmail       = pNoEmail;
     InitializeComponent();
     InitializeDataGridView();
 }
Пример #3
0
        public AdjustBalance(int pCurrentRounds, int pID, string pEmail, bool pNoEmail, EditAccount pEditAccount)
        {
            InitializeComponent();
            lblRounds.Text = pCurrentRounds.ToString();
            currentRounds  = pCurrentRounds;
            email          = pEmail;
            ID             = pID;
            noEmail        = pNoEmail;
            editAccount    = pEditAccount;

            // Adds each employee name into the combo box for selecting the transaction employee
            foreach (EmployeeInfo employee in Database.EmployeeInfo)
            {
                if (employee.IsCurrent)
                {
                    cmbEmployee.Items.Add(employee.FirstName + " " + employee.LastName);
                }
            }

            cmbEmployee.Text = Database.LoggedInEmployee.FirstName + " " + Database.LoggedInEmployee.LastName;
        }
 public AddAuthorizedUser(int pID, EditAccount pEditAccount)
 {
     InitializeComponent();
     ID          = pID;
     editAccount = pEditAccount;
 }
 public HelpWindow(EditAccount pEditAccount)
 {
     InitializeComponent();
     editAccount = pEditAccount;
 }