I am writing a WinForms-based application for Windows Mobile, focusing on CompactFramework 2.0 and C # coding.
My application has a menu from which the user can select additional job functions.
My question is:
For special task screens, should I load UserControl into a panel in the main form, or is it better to open a new form on top of the main form?
They both seem to meet my needs, and I don't know if there is a “right” answer here.
Is one method more correct than another?
- ( ), . , .
, , . UI, , . , , , - , , . , , , , , UserControl. .
, Forms , , . ShowDialog Hide Close, . , , GC , .
UserControl - , . , , , . UserControls. MVC/MVP , , USerControl , (SCSF , OpenNETCF.IoC framework CF).
, ""? , , , , . , .
, , . (Motorola WT4090 32 ) , , -, . 4-6 ; , , .
, - . , , , .
- , , .
. , . , expexts .
"": . . . "edit" , . "" .
, : - , . knowlegde, . , , .
, (< 1 ) WM 5 WM 6.
UserControls, , .
, : Forms!
P.S.: CodeProject: MDI Compact framework
/. UserControl , , .
- Windows . , , Windows.
, . ( ), .
Source: https://habr.com/ru/post/1706827/More articles:Как создать защищенный паролем zip файл с помощью python? - pythonDependency Injection and ModelStateWrapper - dependency-injectionDoes adding an operation to a WCF service contract mean that the entire WCF client needs to update its links? - c #Ugly Java data structure - javaphp microseconds - phpAccents in a filename using Java in Solaris - javaFileTest.exists? release ruby on rails - ruby | fooobar.comIs there a best practice for arranging database columns? - databaseКак создать script, чтобы переместить текущий активный адрес электронной почты в папку "Входящие" в другую папку в Outlook 2007 - vbaWhich sorting algorithm provides the best performance in the worst case? - sortingAll Articles