Click here to Skip to main content
14,874,239 members
Home / Discussions / C#
   

C#

 
QuestionC# Excel test specific cells in a column Pin
Steve Rudd22-Mar-21 5:59
MemberSteve Rudd22-Mar-21 5:59 
AnswerRe: C# Excel test specific cells in a column Pin
Gerry Schmitz22-Mar-21 7:40
mveGerry Schmitz22-Mar-21 7:40 
GeneralRe: C# Excel test specific cells in a column Pin
Steve Rudd22-Mar-21 9:31
MemberSteve Rudd22-Mar-21 9:31 
GeneralRe: C# Excel test specific cells in a column Pin
Richard MacCutchan22-Mar-21 22:56
mveRichard MacCutchan22-Mar-21 22:56 
GeneralRe: C# Excel test specific cells in a column Pin
Steve Rudd23-Mar-21 0:13
MemberSteve Rudd23-Mar-21 0:13 
GeneralRe: C# Excel test specific cells in a column Pin
Steve Rudd23-Mar-21 1:32
MemberSteve Rudd23-Mar-21 1:32 
GeneralRe: C# Excel test specific cells in a column Pin
Richard MacCutchan23-Mar-21 2:09
mveRichard MacCutchan23-Mar-21 2:09 
QuestionMike`s Gradiator Pin
Alejandro01122-Mar-21 2:22
MemberAlejandro01122-Mar-21 2:22 
Greetings!
Does anyone know how an XML (an example is given below) file created in the Mike Hankey`s GRADIATOR
program would be written in C# itself?
Specifically I mean the full definition of brush.

GraphicsPath g = new GraphicsPath();
PathGradientBrush brush = new PathGradientBrush(g);
.
.
.


Thanks in advance, Aleksandar

p.s. https://www.codeproject.com/Articles/20018/Gradients-made-easy

example:
<ShapeObjects>
  <ShapeObject>
    <Id>28316747</Id>
    <Rectangle>200,201,384,384</Rectangle>
    <FontFamily>Palatino Linotype</FontFamily>
    <FontSize>10</FontSize>
    <Text>
    </Text>
    <Type>Elliptical</Type>
    <HasBorder>True</HasBorder>
    <BrushName>
    </BrushName>
    <FillType>pathGradient</FillType>
    <Color>Color [A=255, R=255, G=255, B=255]</Color>
    <Color1>Color [Black]</Color1>
    <Color2>Color [A=255, R=180, G=180, B=180]</Color2>
    <LinearAngle>90</LinearAngle>
    <CenterPoint>{X=0.5104167, Y=0.5104167}</CenterPoint>
    <UseSigmaShape>True</UseSigmaShape>
    <UseBlendShape>False</UseBlendShape>
    <SurroundColors>Color [A=255,R=0,G=27,B=82]</SurroundColors>
    <Focus>0.507451</Focus>
    <Scale>0.6080391</Scale>
    <Positions>0,1</Positions>
    <Factors>0.2,0.8</Factors>
    <UseBlend>False</UseBlend>
    <UseColorBlend>False</UseColorBlend>
    <UseGammaCorrection>False</UseGammaCorrection>
    <FocusScale>{X=0.8039216, Y=0.8015845}</FocusScale>
  </ShapeObject>
</ShapeObjects>

AnswerRe: Mike`s Gradiator Pin
Richard Deeming22-Mar-21 2:41
mveRichard Deeming22-Mar-21 2:41 
GeneralRe: Mike`s Gradiator Pin
Alejandro01122-Mar-21 2:48
MemberAlejandro01122-Mar-21 2:48 
AnswerRe: Mike`s Gradiator Pin
Gerry Schmitz22-Mar-21 7:49
mveGerry Schmitz22-Mar-21 7:49 
GeneralRe: Mike`s Gradiator Pin
Alejandro01122-Mar-21 10:16
MemberAlejandro01122-Mar-21 10:16 
GeneralRe: Mike`s Gradiator Pin
Alejandro01123-Mar-21 14:53
MemberAlejandro01123-Mar-21 14:53 
QuestionHow to write to Form1.texBox1 from another class. Pin
Member 1406872419-Mar-21 11:17
MemberMember 1406872419-Mar-21 11:17 
AnswerRe: How to write to Form1.texBox1 from another class. Pin
OriginalGriff19-Mar-21 12:24
mveOriginalGriff19-Mar-21 12:24 
QuestionCombobox Text Pin
Ismael Oliveira 202119-Mar-21 8:01
MemberIsmael Oliveira 202119-Mar-21 8:01 
AnswerRe: Combobox Text Pin
OriginalGriff19-Mar-21 9:44
mveOriginalGriff19-Mar-21 9:44 
GeneralRe: Combobox Text Pin
Ismael Oliveira 202119-Mar-21 10:14
MemberIsmael Oliveira 202119-Mar-21 10:14 
AnswerRe: Combobox Text Pin
BillWoodruff20-Mar-21 6:15
mveBillWoodruff20-Mar-21 6:15 
QuestionUnhandle System.AccessViolationException from FFMediaToolkit Pin
huycaothu18-Mar-21 23:05
Memberhuycaothu18-Mar-21 23:05 
AnswerRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
OriginalGriff18-Mar-21 23:19
mveOriginalGriff18-Mar-21 23:19 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
huycaothu19-Mar-21 2:43
Memberhuycaothu19-Mar-21 2:43 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
OriginalGriff19-Mar-21 2:56
mveOriginalGriff19-Mar-21 2:56 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
huycaothu20-Mar-21 0:03
Memberhuycaothu20-Mar-21 0:03 
GeneralRe: Unhandle System.AccessViolationException from FFMediaToolkit Pin
Dave Kreskowiak19-Mar-21 4:28
mveDave Kreskowiak19-Mar-21 4:28 

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.