VB.Net Custom Controls

This might be the main question, however, I got confused in some .Net Concpets.
I am trying to create a "Data Browser" in VB.net.

  • Like a web browser, however, each Data Browser tab represents some data (from a database or apartment files), not a web page.
  • The user interface on each tab is basically the same.
  • List Box (showing data types, etc.), TextBox (where you can create a filter) and DataGridView, DataSource Picker, etc.
  • The only thing that would change on each tab is that there may be a custom "Viewer". In most cases (depending on the data source), it will be a datagrid, however in other cases it would be a treecontrol.

From reading .Net documents, it seems that I need to create a user control (MyDataBrowser) consisting of a panel with all the usual controls (except for the viewer). Each time the user says “New Tab”, a new tab is created and this MyDataBrowser control is added. The MyDataBrowser control will contain some function that could then create an approximate viewer based on the data.

If this is the suggested route, what is the best way to create MyDataBrowser Control

  • (A) Is this a user management library?
  • (B) Is this an integral form?
  • (C) Is this infringed on by the User Control?

I assume I need to create a .DLL and add as a link. Any guidance on this would be appreciated.

  • ( / ).
  • backgroundworker customcontrol?

.

+3
1

UserControl.

MSDN , . . Visual Basic.

, :

  • . ( ).
  • BackgroundWorker ( ) UserControl.

- , ( DLL) , . UserControl .

+3

Source: https://habr.com/ru/post/1737244/


All Articles