Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Convert existing classes to have .designer.cs files

Convert existing classes to have .designer.cs files

Scheduled Pinned Locked Moved C#
csharptutorialquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amymarie3
    wrote on last edited by
    #1

    Is there a way for me to convert my existing C# files to have .designer.cs files? I am working on a very large project and this would be a very useful change to our project. Are there any articles explaining how to do this by hand if there is no automatic converter?

    J 1 Reply Last reply
    0
    • A amymarie3

      Is there a way for me to convert my existing C# files to have .designer.cs files? I am working on a very large project and this would be a very useful change to our project. Are there any articles explaining how to do this by hand if there is no automatic converter?

      J Offline
      J Offline
      Judah Gabriel Himango
      wrote on last edited by
      #2

      I've never seen one myself, unfortunately. You *could* write something that would do this: basically create a new file on disk in the same folder as the original file, scan that file for the Dispose and InitializeComponent methods, then move them to the designer file. Shouldn't be too difficult.

      Tech, life, family, faith: Give me a visit. I'm currently blogging about: Dumbest. Movie. Title. Evaaar. The apostle Paul, modernly speaking: Epistles of Paul Judah Himango

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups