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:
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
Post a Comment