Example #1
0
        private void but_refresh_Click(object sender, EventArgs e)
        {
            string[] strarrpar = this.cb_barcode.Text.Split(':');
            strkeycode = strarrpar[0];
            tabp01.Controls.Clear();
            Barcode_design Barcode_design01 = new Barcode_design("");

            Barcode_design01.UserXmlUpdate += new Cnas.wns.CnasBarcodeLib.Barcode_design.XmlUpdate(this.barcode_design_UserXmlUpdate);
            Barcode_design01.Dock           = DockStyle.Fill;
            tabp01.Controls.Add(Barcode_design01);
        }
Example #2
0
        private void cb_barcode_SelectedValueChanged(object sender, EventArgs e)
        {
            string[] strarrpar     = this.cb_barcode.Text.Split(':');
            string   str_othercode = "";

            strkeycode = strarrpar[0];
            if (sl_bctype[strkeycode] != null)
            {
                str_othercode = sl_bctype[strkeycode].ToString();
            }
            tabp01.Controls.Clear();
            Barcode_design Barcode_design01 = new Barcode_design(str_othercode);

            Barcode_design01.UserXmlUpdate += new Cnas.wns.CnasBarcodeLib.Barcode_design.XmlUpdate(this.barcode_design_UserXmlUpdate);
            Barcode_design01.Dock           = DockStyle.Fill;
            tabp01.Controls.Add(Barcode_design01);
        }