private void Add_Click(object sender, EventArgs e)
        {
            CardAdd ei = new CardAdd(1, this);

            ei.Owner = this;
            ei.ShowDialog();
        }
Ejemplo n.º 2
0
        private void 停车证办理ToolStripMenuItem_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            this.IsMdiContainer = true;
            CardAdd cardAdd = new CardAdd();

            cardAdd.MdiParent = this;
            cardAdd.Parent    = this.panel1;
            label1.Visible    = false;

            cardAdd.FormBorderStyle = FormBorderStyle.None;
            cardAdd.Show();
        }
Ejemplo n.º 3
0
        private void handlingOfParkingPermit_Click(object sender, EventArgs e)
        {
            panel1.Controls.Clear();
            this.IsMdiContainer = true;
            CardAdd cardAdd = new CardAdd();

            cardAdd.MdiParent = this;
            cardAdd.Parent    = this.panel1;
            label1.Visible    = false;

            cardAdd.FormBorderStyle = FormBorderStyle.None;
            cardAdd.Show();
        }