winforms

  • Visual Studio 2010 versus COM-Object fails

    I spent ages trying to find a solution to this issue after upgrading to VS2012. This link solved the problem and stopped me returning to VS2005. Why Microsoft, why? Thank you malamsson.

    Know More

  • Close a Parent Form from Child Form

    From a child form I wanted to close the parent form after a button was clicked, the following is the code I used: // In the child form, create an event that indicates the special occurrence.public event EventHandler Special;protected virtual void OnSpecial(EventArgs e) { EventHandler Handler = Special; if (Handler != null) Handler(this, e);}// Perhaps…

    Know More