Click here to Skip to main content
15,887,746 members
Home / Discussions / C#
   

C#

 
Questionhow do i get the application name from the default value in Registry/LocalMachine/Software/Classes/.docx/shell/Open/Command Pin
zen.liu872-Dec-14 16:11
zen.liu872-Dec-14 16:11 
AnswerRe: how do i get the application name from the default value in Registry/LocalMachine/Software/Classes/.docx/shell/Open/Command Pin
syed shanu2-Dec-14 17:50
mvasyed shanu2-Dec-14 17:50 
QuestionPath stroke with multiple colors? Pin
SledgeHammer012-Dec-14 13:27
SledgeHammer012-Dec-14 13:27 
AnswerRe: Path stroke with multiple colors? Pin
BillWoodruff2-Dec-14 15:14
professionalBillWoodruff2-Dec-14 15:14 
GeneralRe: Path stroke with multiple colors? Pin
SledgeHammer012-Dec-14 17:26
SledgeHammer012-Dec-14 17:26 
GeneralRe: Path stroke with multiple colors? Pin
BillWoodruff2-Dec-14 18:33
professionalBillWoodruff2-Dec-14 18:33 
GeneralRe: Path stroke with multiple colors? Pin
SledgeHammer013-Dec-14 7:56
SledgeHammer013-Dec-14 7:56 
GeneralRe: Path stroke with multiple colors? Pin
BillWoodruff4-Dec-14 4:51
professionalBillWoodruff4-Dec-14 4:51 
Okay, well I understood your question more than I thought I did Smile | :)

Given the presence of a "last close" line in some color other than red or green, and assuming there's always at least one pixel of "open space" both below and above the integer value of the height of the close line:

I'd simply draw the red line up to close line height minus one, and draw the green line beginning vertically at close line height plus one. So I'd be validating the last vertical position of the red line, and the first vertical position of the green line and "doing the right thing."

I'd also draw the close line last ... as an overlay ... to hide any mistakes that were made.

Am I on your frequency yet ?
«OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. »  Alan Kay's clarification on what he meant by the term "Object" in "Object-Oriented Programming."

GeneralRe: Path stroke with multiple colors? Pin
SledgeHammer012-Dec-14 18:28
SledgeHammer012-Dec-14 18:28 
QuestionEmail Delivery Receipt Pin
Jassim Rahma1-Dec-14 21:12
Jassim Rahma1-Dec-14 21:12 
AnswerRe: Email Delivery Receipt Pin
BillWoodruff1-Dec-14 21:16
professionalBillWoodruff1-Dec-14 21:16 
GeneralRe: Email Delivery Receipt Pin
Jassim Rahma1-Dec-14 21:18
Jassim Rahma1-Dec-14 21:18 
GeneralRe: Email Delivery Receipt Pin
OriginalGriff1-Dec-14 21:34
mveOriginalGriff1-Dec-14 21:34 
Questionstrong encryption Pin
Jassim Rahma1-Dec-14 0:44
Jassim Rahma1-Dec-14 0:44 
SuggestionRe: strong encryption Pin
Richard MacCutchan1-Dec-14 1:19
mveRichard MacCutchan1-Dec-14 1:19 
Question[Solved] DataGridView, BindingList and combining object properties? Pin
ixilom30-Nov-14 5:54
ixilom30-Nov-14 5:54 
QuestionLink-grammar 5.1.3 /Windows, MSVC Pin
Member 1127414829-Nov-14 18:07
Member 1127414829-Nov-14 18:07 
AnswerRe: Link-grammar 5.1.3 /Windows, MSVC Pin
Garth J Lancaster29-Nov-14 19:06
professionalGarth J Lancaster29-Nov-14 19:06 
QuestionHow to Handle Redirects to Login When Trying to Read Results From HttpWebRequest? Pin
Member 1127231728-Nov-14 15:29
Member 1127231728-Nov-14 15:29 
Questionsetting file's security to 'no delete' in code ? Pin
BillWoodruff28-Nov-14 8:39
professionalBillWoodruff28-Nov-14 8:39 
QuestionRe: setting file's security to 'no delete' in code ? Pin
Eddy Vluggen28-Nov-14 8:54
professionalEddy Vluggen28-Nov-14 8:54 
AnswerRe: setting file's security to 'no delete' in code ? Pin
BillWoodruff28-Nov-14 14:11
professionalBillWoodruff28-Nov-14 14:11 
GeneralRe: setting file's security to 'no delete' in code ? Pin
Eddy Vluggen1-Dec-14 8:02
professionalEddy Vluggen1-Dec-14 8:02 
GeneralRe: setting file's security to 'no delete' in code ? Pin
Manfred Rudolf Bihy1-Dec-14 9:01
professionalManfred Rudolf Bihy1-Dec-14 9:01 
AnswerRe: setting file's security to 'no delete' in code ? Pin
Dave Kreskowiak28-Nov-14 10:24
mveDave Kreskowiak28-Nov-14 10:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.