public void SetViewMode(bool epgMode) { if (epgMode == true) { comboBox_tuijyu.IsEnabled = true; comboBox_pittari.IsEnabled = true; } else { comboBox_tuijyu.IsEnabled = false; comboBox_pittari.IsEnabled = false; } }