Click here to Skip to main content
15,498,506 members
Home / Discussions / C#
   

C#

 
AnswerRe: HttpWebRequest simultaneously!!!! Pin
Jens Meyer19-May-10 20:03
MemberJens Meyer19-May-10 20:03 
AnswerRe: HttpWebRequest simultaneously!!!! Pin
Martin Jarvis20-May-10 7:23
MemberMartin Jarvis20-May-10 7:23 
QuestionNeed to call COM component using reflections in C#.NET Pin
glitteringsound19-May-10 11:46
Memberglitteringsound19-May-10 11:46 
AnswerRe: Need to call COM component using reflections in C#.NET Pin
Hristo-Bojilov20-May-10 0:19
MemberHristo-Bojilov20-May-10 0:19 
QuestionIcon "Lock Out" Mystery Pin
PDTUM19-May-10 11:37
MemberPDTUM19-May-10 11:37 
AnswerRe: Icon "Lock Out" Mystery Pin
Martin Jarvis20-May-10 7:25
MemberMartin Jarvis20-May-10 7:25 
AnswerRe: Icon "Lock Out" Mystery Pin
PDTUM20-May-10 7:47
MemberPDTUM20-May-10 7:47 
QuestionRe: Grid Column Event Help - Need to fill Grid column with text on the fly Pin
roman_s19-May-10 11:07
Memberroman_s19-May-10 11:07 
Thanks to everyone for you help in advance.

I have a Grid that currently has a column that does not fill with data from the db but with an image depending on a condtion met. What is the same method but not a rendering method that draws a graphic but rather fills cell with text.

something like:

if (D.Flags == 1)
{
........?? //Draw Text = "Warning"
}


namespace Freepour.Studio.Controls.Grid
{

    public class InventoryWorksheetGridImageColumn : GridImageColumn
    {
.....

 protected override void DrawCell(Divelements.SandGrid.Rendering.RenderingContext context, GridRow row, object value, Font rowFont, Image image, Rectangle bounds, bool selected, Divelements.SandGrid.Rendering.TextFormattingInformation textFormat, Color foreColor)
        {
            float x = (2) + bounds.Left;
            float y = (1) + bounds.Top;
            float width = 16.0F;
            float height = 16.0F;

            object O = row.DataItem;
            DownloadAudit D = O as DownloadAudit;

            if (D.Flags == 1)
            {
                context.Graphics.DrawImage(ExclusionImage, x, y, width, height);
            }

QuestionCast Inherited to Base Pin
mbv80019-May-10 10:50
Membermbv80019-May-10 10:50 
AnswerRe: Cast Inherited to Base Pin
#realJSOP19-May-10 11:14
mva#realJSOP19-May-10 11:14 
AnswerRe: Cast Inherited to Base Pin
Luc Pattyn19-May-10 11:46
sitebuilderLuc Pattyn19-May-10 11:46 
GeneralRe: Cast Inherited to Base Pin
PIEBALDconsult19-May-10 13:18
professionalPIEBALDconsult19-May-10 13:18 
GeneralRe: Cast Inherited to Base Pin
Luc Pattyn19-May-10 13:28
sitebuilderLuc Pattyn19-May-10 13:28 
GeneralRe: Cast Inherited to Base Pin
PIEBALDconsult19-May-10 13:50
professionalPIEBALDconsult19-May-10 13:50 
GeneralRe: Cast Inherited to Base Pin
Roger Wright20-May-10 12:07
professionalRoger Wright20-May-10 12:07 
GeneralRe: Cast Inherited to Base Pin
PIEBALDconsult20-May-10 13:58
professionalPIEBALDconsult20-May-10 13:58 
GeneralRe: Cast Inherited to Base Pin
Roger Wright20-May-10 17:32
professionalRoger Wright20-May-10 17:32 
GeneralRe: Cast Inherited to Base Pin
Pete O'Hanlon20-May-10 0:07
mvaPete O'Hanlon20-May-10 0:07 
AnswerRe: Cast Inherited to Base Pin
T M Gray19-May-10 12:54
MemberT M Gray19-May-10 12:54 
QuestionImage Comparison Pin
eddieangel19-May-10 9:33
Membereddieangel19-May-10 9:33 
AnswerRe: Image Comparison Pin
Henry Minute19-May-10 10:19
MemberHenry Minute19-May-10 10:19 
AnswerRe: Image Comparison Pin
Luc Pattyn19-May-10 10:20
sitebuilderLuc Pattyn19-May-10 10:20 
GeneralRe: Image Comparison Pin
eddieangel19-May-10 10:27
Membereddieangel19-May-10 10:27 
GeneralRe: Image Comparison Pin
Luc Pattyn19-May-10 10:36
sitebuilderLuc Pattyn19-May-10 10:36 
AnswerRe: Image Comparison Pin
Alan Balkany20-May-10 5:21
MemberAlan Balkany20-May-10 5:21 

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.