Exemplo n.º 1
0
        private void btnMold_Click(object sender, EventArgs e)
        {
            Molds.frmMoldAddEdit frm = new Molds.frmMoldAddEdit();
            DialogResult         dr  = frm.ShowDialog();

            if (dr == DialogResult.OK && frm.Tag != null)
            {
                LoadMoldData();
                cbbMold.Text = (string)frm.Tag;
            }
        }
Exemplo n.º 2
0
        private void btnMold_Click(object sender, EventArgs e)
        {
            Molds.frmMoldAddEdit frm = new Molds.frmMoldAddEdit();
            DialogResult         dr  = frm.ShowDialog();

            if (dr == DialogResult.OK && frm.Tag != null)
            {
                _loaded = false;
                LoadMoldData();
                _loaded      = true;
                cbbMold.Text = (string)frm.Tag;
                GenerateBarcode();
            }
        }