Пример #1
0
        private void centroDeCustosToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fCentroCustos cc = new fCentroCustos();

            cc.MdiParent     = this;
            cc.StartPosition = FormStartPosition.CenterScreen;
            cc.Show();
        }
Пример #2
0
        private void button3_Click(object sender, EventArgs e)
        {
            fCentroCustos cc = new fCentroCustos();

            cc.StartPosition = FormStartPosition.CenterScreen;
            cc.KeyPreview    = true;
            cc.ShowDialog();
        }