Ejemplo n.º 1
0
        private void btn_AddMat_Click(object sender, EventArgs e)
        {
            frmSelMaterial frmX = new frmSelMaterial();

            frmX.AppInformation  = AppInformation;
            frmX.UserInformation = UserInformation;
            frmX.DoSelMatEvent   = doSelMaterial;
            frmX.ShowDialog();
            frmX.Dispose();
        }
Ejemplo n.º 2
0
        private void btn_AddMat_Click(object sender, EventArgs e)
        {
            frmSelMaterial material = new frmSelMaterial {
                AppInformation  = base.AppInformation,
                UserInformation = base.UserInformation,
                DoSelMatEvent   = new DoSelMaterialEvent(this.doSelMaterial)
            };

            material.ShowDialog();
            material.Dispose();
        }