Esempio n. 1
0
 private void txt_SA_SABUN_KeyPress(object sender, KeyPressEventArgs e)
 {
     if (e.KeyChar == (char)Keys.Enter)
     {
         popup = new InputPopup_Worker(txt_PLANT_CODE.Text, txt_WC_CODE.Text, txt_SHIFT_CODE.Text, txt_SA_SABUN.Text);
         popup.FormSendEvent += new InputPopup_Worker.FormSendDataHandler(DieaseUpdateEventMethod);
         popup.ShowDialog();
     }
 }
Esempio n. 2
0
        private void grd_Data_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
        {
            int i_RowIndex = grd_Result.CurrentRow.Index;

            List <string> list = new List <string>();

            foreach (DataGridViewCell item in grd_Result.Rows[i_RowIndex].Cells)
            {
                list.Add(item.Value.ToString());
            }

            popup = new InputPopup_Worker(list);
            popup.FormSendEvent += new InputPopup_Worker.FormSendDataHandler(DieaseUpdateEventMethod);
            popup.ShowDialog();

            /*txt_ID.Text = grd_Result.Rows[rowIndex].Cells[0].Value.ToString();
             * txt_Name.Text = grd_Result.Rows[rowIndex].Cells[1].Value.ToString();
             * txt_Path.Text = grd_Result.Rows[rowIndex].Cells[2].Value.ToString();
             * txt_Version.Text = grd_Result.Rows[rowIndex].Cells[3].Value.ToString();
             * txt_Class.Text = grd_Result.Rows[rowIndex].Cells[4].Value.ToString();*/
        }
Esempio n. 3
0
 private void metroTile1_Click(object sender, EventArgs e)
 {
     popup = new InputPopup_Worker();
     popup.FormSendEvent += new InputPopup_Worker.FormSendDataHandler(DieaseUpdateEventMethod);
     popup.ShowDialog();
 }