Example #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Finance childForm = new Finance();

            childForm.TopLevel = true;
            childForm.Owner    = this;
            childForm.Show();
        }
Example #2
0
        public AddFinance(Finance prntForm, FinanceModel c = null)
        {
            InitializeComponent();
            pForm   = prntForm;
            finance = c;

            if (c != null)
            {
                initForm();
            }
        }