Inheritance: System.Windows.Forms.Form, IDisposable
コード例 #1
0
        internal void PaintLabel(int highlighterNumber, string highlighterData)
        {
            // painting a new form
            int left =
                rightSide.Left - 20;
            int top =
                bottomSide.Top - 15;
            int height =
                bottomSide.Top - top;
            int width =
                rightSide.Left - left;

            labelForm =
                new LabelForm(
                    left,
                    top,
                    width,
                    height,
                    highlighterNumber,
                    bottomSide.BackColor,
                    highlighterData);
        }
コード例 #2
0
ファイル: Highligher.cs プロジェクト: JosefNemec/STUPS
        internal void PaintLabel(int highlighterNumber, string highlighterData)
        {
        	// painting a new form
        	int left =
        		this.rightSide.Left - 20;
        	int top =
        		this.bottomSide.Top - 15;
        	int height =
        		this.bottomSide.Top - top;
        	int width =
        		this.rightSide.Left - left;

        	labelForm =
        		new LabelForm(
        			left,
        			top,
        			width,
        			height, 
        			highlighterNumber,
        			this.bottomSide.BackColor,
        		    highlighterData);
        }