Exemple #1
0
        private void btnSendLog_Click(object sender, EventArgs e)
        {
            if (SelectedFormType == Device_EndPoint.Device)
            {
                lntInputs.Items.Add("Send Log : *" + txtLog.Text + "*");
                APIs.SubmitDeviceLog(SelectedApiDevice.KeyPass, txtLog.Text, DateTime.Now);
                lntInputs.TopItem = lntInputs.Items[lntInputs.Items.Count - 1];
            }

            if (SelectedFormType == Device_EndPoint.EndPoint)
            {
                lntInputs.Items.Add("Send Log : *" + txtLog.Text + "*");
                APIs.SubmitEndPointLog(SelectedAPIEndPoint.KeyPass, txtLog.Text);
                lntInputs.TopItem = lntInputs.Items[lntInputs.Items.Count - 1];
            }
        }
Exemple #2
0
        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            APIs a = new APIs();

            a.GetDevicesList();
        }
Exemple #3
0
 private void toolStripButton1_Click(object sender, EventArgs e)
 {
     APIs a = new APIs();
     a.GetDevicesList();
 }
Exemple #4
0
 private async void btnConnect_Click(object sender, EventArgs e)
 {
     await APIs.Connect(txtURL.Text, txtKey.Text);
 }