Esempio n. 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            Finance childForm = new Finance();

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

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