Commit 9a6e16d
Replace problematic DoEvents example with console-based RaiseEvent demonstration (#48538)
* Initial plan
* Replace problematic DoEvents example with console-based timer example
Co-authored-by: BillWagner <[email protected]>
* Fix VB.NET syntax errors in RaiseEvent example - remove C# string interpolation, move to standalone classes, use proper VB syntax
Co-authored-by: BillWagner <[email protected]>
* Update docs/visual-basic/language-reference/statements/raiseevent-statement.md
* Add link to RaiseEvent statement in example description
Co-authored-by: BillWagner <[email protected]>
* Apply suggestions from code review
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: BillWagner <[email protected]>
Co-authored-by: Bill Wagner <[email protected]>1 parent ab60dac commit 9a6e16d
File tree
2 files changed
+34
-51
lines changed- docs/visual-basic/language-reference/statements
- samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbVbalrEvents/VB
2 files changed
+34
-51
lines changedLines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
| 59 | + | |
64 | 60 | | |
65 | 61 | | |
66 | 62 | | |
67 | 63 | | |
68 | 64 | | |
69 | | - | |
| 65 | + | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 69 | + | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
| |||
Lines changed: 30 additions & 40 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
167 | 163 | | |
168 | 164 | | |
169 | 165 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
176 | 169 | | |
177 | 170 | | |
178 | | - | |
179 | | - | |
| 171 | + | |
| 172 | + | |
180 | 173 | | |
181 | 174 | | |
182 | | - | |
183 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
184 | 179 | | |
185 | | - | |
186 | | - | |
187 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
188 | 192 | | |
| 193 | + | |
| 194 | + | |
189 | 195 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
210 | 200 | | |
211 | 201 | | |
212 | 202 | | |
| |||
0 commit comments