private void centroDeCustosToolStripMenuItem_Click(object sender, EventArgs e) { fCentroCustos cc = new fCentroCustos(); cc.MdiParent = this; cc.StartPosition = FormStartPosition.CenterScreen; cc.Show(); }
private void button3_Click(object sender, EventArgs e) { fCentroCustos cc = new fCentroCustos(); cc.StartPosition = FormStartPosition.CenterScreen; cc.KeyPreview = true; cc.ShowDialog(); }