Click here to Skip to main content
16,012,061 members

Comments by Mohankumar.Engain (Top 86 by date)

Mohankumar.Engain 20-Mar-19 8:42am View    
I have downloaded from http://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki.
but its shows exception as I mentioned.
Mohankumar.Engain 12-Feb-19 5:39am View    
SQLite data base using for Creating windows application
Mohankumar.Engain 4-Feb-19 1:38am View    
If try above code using constructor then properties which we are used, those properties shows in .designer.cs file too.I want to restrict that too. pls if we using override only we will restrict .designer.cs file. but still not get expected result ..
Mohankumar.Engain 4-Feb-19 1:37am View    
If try above code using constructor then properties which we are used, those properties shows in .designer.cs file too.I want to restrict that too. pls if we using override only we will restrict .designer.cs file. but still not get expected result ..
Mohankumar.Engain 1-Feb-19 5:14am View    
protected override void OnPaint(PaintEventArgs e)
{
base.OnPaint(e);
Graphics g = e.Graphics;
g.Clear(BackColor);
g.SmoothingMode = SmoothingMode.HighQuality;
Pen p = new Pen(Color.Black, 2);
Rectangle fillRect = new Rectangle(10, 10, 40, 40);
Brush b = new SolidBrush(Color.FromArgb(240, 240, 240));

//AutoSize = false;
g.FillRectangle(b, fillRect);
//g.FillRectangle(new SolidBrush(Color.Black), 100, 50, 100, 100);
g.DrawRectangle(p, e.ClipRectangle);

g.DrawString(Text, new Font("Segoe UI", 10, FontStyle.Regular), new SolidBrush(Color.Black), new Point(4, 4));

b.Dispose(); //ADD THIS
p.Dispose(); //ADD THIS TOO

}

For above Created in => Windows Form Control Library,
I have used button control to change the property values for custom control.
Button width and height property values are not changed.