public Inicio() { InitializeComponent(); TelaCadastroProduto TelaProd = new TelaCadastroProduto(); this.WindowState = FormWindowState.Maximized; }
private void btnChamaProduto_Click(object sender, EventArgs e) { TelaCadastroProduto TelaProd = new TelaCadastroProduto(); TelaProd.StartPosition = FormStartPosition.CenterScreen; TelaProd.ShowDialog(); }