private void DoRowDoubleClick(GridView view, Point pt) { GridHitInfo info = view.CalcHitInfo(pt); if (info.InRow || info.InRowCell) { DataRow v_dr = m_grv_ds_don_hang_dang_xu_ly.GetDataRow(m_grv_ds_don_hang_dang_xu_ly.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForUpdate2(v_us); this.Show(); } }
private void m_cmd_them_moi_don_hang_Click(object sender, EventArgs e) { try { f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForInsert(); } catch (Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }
private void m_cmd_chinh_sua_don_hang_Click(object sender, EventArgs e) { try { DataRow v_dr = m_grv_ds_don_dat_hang.GetDataRow(m_grv_ds_don_dat_hang.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForUpdate(v_us, v_deadline); load_data_2_grid(); } catch (Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }
private void m_cmd_cap_nhat_TD_Click(object sender, EventArgs e) { decimal v_deadline = 0; DataRow v_dr = m_grv_gd_dat_hang_gd_log_dat_hang.GetDataRow(m_grv_gd_dat_hang_gd_log_dat_hang.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID_DON_HANG"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForUpdate(v_us, v_deadline); load_data_2_grid(); }
private void m_cmd_admin_tiep_nhan_xu_ly_Click(object sender, EventArgs e) { try { fill_data_to_m_us(); DataRow v_dr = m_grv_gd_dat_hang_gd_log_dat_hang.GetDataRow(m_grv_gd_dat_hang_gd_log_dat_hang.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID_DON_HANG"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForUpdate(v_us, 1); update_log_admin_tiep_nhan(); ghi_log_admin_da_nhan_xu_ly(); load_data_2_grid(); MessageBox.Show("Đã tiếp nhận đơn hàng!"); } catch (Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }
private void v_cmd_dieu_phoi_BO_Click(object sender, EventArgs e) { try { DataRow v_dr = m_grv_FO_danh_sach_don_hang.GetDataRow(m_grv_FO_danh_sach_don_hang.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForUpdate(v_us); } catch (Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }
private void check_incoming_call() { try { string m_str_stationId = us_user.ipphone; //ip-phone string v_str_link_services = ""; v_str_link_services = "http://203.162.121.70:8080/TPCServer/tpc/DoAction.jsp?event=" + WEB_URL_CALL_CENTER.GET_INCOMING_CALL(m_str_stationId); string v_str_output = CallCenterUtils.get_incoming_call(v_str_link_services).Data; US_GD_CUOC_GOI_YEU_CAU m_us_gd_cuoc_goi_yc = new US_GD_CUOC_GOI_YEU_CAU(); if (v_str_output == "") return; CallInfor v_obj_callinfo = HelpUtils.get_start_callinfo_from_client_string_call(v_str_output); if (v_obj_callinfo.mobile_phone == "Anonymous") return; if (m_us_gd_cuoc_goi_yc.is_call_id_exist(v_obj_callinfo.call_id)) return; if (v_obj_callinfo.call_id == "" || v_obj_callinfo.call_id == null) return; HelpUtils.ghi_log_he_thong(v_str_output,""); //// ghi log gọi điện m_timer_imcoming_call.Enabled = false; f100_don_dat_hang_new v_f = new f100_don_dat_hang_new(); v_f.display_for_ipphone(v_obj_callinfo); // HelpUtils.open_form_sinh_vien_call(v_obj_callinfo); m_timer_imcoming_call.Enabled = true; } catch (Exception v_e) { CSystemLog_100.ExceptionHandle(v_e); } }
private void barButtonItem7_ItemClick_1(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { try { f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.displayForInsert(); } catch (Exception v_e) { CSystemLog_301.ExceptionHandle(v_e); } }
private void DoRowDoubleClick(GridView view, Point pt) { GridHitInfo info = view.CalcHitInfo(pt); if (info.InRow || info.InRowCell) { decimal v_deadline = 0; DataRow v_dr = m_grv_user_don_hang.GetDataRow(m_grv_user_don_hang.FocusedRowHandle); US_GD_DAT_HANG v_us = new US_GD_DAT_HANG(CIPConvert.ToDecimal(v_dr["ID_DON_HANG"].ToString())); f100_don_dat_hang_new v_f100 = new f100_don_dat_hang_new(); v_f100.m_docmanager_don_hang.Visible = false; m_dp_don_hang.Hide(); this.Hide(); v_f100.displayForUpdate(v_us,v_deadline); this.Show(); } }