public UserGridViewer()
        {
            InitializeComponent();

            //This line is where the bridge haapens and we can link this component
            //with the default behavior.
            //It is done here because this control cannot be child of another class even
            //if this class inherits from UserControl
            Behavior = new BasicGridViewer <User>(this);
        }
Exemple #2
0
 public AddressGridViewer()
 {
     InitializeComponent();
     Behavior = new BasicGridViewer <Address>(this);
 }
Exemple #3
0
 public AppointmentGridViewer()
 {
     InitializeComponent();
     Behavior = new BasicGridViewer <Appointment>(this);
 }
 public DoctorGridViewer()
 {
     InitializeComponent();
     Behavior = new BasicGridViewer <Doctor>(this);
 }
 public ClientGridViewer()
 {
     InitializeComponent();
     Behavior = new BasicGridViewer <Client>(this);
 }