private void BtnShowSystemInfo_Click(object sender, EventArgs e) { //Helper //DatabaseTest newForm = new DatabaseTest(); //newForm.Show(); PcInfoForm infoForm = new PcInfoForm(LocalIPsCombo.Text, true); infoForm.ShowDialog(); }
private async void SowSelectedSystemButton_Click(object sender, EventArgs e) { await Task.Run(() => { //Get Selected System Ip if (nodesDataGrid.SelectedRows.Count <= 0) { return; } string ipAddress = nodesDataGrid.SelectedRows[0].Cells[0].Value.ToString(); PcInfoForm infoForm = new PcInfoForm(ipAddress, false); infoForm.ShowDialog(); }); }
private void ShowSystemInfoMenuItem_Click(object sender, EventArgs e) { PcInfoForm infoForm = new PcInfoForm(LocalIPsCombo.Text, true); infoForm.ShowDialog(); }
private void ShowThisSystemButton_Click(object sender, EventArgs e) { PcInfoForm infoForm = new PcInfoForm(ipLabel.Text, true); infoForm.ShowDialog(); }