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)); }
/// <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()); }
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); }
private void emitirToolStripMenuItem_Click(object sender, EventArgs e) { Solicit.Show(); }