public Form1() { InitializeComponent(); _chor = new chorblimey(); SetUpMenus(); cmdLED0.Click +=new EventHandler(LEDAction_Click); cmdLED1.Click +=new EventHandler(LEDAction_Click); cmdLED2.Click +=new EventHandler(LEDAction_Click); cmdLED3.Click +=new EventHandler(LEDAction_Click); cmdLED4.Click +=new EventHandler(LEDAction_Click); cmdLEDAll.Click += new EventHandler(LEDAction_Click); ChorList.SmallImageList = ImgListSmall; _tempo = (Byte)nudTempo.Value; _dur = (Byte)nudDuration.Value; CreateMIDIIcon(); CreateEarIcon(); }
private void ClearAllData() { ImgListSmall.Images.Clear(); ChorList.Items.Clear(); _chor = null; _chor = new chorblimey(); }