Click here to Skip to main content
15,888,341 members
Home / Discussions / C#
   

C#

 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 0:31
professionalEddy Vluggen24-May-12 0:31 
GeneralRe: Date filter in DataView Pin
BobJanova24-May-12 0:51
BobJanova24-May-12 0:51 
AnswerRe: Date filter in DataView Pin
Eddy Vluggen24-May-12 1:00
professionalEddy Vluggen24-May-12 1:00 
GeneralRe: Date filter in DataView Pin
Paul Bullimore24-May-12 1:46
Paul Bullimore24-May-12 1:46 
AnswerRe: Date filter in DataView Pin
Luc Pattyn24-May-12 3:01
sitebuilderLuc Pattyn24-May-12 3:01 
AnswerRe: Date filter in DataView Pin
Paul Bullimore24-May-12 21:22
Paul Bullimore24-May-12 21:22 
QuestionCan I use Font like a photoshop? Pin
Member 832808023-May-12 15:51
Member 832808023-May-12 15:51 
AnswerRe: Can I use Font like a photoshop? Pin
OriginalGriff23-May-12 19:25
mveOriginalGriff23-May-12 19:25 
Assuming this is WinForms, not WPF, you can apply a matrix transform to the graphics context, which will stretch everything in one direction:
C#
Font font = new Font("Verdana", 12.0F);
private void myPanel_Paint(object sender, PaintEventArgs e)
    {
    Graphics g = e.Graphics;
    g.DrawString("Hello", font, Brushes.Black, 10, 10);
    Matrix m = new Matrix();
    m.Scale(2, 1);
    g.Transform = m;
    g.DrawString("Hello", font, Brushes.Black, 10, 30);
    g.ResetTransform();
    m = new Matrix();
    m.Scale(1.5F, 1);
    g.Transform = m;
    g.DrawString("Hello", font, Brushes.Black, 10, 60);
    g.ResetTransform();
    }

I suspect that WPF could do this pretty easily (but there is a learning curve associated with WPF).
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water

GeneralThanks you for your advise. but I can't use this way. Pin
Member 832808023-May-12 23:14
Member 832808023-May-12 23:14 
GeneralRe: Thanks you for your advise. but I can't use this way. Pin
BobJanova24-May-12 0:52
BobJanova24-May-12 0:52 
GeneralRe: Thanks you for your advise. but I can't use this way. Pin
Pete O'Hanlon24-May-12 1:21
mvePete O'Hanlon24-May-12 1:21 
QuestionLooking for help querying active directory Pin
turbosupramk323-May-12 9:08
turbosupramk323-May-12 9:08 
AnswerRe: Looking for help querying active directory Pin
Dave Kreskowiak23-May-12 9:58
mveDave Kreskowiak23-May-12 9:58 
GeneralRe: Looking for help querying active directory Pin
turbosupramk323-May-12 10:23
turbosupramk323-May-12 10:23 
GeneralRe: Looking for help querying active directory Pin
Dave Kreskowiak23-May-12 12:09
mveDave Kreskowiak23-May-12 12:09 
GeneralRe: Looking for help querying active directory Pin
turbosupramk323-May-12 14:29
turbosupramk323-May-12 14:29 
AnswerRe: Looking for help querying active directory Pin
randprin24-May-12 2:16
randprin24-May-12 2:16 
GeneralRe: Looking for help querying active directory Pin
turbosupramk324-May-12 9:33
turbosupramk324-May-12 9:33 
GeneralRe: Looking for help querying active directory Pin
turbosupramk329-May-12 4:35
turbosupramk329-May-12 4:35 
QuestionUsing ADWS in .Net Pin
Member 254690323-May-12 6:40
Member 254690323-May-12 6:40 
AnswerRe: Using ADWS in .Net Pin
Ravi Bhavnani23-May-12 9:33
professionalRavi Bhavnani23-May-12 9:33 
GeneralRe: Using ADWS in .Net Pin
Member 254690323-May-12 9:59
Member 254690323-May-12 9:59 
GeneralSystem.IO Project for beginners Pin
bdeklerk23-May-12 2:28
bdeklerk23-May-12 2:28 
GeneralRe: System.IO Project for beginners Pin
ddecoy23-May-12 3:31
ddecoy23-May-12 3:31 
AnswerRe: System.IO Project for beginners Pin
Eddy Vluggen23-May-12 10:42
professionalEddy Vluggen23-May-12 10:42 

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.