Click here to Skip to main content
15,915,750 members
Home / Discussions / Windows Forms
   

Windows Forms

 
GeneralRe: unbound datagrid Pin
Rocky#16-Mar-08 22:14
Rocky#16-Mar-08 22:14 
GeneralRe: unbound datagrid Pin
mr.me17-Mar-08 19:28
mr.me17-Mar-08 19:28 
GeneralRe: unbound datagrid Pin
Rocky#17-Mar-08 21:21
Rocky#17-Mar-08 21:21 
GeneralRe: unbound datagrid Pin
mr.me18-Mar-08 9:37
mr.me18-Mar-08 9:37 
GeneralRe: unbound datagrid Pin
Rocky#18-Mar-08 20:12
Rocky#18-Mar-08 20:12 
GeneralRe: unbound datagrid Pin
mr.me19-Mar-08 6:48
mr.me19-Mar-08 6:48 
Generalcrystal report Pin
Naresh12345678915-Mar-08 3:21
Naresh12345678915-Mar-08 3:21 
GeneralRe: crystal report Pin
Herman<T>.Instance1-Apr-08 23:43
Herman<T>.Instance1-Apr-08 23:43 
GeneralDatagridview Refresh Control Problem Pin
soniasan14-Mar-08 22:37
soniasan14-Mar-08 22:37 
GeneralRe: Datagridview Refresh Control Problem Pin
Herman<T>.Instance1-Apr-08 23:47
Herman<T>.Instance1-Apr-08 23:47 
GeneralProblem with DataGridViewComboBoxColumn - try to disable/hide already selected values [modified] Pin
Skeletor2314-Mar-08 11:43
Skeletor2314-Mar-08 11:43 
GeneralStrange Error on Data Bound ComboBox Pin
Brady Kelly13-Mar-08 7:43
Brady Kelly13-Mar-08 7:43 
GeneralRe: Strange Error on Data Bound ComboBox Pin
led mike14-Mar-08 4:58
led mike14-Mar-08 4:58 
GeneralRe: Strange Error on Data Bound ComboBox Pin
Brady Kelly16-Mar-08 22:27
Brady Kelly16-Mar-08 22:27 
GeneralRe: Strange Error on Data Bound ComboBox Pin
ChandraRam17-Mar-08 0:37
ChandraRam17-Mar-08 0:37 
GeneralRe: Strange Error on Data Bound ComboBox Pin
Brady Kelly17-Mar-08 1:36
Brady Kelly17-Mar-08 1:36 
QuestionAlpha-Blending controls Pin
Zerox MXI12-Mar-08 23:43
Zerox MXI12-Mar-08 23:43 
I have set the alpha values of the brushes and pen, why isn't it blending into the form?

http://img153.imageshack.us/img153/2372/ss0001cn7.png[^]

Is there anyway to do this correctly?

<br />
        protected override void OnPaint(PaintEventArgs e)<br />
        {<br />
            //base.OnPaint(e);<br />
<br />
            this.AutoSize = false;<br />
            this.BackColor = Color.Transparent;<br />
<br />
            Graphics g = e.Graphics;<br />
<br />
            g.SmoothingMode = SmoothingMode.AntiAlias;<br />
            g.CompositingMode = CompositingMode.SourceOver;<br />
            g.CompositingQuality = CompositingQuality.HighQuality;<br />
<br />
            LinearGradientBrush brush = new LinearGradientBrush(this.ClientRectangle, Color.FromArgb(alpha, Color.Gray), Color.FromArgb(alpha, Color.Silver), LinearGradientMode.Horizontal);<br />
            g.FillRectangle(brush, this.ClientRectangle);<br />
<br />
            Pen pen = new Pen(Color.FromArgb(alpha, Color.Red));<br />
            g.DrawRectangle(pen, 0, 0, this.Size.Width - 1, this.Size.Height - 1);<br />
<br />
            SolidBrush fontBrush = new SolidBrush(Color.FromArgb(alpha, Color.Black));<br />
            g.DrawString("Crap", this.Font, fontBrush, 10.0f, 10.0f);<br />
        }<br />

GeneralRe: Alpha-Blending controls Pin
Martin#13-Mar-08 1:18
Martin#13-Mar-08 1:18 
QuestionHow to create Dynamic table? Pin
Guru_yogi12-Mar-08 20:42
Guru_yogi12-Mar-08 20:42 
AnswerRe: How to create Dynamic table? Pin
John_Adams12-Mar-08 21:53
John_Adams12-Mar-08 21:53 
GeneralSeeking directions for building own custom controls and about UI programming Pin
Zerox MXI12-Mar-08 15:17
Zerox MXI12-Mar-08 15:17 
GeneralRe: Seeking directions for building own custom controls and about UI programming Pin
led mike13-Mar-08 4:22
led mike13-Mar-08 4:22 
GeneralSend Page by email ( in the right forum now i hope ) :) Pin
cechode12-Mar-08 11:30
cechode12-Mar-08 11:30 
GeneralRe: Send Page by email ( in the right forum now i hope ) :) Pin
led mike13-Mar-08 4:26
led mike13-Mar-08 4:26 
GeneralRe: Send Page by email ( in the right forum now i hope ) :) Pin
cechode13-Mar-08 5:37
cechode13-Mar-08 5:37 

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.