private async void but_start_Click(object sender, EventArgs e) { if (DowdingPlugin.IsAlive) { DowdingPlugin.Stop(); } else { await DowdingPlugin.Start(); } Activate(); }
private void but_start_Click(object sender, EventArgs e) { DowdingPlugin.Start(); }