// 매 1초마다 Tick 이벤트 핸들러 실행 void timer_Tick(object sender, EventArgs e) { /**/ ProgressAutoBar.Value = count; if (ProgressAutoBar.Maximum == count) { ProgressAutoBar.Value = 0; load2(0, callcenter_idx); count = 0; } ++count; } private void onStop(object sender, EventArgs e) { } private void dc_under(object sender, DataGridViewCellEventArgs e) { string order_no = dataGridView2.Rows[e.RowIndex].Cells[1].FormattedValue.ToString(); string c1_tel1 = dataGridView2.Rows[e.RowIndex].Cells[3].FormattedValue.ToString(); if (id == null) { id = "admin"; } /*Int32 sel = dataGridView2.Rows.Count;//. DisplayedRowCount; * * for (int i=0; i<sel;++i) * { * dataGridView2.Rows[i].DefaultCellStyle.BackColor = Color.White; * } * dataGridView2.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.FromArgb(169, 208, 245); */ string type = ""; if (order_no != null && !order_no.Equals("") && !order_no.Equals("0")) { type = "old"; } else { type = "new"; } c1_tel1 = c1_tel1.Replace("-", ""); //MessageBox.Show(c1_tel1+" order="+order_no); form = new FormReceipt(param1, param2, this, c1_tel1, id, "", "", order_no, type, callcenter_idx); form.Show(); }
/// <summary> /// ////////////////////////////////////////////////////////////////////////////////////////// /// </summary> /// <param name="sender"></param> /// <param name="e"></param> //클릭 private void button1_Click(object sender, EventArgs e) { form = new FormReceipt(param1, param2, this, "", id, "7005", "7005", "", "new", callcenter_idx); form.Show(); }