mirror of
https://github.com/microsoft/autogen.git
synced 2025-08-24 00:22:05 +00:00

* interim stash * interim stash * interim checkpoint * broken stash * whoops * merge sln files * fix a bunch of refactoring errors * moving more to core vs samples * interim * fixup the devteam sample * fix ci * fixup soln file * trying to fix ci * trying to fix ci * adding back * still trying * recreate * next step * adding it back * trying to fix * Rename Autogen -> AutoGen (#567) * Add transparency faqs (#566) * remove Autogen * add AutoGen back --------- Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com> --------- Co-authored-by: Xiaoyun Zhang <xiaoyuz@microsoft.com> Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
20 lines
344 B
Plaintext
20 lines
344 B
Plaintext
@page "/counter"
|
|
@rendermode InteractiveServer
|
|
|
|
<PageTitle>Counter</PageTitle>
|
|
|
|
<h1>Counter</h1>
|
|
|
|
<p role="status">Current count: @currentCount</p>
|
|
|
|
<button class="btn btn-primary" @onclick="IncrementCount">Click me</button>
|
|
|
|
@code {
|
|
private int currentCount = 0;
|
|
|
|
private void IncrementCount()
|
|
{
|
|
currentCount++;
|
|
}
|
|
}
|