コード例 #1
0
        private void toolStripButton_Novo_Click(object sender, EventArgs e)
        {
            Locacao novo = new Locacao();

            novo.Show();
        }
コード例 #2
0
        private void toolStripButton_Locacao_Click(object sender, EventArgs e)
        {
            Locacao novo = new Locacao(loginName);

            novo.ShowDialog();
        }