Example #1
0
        private void OnFormLoad(object sender, EventArgs e)
        {
            ImageCollection ic = AppResource.LoadToolImages();

            barManager1.Images        = ic;
            barButtonItem1.ImageIndex = (int)AppResource.EIcons.add;
            barButtonItem5.ImageIndex = (int)AppResource.EIcons.open;
            barButtonItem4.ImageIndex = (int)AppResource.EIcons.copy;
            barButtonItem6.ImageIndex = (int)AppResource.EIcons.save;
            barButtonItem2.ImageIndex = (int)AppResource.EIcons.print;

            //初始化控件的值
            InitUI();
            CustomFields.AppendLotExpFields(gridView1, true);
            CustomFields.AppendMaterialFields(gridView1);
            if (EditedAsnBody != null)
            {
                ShowAsnDetail(EditedAsnBody);
            }
        }