Example #1
0
 public static UAC Instance()
 {
     if (_instance == null)
     {
         _instance = new UAC();
     }
     return(_instance);
 }
Example #2
0
        static void Main()
        {
            UAC.Instance();

            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new FormMain());
        }
Example #3
0
        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));
            }
        }
Example #4
0
 public static UAC Instance()
 {
     if (_instance == null)
         _instance = new UAC();
     return _instance;
 }
Example #5
0
 private void timer1_Tick(object sender, EventArgs e)
 {
     UAC.Instance().ListConferences(list_conferences_result);
 }