Example #1
0
        protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
        {
            switch (keyData)
            {
            case Keys.F5:
                toolStripStatusLabel1.Text = env.msgEvi();
                break;


            case Keys.Escape:

                DialogResult resultado;
                resultado = MessageBox.Show("Não tem mais Solicitações a fazer?", "Atenção", MessageBoxButtons.YesNo);

                if (resultado == DialogResult.No)
                {
                    this.Close();
                }
                break;

            case Keys.Control | Keys.S:


                Solicit.Show();

                break;
            }
            return(base.ProcessCmdKey(ref msg, keyData));
        }
Example #2
0
        /// <summary>
        /// Solicit
        /// </summary>
        /// <returns></returns>
        public string Solicit(string flow, string request, ByIndexOrNameDictionary <string> arguments,
                              IList <string> notificationURIs)
        {
            Solicit            solicit    = NewSolicitObject(flow, request, arguments, notificationURIs);
            StatusResponseType statusResp = _requestor.Solicit(solicit);

            return(statusResp.transactionId.ToString());
        }
Example #3
0
        private Solicit NewSolicitObject(string flow, string request,
                                         ByIndexOrNameDictionary <string> arguments,
                                         IList <string> notificationURIs)
        {
            Solicit solicit = new Solicit();

            solicit.securityToken   = Authenticate();
            solicit.dataflow        = flow;
            solicit.request         = request;
            solicit.parameters      = ParameterTypeArrayFromArguments(arguments);
            solicit.notificationURI = CreateNotificationURIList(notificationURIs);
            return(solicit);
        }
Example #4
0
 private void emitirToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Solicit.Show();
 }