Example #1
0
        private void txt_prodid_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            splitContainerControl1.Visible = false;

            frm_productRef productRef = new frm_productRef();

            productRef.SendProductInfoEvent += new frm_productRef.SendProductDataHandler(setProductInfo);
            productRef.ShowDialog();

            splitContainerControl1.Visible = true;
        }
Example #2
0
        private void txt_prodid_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            setVisible(gridControl1, false);

            frm_productRef productRef = new frm_productRef();

            productRef.SendProductInfoEvent += new frm_productRef.SendProductDataHandler(setProductInfo);
            productRef.ShowDialog();


            setVisible(gridControl1, true);
        }
Example #3
0
        private void MenuProduct_Click(object sender, EventArgs e)
        {
            frm_productRef productRef = new frm_productRef();

            if (textMoldCode.Text.Length > 0)
            {
                productRef.setMoldID(textMoldCode.Text);
            }

            productRef.SendProductsInfoEvent  += new frm_productRef.SendProductsDataHandler(setProductsInfo);
            productRef.SendProductInfoEvent   += new frm_productRef.SendProductDataHandler(setProductInfo);
            productRef.ProductRefClosingEvent += new frm_productRef.ProductRefClosingHandler(TileMenu_Leave);
            productRef.ShowDialog();
        }
Example #4
0
        private void txt_jpID_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            Image img = Properties.Resources.black_opacity;

            bgimg.Appearance.Image = commonFX.change_opacity(img, 0.5f);
            bgimg.Dock             = DockStyle.Fill;
            bgimg.Visible          = true;

            frm_productRef productRef = new frm_productRef();

            productRef.SendProductInfoEvent += new frm_productRef.SendProductDataHandler(setProductInfo);
            productRef.ShowDialog();

            bgimg.Visible = false;
        }