private void comboBox2_SelectedIndexChanged(object sender, EventArgs e) { if (comboBox2.SelectedIndex != 0) { tbl.SetGrid(true); } else { tbl.SetGrid(false); } }
/**************** Bucky Grid methods **************/ public void TBLSetGrid(string gridType) { if (isPowerOn) { if (gridType == "Near") { tbl.SetGrid(true); } else { tbl.SetGrid(false); } } }