winforms - Separate code in single Form [C#] -


i've got winform application separate groupboxes , objects, code isn't sorted groupbox , pretty messed up.

can code split in 2 files or objects on same place?

edit:

this code:

alt text

how should split it? (i need news , dir changed)

you may find easier , less problematic use regions trying split out files:

#region -  textbox events  -  private void txtnews_textchanged() {...}  private void txtdir_textchanged() {...}  #endregion  #region -  combobox events  -  private void cmbnews_selectedindexchanged() {...}  private void cmbdir_selectedindexchanged() {...}  #endregion 

which, when collapsed, looks like

-  textbox events  -  -  combobox events  - 

you consider tool ora navigate large files: http://ora.codeplex.com/ jetbrains' resharper has excellent file-structure viewer.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -