Agility 의 유용한 정의...
|
|
행복한 고수되셔요...
woojja ))*
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
위 내용은 애자일 프랙티스[인사이트 출판] 에서 발췌한 내용입니다.
반응형
'Agile' 카테고리의 다른 글
| [Agile] 돌아갈 수 있는 용기 (0) | 2010.01.25 |
|---|
Agility 의 유용한 정의...
|
|
| [Agile] 돌아갈 수 있는 용기 (0) | 2010.01.25 |
|---|
기본이 되는 10가지의 색 : 빨강,주황,노랑,연두,녹색,청록,파랑,남색,보라,자주 유사색 : 한색을 중심으로 이웃하는 색들 반대색 : 한색을 중심으로 반대쪽에 있는 색들 |
|
''' <summary> ''' Color Dialog 에서 색상을 선택하면 보색과 반전색을 구하고 ''' 선택한 색상은 Label 의 ForeColor로 ''' BackColor 는 구한 보색과 반전색상으로 각각의 Label 을 채운다. ''' 이 Procedure 의 내용을 보시면 Control 구성을 아실수 있을 거라 믿습니다. ''' 그리고 코드 끝부분에 실행모습을 캡쳐해놓았으니 금방 아실수 있을 겁니당... ^^ ''' </summary> ''' <param name="sender"></param> ''' <param name="e"></param> ''' <remarks></remarks> Private Sub lblOriginal_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles lblOriginal.Click, lblReverseColor.Click Dim ColorDial As ColorDialog = New ColorDialog Dim colorComplementary, colorReverse As Color If ColorDial.ShowDialog = Windows.Forms.DialogResult.OK Then colorComplementary = ComplementaryColor(ColorDial.Color) colorReverse = ReverseColor(ColorDial.Color) Me.lblOriginal.BackColor = ColorDial.Color Me.lblComplemantary.BackColor = colorComplementary Me.lblReverseColor.BackColor = colorReverse Me.lblComplemantaryText.ForeColor = ColorDial.Color Me.lblComplemantaryText.BackColor = colorComplementary Me.lblReverseColorText.ForeColor = ColorDial.Color Me.lblReverseColorText.BackColor = colorReverse End If End Sub ''' <summary> ''' 보색을 구하는 Procedure ''' </summary> ''' <param name="myColor"></param> ''' <returns></returns> ''' <remarks></remarks> Public Function ComplementaryColor(ByVal myColor As Color) As Color Dim intColor(2) As Integer Dim colorRed As Integer = myColor.R Dim colorBlue As Integer = myColor.B Dim colorGreen As Integer = myColor.G intColor(0) = colorRed intColor(1) = colorBlue intColor(2) = colorGreen Array.Sort(intColor) Dim colorSum As Integer = intColor(0) + intColor(2) Dim intNewRed As Integer = colorSum - colorRed Dim intNewBlue As Integer = colorSum - colorBlue Dim intNewGreen As Integer = colorSum - colorGreen Return Color.FromArgb(intNewRed, intNewGreen, intNewBlue) End Function ''' <summary> ''' 반전색상을 구하는 Procedure ''' </summary> ''' <param name="myColor"></param> ''' <returns></returns> ''' <remarks></remarks> Public Function ReverseColor(ByVal myColor As Color) As Color Dim intNewRed As Integer = 255 - myColor.R Dim intNewGreen As Integer = 255 - myColor.G Dim intNewBlue As Integer = 255 - myColor.B Return Color.FromArgb(intNewRed, intNewGreen, intNewBlue) End Function |
이것이 실행시켰을 때의 모습이다.
난감하게도 처음에 선택한 색상이 보색과 반전색상이 일치했다.
빨강이나 노랑, 파랑을 선택해 보라 ㅡㅡ'
그래서 뭐 이래~~ 하면서 약간 실망했으나...
그래도 색상을 선택하며 봤더니 차이가 있더군... 위와같이...ㅋㅋ
그리고 이렇게 테스트를 해보니 이번프로젝트에서는 일러스트레이터에서 정의한 보색을 사용하기 보다는 아래의 반전색을 선택하는 것이 더욱 좋을 것으로 생각된다.
이유는 반전색이 보색보다 내용과 배경이 확실하게 보이잖아. ^^'
반전색상을 쓰자고 건의 해봐야겠다.
훔...
오늘은 색상에 대한 테스트 였다...
그럼 모두들 행복한 고수되셔요... ^^
woojja ))*
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
| [VB.NET] Linus Torvalds 말씀... (0) | 2009.04.30 |
|---|---|
| [VB.NET] 생산성을 높여라... (0) | 2009.04.30 |
| [VB.NET] 이거 아십니까? 동그란 폼 만들기. (0) | 2009.04.30 |
| [VB.NET] Enter 로 Sort 되는 TextBox (0) | 2009.04.30 |
| [VB.NET]Refactor! for Visual Basic 2008 (0) | 2009.04.30 |
| [Tools] XML Schema Designer Aug 07 Community Technology Preview (0) | 2009.04.30 |
|---|---|
| [Tools] 꼭 알아야할 유용한 Tools (0) | 2009.04.30 |
| [Tools] 개발자인 우리들에게 유용한 Tools (0) | 2009.04.30 |
| [Tools] Internet Explore Developer Toolbar (0) | 2009.04.15 |
| [Tools] Microsoft Silverlight Tools Alpha for Visual Studio 2008 Beta 2 (0) | 2009.04.02 |