public FormPackagingBouqet(IPackagingLogic logic, ExceptionHandling exceptionHandling)
        {
            InitializeComponent();
            this.exceptionHandling = exceptionHandling;

            List <PackagingViewModel> list = logic.Read(null);

            if (list != null)
            {
                comboBoxComponent.DisplayMember = "PackagingName";
                comboBoxComponent.ValueMember   = "Id";
                comboBoxComponent.DataSource    = list;
                comboBoxComponent.SelectedItem  = null;
            }
        }
예제 #2
0
 public FormPackagings(IPackagingLogic logic)
 {
     InitializeComponent();
     this.logic = logic;
 }
예제 #3
0
 public PackingController(IPackagingLogic _logic)
 {
     logic = _logic;
 }
예제 #4
0
 public FormPackaging(IPackagingLogic logic, ExceptionHandling exceptionHandling)
 {
     InitializeComponent();
     this.logic             = logic;
     this.exceptionHandling = exceptionHandling;
 }