private void PrintHeadOrderTypeForm_Load(object sender, EventArgs e) { PrintHeadOrder headOrder = new PrintHeadOrder(); if (EpsonLCD.GetPrintHeadOrder(ref headOrder)) { for (int i = 0; i < headBoardPorts.Count; i++) { headBoardPorts[i].OnSettingChanged(headOrder.Order, i); } } }