Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
AnswerRe: Populate specifc Registry keys in Combobox Pin
OriginalGriff2-Dec-14 21:38
mveOriginalGriff2-Dec-14 21:38 
GeneralRe: Populate specifc Registry keys in Combobox Pin
Richard MacCutchan2-Dec-14 21:47
mveRichard MacCutchan2-Dec-14 21:47 
AnswerRe: Populate specifc Registry keys in Combobox Pin
Richard MacCutchan2-Dec-14 21:49
mveRichard MacCutchan2-Dec-14 21:49 
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
professionalsyed 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 
Here is perhaps a simple example. I might be getting thrown off by the gradient behavior. If you print screen and zoom in with Paint (or some program that doesn't muck with the pixels as you zoom), you'll see the gradient isn't doing a clean break. Even though if you punch the numbers into Calc, they looks correct to me.

<Window x:Class="WpfApplication4.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="MainWindow" Height="350" Width="525"
UseLayoutRounding="True" SnapsToDevicePixels="True">
<Grid>
<Grid Background="LightGray" Height="27" Width="103">
<Line X1="0" X2="103" Y1="21" Y2="21" Stroke="Red" RenderOptions.EdgeMode="Aliased" />
<Rectangle Height="27" Width="50">
<Rectangle.Fill>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0.0" Color="Black" />
<GradientStop Offset="0.77777777777777779" Color="Black" />
<GradientStop Offset="0.77777777777777779" Color="Orange" />
<GradientStop Offset="1" Color="Orange" />
</LinearGradientBrush>
</Rectangle.Fill>
</Rectangle>
</Grid>
</Grid>
</Window>
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 
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 

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.