コード例 #1
0
        private void timerEvent(object sender, EventArgs e)
        {
            timer.Stop();
            switch (m_LatestRequst)
            {
            case CuiHelperRequest.DragAndDrop:
                m_app.DragAndDrop(m_files, m_inputTextBox.Text);
                break;

            case CuiHelperRequest.TextBox:
                m_app.TextBoxEvent(m_text);
                m_inputTextBox.Text = "";
                break;

            case CuiHelperRequest.Button:
                m_app.ComboBoxEvent(m_Command, m_inputTextBox.Text);
                break;

            default:
                DebugPrint.output("EVENT", "timer: undefined request!");
                break;
            }
        }