Hi there,
I've got my first experiences using nhibernate without gui and think that's a great tool :D
Now i'want to write an application 'that' make's sense' with c# and forms.
Code:
***************************************
* B1 * Filter 1, Filter 2 *
* B2 * [Refresh-by-Filter-Button] *
* B2 **********************************
* B3 * GRRRRIIIIIDDDDDD *
* B4 * line1 *
* Bn * line2 *
* **********************************
* * Display Busines-Data Details *
* * to in grid seleted row *
* * (maybe in Tabs) *
* * *
***************************************
Edited (sergey): I took the liberty to reformat your post a bit to make your ASCII diagram clear.
My Application should look similar to a 'outlook like application'.
On the left hand, a OutlookBar main-selection for the business class.
B1...Bn
If the user clicks on Bx, on top right i want to show 'appropriate' Filters for
the user
Using the Refresh-Button will fill my grid.
Klicking within the grid will 'Display selected Business Data'
in the lower right area.
I think that's not very spectacular.
Now i'm wondering if there's anything avaliable like the goood old Data-Binding-mechanism' for my GUI-work.
Yessss using nhibernate takes the 'most AND hardest programmer work' away from me , but gui is still a topic for me, and i don't want to do things
that can be automated..
Becouse i'm not that over-experienced with c#, i thougt about
to build a simple user-control for the 'Display selected Business Data'
area, which would hold in a very simple approach LABEL and TEXT
for my database-Property.
In a further step i want this component to be capable of
selecting the control depending on the db-type,
and in a overall final solution the controls would be created
on display time accourding to the business class.
Using own-written 'Attributes' in my Business class
i want to specify the 'label' there, and maybe later
things like 'user must specify field', and 'text-field-len is maximal
10 characters'.
Of course there will be situations, where that simple-concept won't fit,
but im want to be capable of doing 'stupid standard' gui.mapping with
as less effort as possible.
And of course a lot of this information is also available within the nhibernate-mapping, but for sure not all of them.
All the samples i've seen so far are without graphic,
so i'm wondering if anybody could give ma a hint how to deal with this ?
TX at all :P
Zoerrer Helmut