[코딩] 3 var obj = sender as TextBox; int left, right, bottom, top; var curserPos = System.Windows.Forms.Control.MousePosition; curserPos = this.PointToClient(curserPos); left = obj.Location.X; right = obj.Location.X + obj.Size.Width; bottom = obj.Location.Y + obj.Size.Height; top = obj.Location.Y; if (left curserPos.X && bottom curserPos.Y) return; if (tex.. 더보기 [코딩] 2 var obj = sender as Label; int left, right, bottom, top; var curserPos = System.Windows.Forms.Control.MousePosition; curserPos = this.PointToClient(curserPos); left = obj.Location.X; right = obj.Location.X + obj.Size.Width; bottom = obj.Location.Y + obj.Size.Height; top = obj.Location.Y; if (left curserPos.X && bottom > curserPos.Y && top < curserPos.Y) return; if (textB.. 더보기 [코딩] 1 if (textBox1.Visible == ) { textBox1.Visible = true; var obj = ()sender; var langth = obj.Text.Length; int varticalLineCount = (langth / 100) + 1; var StandardHeight = 10; var hight = StandardHeight * varticalLineCount; textBox1.Size = new >Size(obj.Size.Width, hight); var currntPos = obj.Location; textBox1.Location = new Point(10 + currntPos.X, 10 + currntPos.Y);//obj.Location; textBox1.Text = .. 더보기 이전 1 2 3 4 5 6 7 ··· 12 다음