예제 #1
0
    /** 初始化设置 */

    public void SetGrid(int imax, ScrollGridSetItem sc)
    {
        if (!moveScrollViewLessMaxLine)
        {
            if (imax < defaultShowMaxLine)
            {
                sView.enabled = false;
            }
        }
        defaultMaxLine = imax;
        //if (defaultMaxLine < imax)
        //{

        //}
        initGrid();
        indexMax          = imax;
        scrollGridSetItem = sc;
        if (scrollGridSetItem != null)
        {
            scrollGridSetItem(itemTrans, indexStar, indexEnd);
        }
        SetMessage();
    }
예제 #2
0
 public void SetGrid(int imax, ScrollGridSetItem sc, ScrollGridMessage sm)
 {
     scrollGridMessage = sm;
     SetGrid(imax, sc);
 }