Esempio n. 1
0
        //private int _iMaxHeight;


        //private int _iMouseScreenX;
        //private int _iMouseScreenY;


        //private int _iMouseScrollX;
        //private int _iMouseScrollY;

        //private bool _bMouseScroll;



        public FormScreen(FormControl formControl)
        {
            InitializeComponent();

            //_iScrollIndex = 0;
            _formControl = formControl;

            //鼠标滚轮
            this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.FormScreen_MouseWheel);

            _iCaptionHeight = SystemInformation.CaptionHeight;

            this.BackColor = _formControl.ColorBack;

            this.BIsNeedReCalculatePosition = true;


            //实例化歌词位置数组,维度分别是最大页数和最大字数,默认最大100页
            _positionsLyric = new PointF[500, 200];


            //当前页歌词文本的位置
            _positionsLyricCurrentPage = new PointF[200];

            //标题文本的位置
            _positionsTitle = new PointF[100];


            //本首歌的歌词总页数
            _iMaxPageNumber = 0;

            //当前页码
            _iCurrentPageNumber = 0;

            ////歌词原始字符串
            //_strOriginalLyric = "";


            //歌词显示字符串(去除\r\n后的字符串)
            _strCurrentPageLyric = "";


            //每一页歌词的起始字符序号
            _beginIndexNumber = new int[500];


            //每一页歌词的结束字符序号
            _endIndexNumber = new int[500];



            //单个歌词字符的尺寸
            boundLyric = new RectangleF();

            //单个标题字符的尺寸
            boundTitle = new RectangleF();
        }
Esempio n. 2
0
        public FormList(FormControl formControl)
        {
            _formControl = formControl;

            InitializeComponent();
        }
Esempio n. 3
0
        //private int _iMaxHeight;


        //private int _iMouseScreenX;
        //private int _iMouseScreenY;


        //private int _iMouseScrollX;
        //private int _iMouseScrollY;

        //private bool _bMouseScroll;



        public FormScreen(FormControl formControl)
        {
            InitializeComponent();

            //_iScrollIndex = 0;
            _formControl = formControl;

            //鼠标滚轮
            this.MouseWheel += new System.Windows.Forms.MouseEventHandler(this.FormScreen_MouseWheel);

            _iCaptionHeight = SystemInformation.CaptionHeight;

            this.BackColor = _formControl.ColorBack;

            this.BIsNeedReCalculatePosition = true;


            //实例化歌词位置数组,维度分别是最大页数和最大字数,默认最大100页
            _positionsLyric = new PointF[500, 200];


            //当前页歌词文本的位置
            _positionsLyricCurrentPage = new PointF[200];

            //标题文本的位置
            _positionsTitle = new PointF[100];


            //本首歌的歌词总页数
            _iMaxPageNumber = 0;

            //当前页码
            _iCurrentPageNumber = 0;

            ////歌词原始字符串
            //_strOriginalLyric = "";


            //歌词显示字符串(去除\r\n后的字符串)
            _strCurrentPageLyric = "";


            //每一页歌词的起始字符序号
            _beginIndexNumber = new int[500];


            //每一页歌词的结束字符序号
            _endIndexNumber = new int[500];



            //单个歌词字符的尺寸
            boundLyric = new RectangleF();

            //单个标题字符的尺寸
            boundTitle = new RectangleF();


        }
Esempio n. 4
0
        public FormList(FormControl formControl)
        {
            _formControl = formControl;

            InitializeComponent();
        }