예제 #1
0
        /// <summary>
        /// given
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void clientToolStripMenuItem_Click(object sender, EventArgs e)
        {
            frmClients instClients = new frmClients();

            instClients.MdiParent = this;
            instClients.Show();
        }
예제 #2
0
        /// <summary>
        /// given: this code will navigate back to frmClient with
        /// the specific client and account data that launched
        /// this form.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void lnkReturn_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
        {
            //return to client with the data selected for this form
            frmClients frmClients = new frmClients(constructorData);

            frmClients.MdiParent = this.MdiParent;
            frmClients.Show();
            this.Close();
        }