예제 #1
0
        /// <summary>
        /// 오류내역 보기 클릭
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOpenErrorManage_Click(object sender, EventArgs e)
        {
            frmErrorManage frmL = null;

            // 그리드에서 선택된 행의 티켓ID를 가져와서 frmErrorManage 창을 연다
            if (dataGridView1.CurrentCellAddress.Y >= 0)
            {
                string str = dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells["Ticket ID"].Value.ToString();
                frmL = new frmErrorManage(this.dateTimeFrom.Value, this.dateTimeTo.Value, this.comboAPIKEY.Text, str);
            }
            else
            {
                frmL = new frmErrorManage(this.dateTimeFrom.Value, this.dateTimeTo.Value, this.comboAPIKEY.Text, this.txtRequestId.Text);
            }

            frmL.MdiParent = this.MdiParent;
            frmL.Show();
        }
예제 #2
0
        /// <summary>
        /// 오류내역 보기 클릭
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnOpenErrorManage_Click(object sender, EventArgs e)
        {
            frmErrorManage frmL = null;

            // 그리드에서 선택된 행의 티켓ID를 가져와서 frmErrorManage 창을 연다
            if (dataGridView1.CurrentCellAddress.Y >= 0)
            {
                string str = dataGridView1.Rows[dataGridView1.CurrentCellAddress.Y].Cells["Ticket ID"].Value.ToString();
                frmL = new frmErrorManage(this.dateTimeFrom.Value, this.dateTimeTo.Value, this.comboAPIKEY.Text, str);

            }
            else
            {
                frmL = new frmErrorManage(this.dateTimeFrom.Value, this.dateTimeTo.Value, this.comboAPIKEY.Text, this.txtRequestId.Text);
            }

            frmL.MdiParent = this.MdiParent;
            frmL.Show();
        }
예제 #3
0
 /// <summary>
 /// 오류로그 관리 창 열기
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void errorlogToolStripMenuItem_Click(object sender, EventArgs e)
 {
     frmErrorManage frmL = new frmErrorManage();
     frmL.MdiParent = this;
     frmL.Show();
 }