Click here to Skip to main content
15,884,870 members
Home / Discussions / C#
   

C#

 
QuestionRemoving Context Menu Items Pin
MCSD-Gandalf2-May-06 1:47
MCSD-Gandalf2-May-06 1:47 
AnswerRe: Removing Context Menu Items Pin
MCSD-Gandalf2-May-06 4:29
MCSD-Gandalf2-May-06 4:29 
Questiondependant #warning Pin
Rafael Fernández López2-May-06 1:36
Rafael Fernández López2-May-06 1:36 
AnswerRe: dependant #warning Pin
Josh Smith2-May-06 1:53
Josh Smith2-May-06 1:53 
GeneralRe: dependant #warning Pin
Rafael Fernández López2-May-06 2:02
Rafael Fernández López2-May-06 2:02 
GeneralRe: dependant #warning Pin
Josh Smith2-May-06 3:59
Josh Smith2-May-06 3:59 
GeneralRe: dependant #warning Pin
Rafael Fernández López2-May-06 7:30
Rafael Fernández López2-May-06 7:30 
Questionmsn style - show/hide form border Pin
g00fyman2-May-06 1:29
g00fyman2-May-06 1:29 
hi to all,

i would like to have a form with an button that can show hide the form border like msn messenger does. also hides menu strip.

this is the code i have but i get terrible flicker when the controls are set visible, msn is really smooth, how can i acheive this please?

i have 7 picture boxes that contain the bg pictures and a toolstrip in the middle of the form, are the mutiple picture boxes the problem or is there a better way

if (e.Button == MouseButtons.Left)
      {
        if (this.FormBorderStyle == FormBorderStyle.None)
        {
          this.FormBorderStyle = FormBorderStyle.Fixed3D;
          this.menuStrip.Visible = true;
          this.Location = new Point(this.Location.X, (this.Location.Y - SystemInformation.CaptionHeight));
          this.TransparencyKey = Color.Empty;
        }
        else
        {
          this.FormBorderStyle = FormBorderStyle.None;
          this.menuStrip.Visible = false;
          this.Location = new Point(this.Location.X, (this.Location.Y + SystemInformation.CaptionHeight));
          this.TransparencyKey = SystemColors.Control;
        }
      }


kind regards,
g00fy
AnswerRe: msn style - show/hide form border Pin
stancrm2-May-06 2:13
stancrm2-May-06 2:13 
GeneralRe: msn style - show/hide form border Pin
g00fyman2-May-06 2:23
g00fyman2-May-06 2:23 
QuestionHow to bind 2 exe files in one file and Extraxt those again ? Pin
hdv2122-May-06 1:17
hdv2122-May-06 1:17 
AnswerRe: How to bind 2 exe files in one file and Extraxt those again ? Pin
Graham Nimbley2-May-06 2:31
Graham Nimbley2-May-06 2:31 
QuestionPage {PAGE} of {NUMPAGES} in Word Pin
jhaga2-May-06 0:44
professionaljhaga2-May-06 0:44 
AnswerRe: Page {PAGE} of {NUMPAGES} in Word Pin
alexey N2-May-06 0:51
alexey N2-May-06 0:51 
GeneralRe: Page {PAGE} of {NUMPAGES} in Word Pin
jhaga2-May-06 1:20
professionaljhaga2-May-06 1:20 
Questioncreate DTS dynamically using C# (urgent) Pin
AmitSumit2-May-06 0:17
AmitSumit2-May-06 0:17 
AnswerRe: create DTS dynamically using C# (urgent) Pin
J4amieC2-May-06 0:59
J4amieC2-May-06 0:59 
GeneralRe: create DTS dynamically using C# (urgent) Pin
AmitSumit2-May-06 2:00
AmitSumit2-May-06 2:00 
QuestionConsole program Pin
DH Julio2-May-06 0:01
DH Julio2-May-06 0:01 
AnswerRe: Console program Pin
stancrm2-May-06 0:28
stancrm2-May-06 0:28 
GeneralRe: Console program Pin
DH Julio2-May-06 5:06
DH Julio2-May-06 5:06 
AnswerRe: Console program Pin
V.2-May-06 2:32
professionalV.2-May-06 2:32 
QuestionCOM Interop question Pin
GDavy1-May-06 23:33
GDavy1-May-06 23:33 
QuestionQuestion about proxy in webrequest (!!Help!!) Pin
stancrm1-May-06 23:00
stancrm1-May-06 23:00 
QuestionCan i disabled the entries in ComboBox in window application Pin
ankushmn1-May-06 22:32
ankushmn1-May-06 22:32 

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.