Click here to Skip to main content
14,771,060 members
Home » Discussions » Windows Forms
   

Windows Forms

 
GeneralRe: C# Error Config file Pin
Member 856781222-Aug-14 23:38
MemberMember 856781222-Aug-14 23:38 
GeneralRe: C# Error Config file Pin
Richard MacCutchan23-Aug-14 1:14
mveRichard MacCutchan23-Aug-14 1:14 
GeneralRe: C# Error Config file Pin
Member 856781223-Aug-14 5:19
MemberMember 856781223-Aug-14 5:19 
GeneralRe: C# Error Config file Pin
Richard MacCutchan23-Aug-14 5:49
mveRichard MacCutchan23-Aug-14 5:49 
GeneralRe: C# Error Config file Pin
Member 856781225-Aug-14 23:58
MemberMember 856781225-Aug-14 23:58 
Questionhow to disable windows form hide animation? Pin
neodeaths31-Jul-14 0:30
Memberneodeaths31-Jul-14 0:30 
AnswerRe: how to disable windows form hide animation? Pin
Eddy Vluggen11-Aug-14 8:58
professionalEddy Vluggen11-Aug-14 8:58 
AnswerRe: how to disable windows form hide animation? Pin
xstoneheartx25-Dec-14 15:15
Memberxstoneheartx25-Dec-14 15:15 
Maybe this help:
enum DWMWINDOWATTRIBUTE : uint
{
    NCRenderingEnabled = 1,
    NCRenderingPolicy,
    TransitionsForceDisabled,
    AllowNCPaint,
    CaptionButtonBounds,
    NonClientRtlLayout,
    ForceIconicRepresentation,
    Flip3DPolicy,
    ExtendedFrameBounds,
    HasIconicBitmap,
    DisallowPeek,
    ExceludedFromPeek,
    Cloak,
    Cloaked,
    FreezeRepresentation
}


[DllImport("dwmapi.dll")]
private static extern int DwmSetWindowAttribute(IntPtr hwnd, DWMWINDOWATTRIBUTE attr, ref int attrValue, int attrSize);

protected override void OnHandleCreated(EventArgs e)
{
    base.OnHandleCreated(e);
    if (Environment.OSVersion.Version.Major >= 6)
    {
        int attrValue = 1;
        int hr = DwmSetWindowAttribute(this.Handle, DWMWINDOWATTRIBUTE.TransitionsForceDisabled, ref attrValue, 4);
        if (hr < 0)
            Marshal.ThrowExceptionForHR(hr);
    }
}

Question<Solved> Should be easy update question... Pin
Okmred29-Jul-14 8:38
MemberOkmred29-Jul-14 8:38 
QuestionCRUD Form dynamicaly generated from XSD Pin
Miguel Figueiredo25-Jul-14 7:34
MemberMiguel Figueiredo25-Jul-14 7:34 
AnswerRe: CRUD Form dynamicaly generated from XSD Pin
Eddy Vluggen25-Jul-14 8:11
professionalEddy Vluggen25-Jul-14 8:11 
Questioncreate setup file with sql server database for another machine in windows form Pin
Member 1029592522-Jul-14 1:20
professionalMember 1029592522-Jul-14 1:20 
AnswerRe: create setup file with sql server database for another machine in windows form Pin
Eddy Vluggen25-Jul-14 8:13
professionalEddy Vluggen25-Jul-14 8:13 
QuestionWindows Forms-Text Mode Printing Pin
Thirugnanam Nataraj23-Jun-14 21:28
MemberThirugnanam Nataraj23-Jun-14 21:28 
AnswerRe: Windows Forms-Text Mode Printing Pin
Bernhard Hiller23-Jun-14 23:23
MemberBernhard Hiller23-Jun-14 23:23 
GeneralRe: Windows Forms-Text Mode Printing Pin
Thirugnanam Nataraj25-Jun-14 21:31
MemberThirugnanam Nataraj25-Jun-14 21:31 
QuestionHow make Form2 with progressBar in other thread, while downloading data in datagridview in Form1? Pin
Kroshandowski8-Jun-14 10:03
MemberKroshandowski8-Jun-14 10:03 
AnswerRe: How make Form2 with progressBar in other thread, while downloading data in datagridview in Form1? Pin
Richard MacCutchan8-Jun-14 23:01
mveRichard MacCutchan8-Jun-14 23:01 
QuestionMDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Member 1074775521-May-14 6:31
MemberMember 1074775521-May-14 6:31 
SuggestionRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Richard MacCutchan21-May-14 23:07
mveRichard MacCutchan21-May-14 23:07 
GeneralRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
MyOwnBoss28-May-14 20:53
MemberMyOwnBoss28-May-14 20:53 
GeneralRe: MDI WinForms: Open childform2 in panel2 of Parent form using button of Childform1 Pin
Richard MacCutchan28-May-14 22:27
mveRichard MacCutchan28-May-14 22:27 
QuestionHow to deploy encrypted app.config windows application in Client machine where Visual studio not installed? Pin
susanna.floora18-May-14 21:46
Membersusanna.floora18-May-14 21:46 
AnswerRe: How to deploy encrypted app.config windows application in Client machine where Visual studio not installed? Pin
MyOwnBoss28-May-14 20:32
MemberMyOwnBoss28-May-14 20:32 
QuestionHow to use an ErrorProvider with a UserControl? Pin
GroupIII20-Feb-14 18:48
MemberGroupIII20-Feb-14 18:48 

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.