Пример #1
0
 private void InitializeTextBoxManager()
 {
     _manager = new TextBoxManager(
         textBoxX36, textBoxX25, textBoxX1, textBoxX9,
         textBoxX37, textBoxX26, textBoxX2, textBoxX10,
         textBoxX27, textBoxX3, textBoxX11,
         textBoxX28, textBoxX4, textBoxX12,
         textBoxX29, textBoxX5, textBoxX13,
         textBoxX30, textBoxX6, textBoxX14,
         textBoxX31, textBoxX7, textBoxX15,
         textBoxX32, textBoxX8, textBoxX16
         );
     _manager.AddEffortTextBoxMapping(textBoxX1, textBoxX17);
     _manager.AddEffortTextBoxMapping(textBoxX2, textBoxX18);
     _manager.AddEffortTextBoxMapping(textBoxX3, textBoxX19);
     _manager.AddEffortTextBoxMapping(textBoxX4, textBoxX20);
     _manager.AddEffortTextBoxMapping(textBoxX5, textBoxX21);
     _manager.AddEffortTextBoxMapping(textBoxX6, textBoxX22);
     _manager.AddEffortTextBoxMapping(textBoxX7, textBoxX23);
     _manager.AddEffortTextBoxMapping(textBoxX8, textBoxX24);
 }
 private void InitializeTextBoxManager()
 {
     _manager = new TextBoxManager(
         textBoxPC1, textBoxScore1, textBoxText1, // 2018.09.22 [ischoolKingdom] Vicky依據 [J成績][HC][03] 快速新增學期成績修正,將語文領域的子領域兩個項目欄位拿掉,僅保留輸入語文領域成績的單一功能。
         textBoxPC2, textBoxScore2, textBoxText2,
         textBoxPC3, textBoxScore3, textBoxText3,
         textBoxPC4, textBoxScore4, textBoxText4,
         textBoxPC5, textBoxScore5, textBoxText5,
         textBoxPC6, textBoxScore6, textBoxText6,
         textBoxPC7, textBoxScore7, textBoxText7,
         textBoxPC8, textBoxScore8, textBoxText8
         );
     _manager.AddEffortTextBoxMapping(textBoxScore1, textBoxEffort1); // 2018.09.22 [ischoolKingdom] Vicky依據 [J成績][HC][03] 快速新增學期成績修正,將語文領域的子領域兩個項目欄位拿掉,僅保留輸入語文領域成績的單一功能。
     _manager.AddEffortTextBoxMapping(textBoxScore2, textBoxEffort2);
     _manager.AddEffortTextBoxMapping(textBoxScore3, textBoxEffort3);
     _manager.AddEffortTextBoxMapping(textBoxScore4, textBoxEffort4);
     _manager.AddEffortTextBoxMapping(textBoxScore5, textBoxEffort5);
     _manager.AddEffortTextBoxMapping(textBoxScore6, textBoxEffort6);
     _manager.AddEffortTextBoxMapping(textBoxScore7, textBoxEffort7);
     _manager.AddEffortTextBoxMapping(textBoxScore8, textBoxEffort8);
 }