public LidToevoegenScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     SetOudercontactVisable(false);
     _counterOudercontact = false;
 }
 public LidToevoegenScherm(KassaApp app, Lid lid)
 {
     InitializeComponent();
     App      = app;
     this.lid = lid;
     FillForm();
 }
示例#3
0
 public InlogScherm(Kassa kassa, KassaApp app, MessageType type)
 {
     InitializeComponent();
     this.type = type;
     App       = app;
     Kassa     = kassa;
 }
示例#4
0
 public LedenScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     UpdateLedenlijst();
     SetButtonsForBestuur(App.GetIsGemachtigd());
 }
示例#5
0
 public VoorraadScherm(KassaApp app)
 {
     InitializeComponent();
     App   = app;
     Width = 719;
     SetAble(App.GetIsGemachtigd());
     RefreshGegevens();
 }
示例#6
0
 public AfrekenScherm(KassaApp app, Bestelling bestelling)
 {
     InitializeComponent();
     Betaald    = bestelling.Betaald;
     _app       = app;
     Bestelling = bestelling;
     CheckBestuur();
     CheckGegevens();
     player = new SoundPlayer(@"Afrekenen.wav");
 }
示例#7
0
 public InlogScherm()
 {
     try
     {
         InitializeComponent();
         App = new KassaApp(SetKassaName());
         ShowDbConnection();
     }
     catch (Exception exception)
     {
         MessageBox.Show(@"Een error is opgetreden!" + Environment.NewLine + Environment.NewLine + exception.Message);
     }
 }
示例#8
0
 public GebruikerScherm(KassaApp app)
 {
     try
     {
         InitializeComponent();
         App = app;
         UpdateGegevens();
     }
     catch (Exception exception)
     {
         MessageBox.Show(@"Een error is opgetreden!" + Environment.NewLine + Environment.NewLine + exception.Message);
     }
 }
 public BestelgeschiedenisScherm(KassaApp app)
 {
     try
     {
         InitializeComponent();
         App = app;
         UpdateAfgerekendeBestellingen();
     }
     catch (Exception exception)
     {
         MessageBox.Show(@"Een error is opgetreden!" + Environment.NewLine + Environment.NewLine +
                         exception.Message);
     }
 }
示例#10
0
 public ProductenScherm(KassaApp app, Bestelling bestelling)
 {
     InitializeComponent();
     App = app;
     if (App.GetIsGemachtigd())
     {
         if (bestelling == null)
         {
             btRemove.Enabled = true;
         }
         else
         {
             btRemove.Enabled = false;
         }
     }
     UpdateProducten(bestelling);
 }
示例#11
0
 public KasInUitScherm(KassaApp app)
 {
     try
     {
         InitializeComponent();
         App = app;
         FillCombobox();
         Formulieren = new List <Formulier>();
         SetFormulierVisable(false);
         LaadFormulierenSoortInCb();
         LaadFormulierSoort(FormulierSoort.Geenformulier);
         GetFormulieren();
     }
     catch (Exception exception)
     {
         throw new Exception(exception.Message);
     }
 }
示例#12
0
 public Kassa()
 {
     try
     {
         InitializeComponent();
         App = new KassaApp("Barkassa");
         _contanteVerkoop    = false;
         _contanteVerkoopLid = false;
         timer.Start();
         CheckDay();
         if (App.CheckDbConnection())
         {
             aanmeldenToolStripMenuItem.Visible        = true;
             afmeldenToolStripMenuItem1.Visible        = false;
             gegevensWijzigenToolStripMenuItem.Visible = false;
             UpdateKassaGegevens();
             UpdateBestellingen();
         }
         else
         {
             lbKassaNaam.Text             = App.Lokatie;
             lbDagDatum.Text              = DateTime.Now.ToShortDateString();
             lbOpenstaandeRekeningen.Text = @"0";
             lbLoginnaam.Text             = @"Admin";
             lbKlantnaam.Text             = "";
             lbDatumklant.Text            = "";
             lbTotaalPrijs.Text           = "";
             lbLedenprijs.Text            = "";
             tbKlantnaam.Text             = "";
             cbLidNaam.Enabled            = false;
             lbConnectie.Text             = @"mislukt";
             lbConnectie.ForeColor        = Color.Red;
         }
     }
     catch (Exception exception)
     {
         MessageBox.Show(@"Een error is opgetreden!" + Environment.NewLine + Environment.NewLine +
                         exception.Message);
     }
 }
 public VoorraadControleScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     InitialLoad();
 }
 public PenningmeesterScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     UpdateScreenOnFirstLoad();
 }
 public NieuweGebruikerScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     UpdateGegevens();
 }
示例#16
0
 public UpdatesScreen(KassaApp app)
 {
     InitializeComponent();
     App = app;
     InitialUpdate("Updates.txt");
 }
示例#17
0
 public LedenLogScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     OpenOnFirstLoad();
 }
示例#18
0
 public BtsScherm(KassaApp app)
 {
     InitializeComponent();
     App     = app;
     _orders = new List <Bestelling>();
 }
示例#19
0
 public LeveringScherm(KassaApp app)
 {
     InitializeComponent();
     App = app;
     LoadVoorraad();
 }