public static UAC Instance() { if (_instance == null) { _instance = new UAC(); } return(_instance); }
static void Main() { UAC.Instance(); Application.EnableVisualStyles(); Application.SetCompatibleTextRenderingDefault(false); Application.Run(new FormMain()); }
void list_conferences_result(List <int> cids) { CurrentCids = cids; Invoke(new GuiDelegateAfterListConferences(afterListConference)); // 针对每个 cids 发出 info ... foreach (int cid in cids) { UAC.Instance().InfoConference(cid, new UAC.delegate_info_conference_result(info_conference_result)); } }
public static UAC Instance() { if (_instance == null) _instance = new UAC(); return _instance; }
private void timer1_Tick(object sender, EventArgs e) { UAC.Instance().ListConferences(list_conferences_result); }