Exemple #1
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            CUCompany form = new CUCompany();

            form.Text = "Nueva compañía";
            form.Show();
            this.Close();
        }
Exemple #2
0
        private void newCompanySubMenu_Click(object sender, EventArgs e)
        {
            CUCompany childForm = new CUCompany();

            childForm.MdiParent = this;
            childForm.Text      = "Nueva compañía";
            childForm.Show();
        }
Exemple #3
0
        private void btnUpdate_Click(object sender, EventArgs e)
        {
            CUCompany form = new CUCompany(selected);

            form.Text = "Modificación de compañía";
            form.Show();
            this.Close();
        }