Exemple #1
0
 /// <summary>
 /// 加载成功处理器
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void QLCallView_Load(object sender, EventArgs e)
 {
     qlConfig    = QLConfigManager.GetInstance();
     callManager = QLCallManager.GetInstance();
     callManager.CurrentCallChanged += () =>
     {
         SetCurrentCall(callManager.CurrentCall);
     };
 }
Exemple #2
0
 public static QLCallManager GetInstance()
 {
     if (instance == null)
     {
         lock (lockObj)
         {
             if (instance == null)
             {
                 instance = new QLCallManager();
             }
         }
     }
     return(instance);
 }