Click here to Skip to main content
15,887,267 members
Home / Discussions / C#
   

C#

 
AnswerRe: I have a few questions :) Pin
DiscoJimmy29-Dec-09 5:01
DiscoJimmy29-Dec-09 5:01 
AnswerRe: I have a few questions :) Pin
Raztor029-Dec-09 7:37
Raztor029-Dec-09 7:37 
GeneralRe: I have a few questions :) Pin
Saksida Bojan29-Dec-09 8:12
Saksida Bojan29-Dec-09 8:12 
QuestionWindows automation with C# Pin
DiscoJimmy29-Dec-09 4:26
DiscoJimmy29-Dec-09 4:26 
QuestionResize of Custom Control And Excluding control Pin
Saksida Bojan29-Dec-09 4:02
Saksida Bojan29-Dec-09 4:02 
AnswerRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen29-Dec-09 6:34
professionalEddy Vluggen29-Dec-09 6:34 
GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan29-Dec-09 10:30
Saksida Bojan29-Dec-09 10:30 
GeneralRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen30-Dec-09 5:45
professionalEddy Vluggen30-Dec-09 5:45 
Saksida Bojan wrote:
Does not help. Even if I set Minimum and maximum width, designer still shows that can be resized in any direction. Look at Textbox and notice you can't change height, because simply you can't grab on resize rectangle when control is selceted


I found this solution on SO[^], which you probably already tried;
protected override void SetBoundsCore(int x, int y,
     int width, int height, BoundsSpecified specified)
{
  if (this.DesignMode)
    base.SetBoundsCore(x, y, 500, 490, specified);
  else
    base.SetBoundsCore(x, y, width, height, specified);
}


I are Troll Suspicious | :suss:

GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan5-Jan-10 1:49
Saksida Bojan5-Jan-10 1:49 
GeneralRe: Resize of Custom Control And Excluding control Pin
Saksida Bojan12-Feb-10 19:03
Saksida Bojan12-Feb-10 19:03 
GeneralRe: Resize of Custom Control And Excluding control Pin
Eddy Vluggen13-Feb-10 1:10
professionalEddy Vluggen13-Feb-10 1:10 
Newsi have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
3bood.ghzawi29-Dec-09 2:29
3bood.ghzawi29-Dec-09 2:29 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Calla29-Dec-09 3:33
Calla29-Dec-09 3:33 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
dan!sh 29-Dec-09 3:45
professional dan!sh 29-Dec-09 3:45 
JokeRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Abhinav S29-Dec-09 3:48
Abhinav S29-Dec-09 3:48 
GeneralRe: i have a problem of using an ICMP class at SharpPcap-2.1.1 Pin
Keith Barrow29-Dec-09 4:00
professionalKeith Barrow29-Dec-09 4:00 
QuestionTabControl Pin
farokhian29-Dec-09 0:25
farokhian29-Dec-09 0:25 
AnswerRe: TabControl Pin
#realJSOP29-Dec-09 0:39
mve#realJSOP29-Dec-09 0:39 
QuestionIndex remains on 0(zero) in richtextbox Pin
Dot-Net-Dev29-Dec-09 0:12
Dot-Net-Dev29-Dec-09 0:12 
AnswerRe: Index remains on 0(zero) in richtextbox Pin
Dave Kreskowiak29-Dec-09 3:53
mveDave Kreskowiak29-Dec-09 3:53 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
ProtoBytes29-Dec-09 8:34
ProtoBytes29-Dec-09 8:34 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
Dot-Net-Dev29-Dec-09 16:52
Dot-Net-Dev29-Dec-09 16:52 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
Dave Kreskowiak29-Dec-09 18:08
mveDave Kreskowiak29-Dec-09 18:08 
QuestionWeird Debugging Problem Pin
#realJSOP29-Dec-09 0:10
mve#realJSOP29-Dec-09 0:10 
AnswerRe: Weird Debugging Problem Pin
Keith Barrow29-Dec-09 2:02
professionalKeith Barrow29-Dec-09 2:02 

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.