Пример #1
0
 public AddNewUnit(WinFormsFrontEnd pWinFormsFrontEnd, UnitConverterProgram pUnitConverterProgram)
 {
     InitializeComponent();
     winFormFrontEnd      = pWinFormsFrontEnd;
     unitConverterProgram = pUnitConverterProgram;
     UpdateComboBox();
     QuantityPicker.SelectedIndex = 0;
 }
Пример #2
0
 public DeleteCustomUnit(WinFormsFrontEnd pWinFormsFrontEnd, UnitConverterProgram pUnitConverterProgram)
 {
     InitializeComponent();
     winFormsFrontEnd     = pWinFormsFrontEnd;
     unitConverterProgram = pUnitConverterProgram;
     UpdateListBox();
     QuantityPicker.SelectedIndex = 0;
 }