Ejemplo n.º 1
0
 public void UpdateSettings(FanSettings fs)
 {
     if (fc != null)
     {
         fc.UpdateSettings(fs);
     }
 }
Ejemplo n.º 2
0
        void dataGridView2_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            if (e.RowIndex >= 0 && e.ColumnIndex == 7)
            {
                var fs = dataGridView2.Rows[e.RowIndex].DataBoundItem as FanSettings;
                fancontroller.UpdateSettings(fs);

                updatefansettings = true;
            }
        }