:
. , .
, "". :
|
"", (ListBox1). . , (ListBox1_SelectedIndexChanged). "" (Button1): Button1.Enabled = True (. 22.11).
|
|
. 22.11.
"". "". "Button1_Click", . , . 22.12.
. 22.12.
:
- Dim Col As System.Windows.Forms.DataGridViewColumn Col ;
- Select CaseEnd Select, Col (ListBox1.SelectedIndex). , Col DataGridViewTextBoxColumn2, , - DataGridViewTextBoxColumn3 . , , . "" DataGridViewTextBoxColumn2, DataGridViewTextBoxColumn1 ;
- IfEnd If : " " (RadioButton1), Col (DataGridView.Sort (Col, System.ComponentModel.ListSortDirection. Ascending)), (DataGridView.Sort (Col, System. ComponentModel.ListSortDirection. Descending)).
"" (Button2). "" "Button2_Click" : BindingSource.Filter = "='" & ComboBox1.Text & "'" (. 22.13).
|
|
. 22.13.
: BindingSource Filter (. 22.13), . : "< ><>'<>'". "" , (ComboBox1.Text) (. 22.13).
" ", . . Button3_Click. BindingSource.Filter = "" (. 22.14).
. 22.14.
, "Filter" (""), (. 22.14).
. "". "Button4_Click" (. 22.15).
. 22.15.
. :
- For i=0..Next i. . , ;
- For i=0..Next i. , (TextBox1), , .
"". "Button5_Click" "Me.Close()", (. 22.16).
. 22.16.
, "", . "" (Form4) , . 22.17. . 22.17. ( Text), "". (. 22.18): . 22.18. "" (Form6). "" "Button8_Click" "Form6.Show" (. 22.19). . 22.19. . " """. , "" "". (. 22.20). . 22.20. , , , . . , (Solution Explorer) (. 22.21): . 22.21. . |
|
|