Esempio n. 1
0
        private void pictureBox6_Click(object sender, EventArgs e)
        {
            this.panel10.Controls.Clear();
            expense expense_form = new expense()
            {
                Dock     = DockStyle.Bottom,
                TopLevel = false
            };

            expense_form.FormBorderStyle = FormBorderStyle.None;
            this.panel10.Controls.Add(expense_form);
            expense_form.Show();
        }
Esempio n. 2
0
        private void button4_Click(object sender, EventArgs e)
        {
            this.Controls.Clear();
            expense expense_form = new expense()
            {
                Dock     = DockStyle.Fill,
                TopLevel = false
            };

            expense_form.FormBorderStyle = FormBorderStyle.None;
            this.Controls.Add(expense_form);
            expense_form.Show();
        }