Exemplo n.º 1
0
        /// <summary>
        /// 取消一个已勾选码单
        /// </summary>
        /// <param name="p_ISN"></param>
        private void ucSelect_CancelOne(string p_ISN)
        {
            UCFabBaseLoadCtl uc = UCFindLoadCtl();

            if (uc != null)
            {
                uc.UCCancelOne(p_ISN);
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// 反选
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnSelectFan_Click(object sender, EventArgs e)
 {
     try
     {
         UCFabBaseLoadCtl uc = UCFindLoadCtl();
         if (uc != null)
         {
             uc.UCSelectFan();
         }
     }
     catch (Exception E)
     {
         this.ShowMessage(E.Message);
     }
 }
Exemplo n.º 3
0
        /// <summary>
        /// 加载控件
        /// </summary>
        void UCActLoad()
        {
            int colCount = UCFabParamSet.GetIntValueByID(6012);//码单选择磁贴模式每行磁贴数

            if (colCount <= 0)
            {
                colCount = 5;
            }
            if (radgOPType.SelectedIndex == 2)                  //简洁模式
            {
                colCount = UCFabParamSet.GetIntValueByID(6013); //码单选择简洁模式每行磁贴数
                if (colCount <= 0)
                {
                    colCount = 10;
                }
            }


            //加载展示控件BEGIN
            RemoveUserCtl(panGroupTopRight);
            //panGroupTopRight.Controls.Clear();
            UCFabBaseLoadCtl ucflbc = CreateFabLoadControl();

            ucflbc.UCDataSource  = m_UCDataSource;
            ucflbc.UCColumnCount = colCount;
            ucflbc.UCAllowKPFlag = UCAllowKPFlag;
            if (UCAllowKPFlag)
            {
                ucflbc.UCEventKPClick += new UCFabSelectCancel(UCEventKPClick);
            }
            ucflbc.Dock = DockStyle.Fill;
            panGroupTopRight.Controls.Add(ucflbc);

            ucflbc.UCAct();
            //加载展示控件END
        }