public BranchForm(Form f, int _branchId, String _actionType)
        {
            try
            {
                this.allBranchesForm = (AllBranchesForm)f;
            }
            catch (Exception)
            {
                this.allBranchesForm = new AllBranchesForm();
            }

            this._branchId   = _branchId;
            this._actionType = _actionType;
            InitializeComponent();
        }
Exemplo n.º 2
0
        private void btnBranchInfo_Click(object sender, EventArgs e)
        {
            AllBranchesForm a = new AllBranchesForm();

            a.ShowDialog();
        }