public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; this.kundenDetailsControl.Init(wwvBLComp); this.kundenSuchenControl.Init(wwvBLComp); this.jahresDatenInfoControl.Init(wwvBLComp); this.updateListBoxKunden(); }
public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; this.Enabled = true; this.Visible = true; this.Clear(); }
public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; this.zaehlerStaendDetailsControl.Init(this.wwvBLComp); this.updateListBoxKunden(); this.zaehlerStaendDetailsControl.Clear(); this.zaehlerStaendDetailsControl.Enabled = false; this.listBoxSuchen.Items.Clear(); this.textBoxSuchen.Text = ""; }
internal void Init(IWWVBL wwvBLComp, JahresDatenData currentJahresData, KundenData currentKunde) { this.wwvBLComp = wwvBLComp; this.currentKunde = currentKunde; this.currentJahresData = currentJahresData; this.fillDataFromCurrentJahresData(); if (this.currentJahresData.Id == 0) { this.changed = true; this.textBoxNichtGespeichert.Visible = this.changed; } this.buttonDruckJahresrechnung.Enabled = !this.changed; }
public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; this.listBoxJahre.Items.Clear(); foreach (PreisData preis in StaticUtilities.SortByJahr(wwvBLComp.GetAllPreise(), false)) { listBoxJahre.Items.Add(preis); } if (listBoxJahre.Items.Count > 0) { listBoxJahre.SelectedIndex = 0; } }
public MainForm() { InitializeComponent(); this.stammdatenControl = new StammdatenControl(); this.zaehlerStaendeControl = new ZaehlerStaendeControl(); this.druckenControl = new DruckenControl(); wwvBLComp = WWVBLFactory.GetBussinessLogicObject(); try { this.stammdatenControl.Init(this.wwvBLComp); this.zaehlerStaendeControl.Init(this.wwvBLComp); this.druckenControl.Init(this.wwvBLComp); } catch (Exception) { doImport(); Application.Exit(); } this.Text = "Wasser Werk Verwaltung Version " + this.GetType().Assembly.GetName().Version.ToString(); }
public void Init(IWWVBL wwvBLComp) { this.textBoxNamenSuchen.Clear(); this.listBoxKundenSuchenErgebnisse.Items.Clear(); this.wwvBLComp = wwvBLComp; }
public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; }
public void Init(IWWVBL wwvBLComp) { this.wwvBLComp = wwvBLComp; this.textBoxJahr.Text = ""; this.button_QuickJahrHinzufuegen.Text = "Jahr " + DateTime.Now.Year + " (beim Kunden) hinzufügen"; }