Exemplo n.º 1
0
 private void f999_main_form_Load(object sender, EventArgs e)
 {
     try
     {
         m_timer_imcoming_call.Enabled = false;
         if (us_user.dcIDNhom == 1)
         {
             m_timer_imcoming_call.Enabled = true;
             f258_nhap_ma_ipphone v_nhap_ma_ipphone = new f258_nhap_ma_ipphone();
             v_nhap_ma_ipphone.ShowDialog();
         }
     }
     catch (Exception v_e)
     {
         CSystemLog_100.ExceptionHandle(v_e);
     }
 }
Exemplo n.º 2
0
 private void m_btn_ipphone_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         us_user.dcIDNhom = 1;
         m_timer_imcoming_call.Enabled = false;
         if (us_user.dcIDNhom == 1)
         {
             CloseFormBO();
             CloseFormTM();
             m_timer_imcoming_call.Enabled = true;
             f258_nhap_ma_ipphone v_nhap_ma_ipphone = new f258_nhap_ma_ipphone();
             v_nhap_ma_ipphone.ShowDialog();
         }
     }
     catch (Exception v_e)
     {
         CSystemLog_100.ExceptionHandle(v_e);
     }
 }