public void StopLib() { if (IsFlagSet(cCallStarted)) { SetFlag(cApplicationClosing); Vidyo32.VidyoClientSendEvent(Vidyo32.VidyoClientInEvent.VIDYO_CLIENT_IN_EVENT_LEAVE, (IntPtr)0, 0); return; } if (IsFlagSet(cVcStarted)) { ClearFlag(cVcStarted); Vidyo32.VidyoClientStop(); } Vidyo32.VidyoClientUninitialize(); Application.Exit(); }
private void buttonStop_Click(object sender, EventArgs e) { ClearFlag(cVcStarted); Vidyo32.VidyoClientStop(); }