Ejemplo n.º 1
0
        // Pull data.
        private void ManageAccount_Load(object sender, EventArgs e)
        {
            //Pull data from txt file.
            ObjectToSerialize objectToSerialize = new ObjectToSerialize();
            Serializer        serializer        = new Serializer();

            objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
            accounts          = objectToSerialize.Accounts;
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Pull data from text file.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ConductTransaction_Load(object sender, EventArgs e)
        {
            this.pnlTransferDepositWithdrawl.Visible = false;
            //Pull data from txt file.
            ObjectToSerialize objectToSerialize = new ObjectToSerialize();
            Serializer        serializer        = new Serializer();

            objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
            accounts          = objectToSerialize.Accounts;
        }
Ejemplo n.º 3
0
        //Load Accounts into Form
        private void CreateAccount_Load(object sender, EventArgs e)
        {
            //Calculate the next Account number
            lblAccountNumber.Text = NextAccountNumber();

            //Pull data from txt file.
            ObjectToSerialize objectToSerialize = new ObjectToSerialize();
            Serializer        serializer        = new Serializer();

            objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
            accounts          = objectToSerialize.Accounts;
            //Calculate the next Account number
            lblAccountNumber.Text = NextAccountNumber();
        }
Ejemplo n.º 4
0
        //Load Accounts into Form
        private void CreateAccount_Load(object sender, EventArgs e)
        {
            //Calculate the next Account number
            lblAccountNumber.Text = NextAccountNumber();

            //Pull data from txt file.
            ObjectToSerialize objectToSerialize = new ObjectToSerialize();
            Serializer serializer = new Serializer();
            objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
            accounts = objectToSerialize.Accounts;
            //Calculate the next Account number
            lblAccountNumber.Text = NextAccountNumber();
        }
Ejemplo n.º 5
0
 //Load Accounts into Form
 private void CloseAccount_Load(object sender, EventArgs e)
 {
     //Pull data from txt file.
     ObjectToSerialize objectToSerialize = new ObjectToSerialize();
     Serializer serializer = new Serializer();
     objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
     accounts = objectToSerialize.Accounts;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Pull data from text file.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void ConductTransaction_Load(object sender, EventArgs e)
 {
     this.pnlTransferDepositWithdrawl.Visible = false;
     //Pull data from txt file.
     ObjectToSerialize objectToSerialize = new ObjectToSerialize();
     Serializer serializer = new Serializer();
     objectToSerialize = serializer.DeSerializeObject("outputFile.txt");
     accounts = objectToSerialize.Accounts;
 }