Ejemplo n.º 1
0
 private void dataGridView1_DoubleClick(object sender, EventArgs e)
 {
     if (dataGridView1.SelectedRows.Count > 0)
     {
         T station = Stations.First((s) => s.ID == (ushort)dataGridView1.SelectedRows[0].Cells["ID"].Value);
         frm_Devices <Device> frm = new frm_Devices <Device>(station.Devices, DBHelper);
         frm.AddToPanel((Panel)this.Parent, true);
     }
 }
Ejemplo n.º 2
0
        private void ShowStationDevices(Station station)
        {
            frm_Devices <Device> frm = new frm_Devices <Device>(station.Devices, dbHelper);

            frm.AddToPanel(mainPanel, true);
        }
Ejemplo n.º 3
0
        private void LoadStationDevicesCommunicationStatusForm()
        {
            frm_Devices frm_devices = new frm_Devices();

            frm_devices.AddToPanel(mainPanel, true);
        }