|
|
| Riadok 1: |
Riadok 1: |
| − | <viewsecurity developer/>
| |
| − | grid pre Priradenie úhrad
| |
| | | | |
| − | Namespace: '''Datalock.Spin.Lea.UI.Spolocne.Controls'''<br>
| |
| − | Trieda: '''[[PriradenieUhradUC]]'''<br>
| |
| − | Metóda: '''Init'''(IApplicationContext applicationContext,bool aj_view = false)<br>
| |
| − | inicializácia triedy, aj_view - má sa použiť aj View? (bude sa aj editovať ?<br>
| |
| − | Metóda: DWUltraGrid '''GetGrid'''<br>
| |
| − | referencia na Grid z User Controlu<br>
| |
| − | Metóda: BindingSource '''GetBindingSource'''<br>
| |
| − | referencia na BindingSource z User Controlu<br>
| |
| − |
| |
| − | {{Príklad|
| |
| − | <syntaxhighlight lang=csharp>
| |
| − | public partial class PrikladForm:MDIChildEx
| |
| − | {
| |
| − | public PrikladForm(Guid applicationContextId): base(applicationContextId)
| |
| − | {
| |
| − | InitializeComponent();
| |
| − | gridPriradenieUhrad.Init(ApplicationContext);
| |
| − | dwNieco.DWItemHandler.DetailItems.Add(gridPriradenieUhrad.GetGrid());
| |
| − | }
| |
| − | }
| |
| − | </syntaxhighlight>
| |
| − | }}
| |
| − |
| |
| − | [[category:Grids]]
| |