/// <summary> /// transaction button that specifies that the application will be in /// Transaction mode, and will be redirected to ChooseMasterFile form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void TransactionButton_Click(object sender, EventArgs e) { this.Close(); ChooseMasterFile chooseMasterFile = new ChooseMasterFile(GlobalUtilities.TRANSACTION_MODE); chooseMasterFile.ShowDialog(); }
/// <summary> /// inventory button that specifies that the application will be in /// Inventory Mode, and will be redirected to ChooseMasterFile form /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void InventoryButton_Click(object sender, EventArgs e) { this.Close(); ChooseMasterFile chooseMasterFile = new ChooseMasterFile(GlobalUtilities.INVENTORY_MODE); chooseMasterFile.ShowDialog(); }