AalborgHTX

Bank program

Jun 1st, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.01 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10.  
  11. namespace WindowsFormsApplication158
  12. {
  13.     public partial class Form1 : Form
  14.     {
  15.         public Form1()
  16.         {
  17.             InitializeComponent();
  18.         }
  19.  
  20.         private void button1_Click(object sender, EventArgs e)
  21.         {
  22.             Bankkunde RefTilBankkunde = new Bankkunde(1212121212,5,1000);
  23.  
  24.            
  25.         }
  26.     }
  27. }
  28.  
  29.  
  30. using System;
  31. using System.Collections.Generic;
  32. using System.Linq;
  33. using System.Text;
  34. using System.Threading.Tasks;
  35.  
  36. namespace WindowsFormsApplication158
  37. {
  38.     class Bankkunde
  39.     {
  40.         int cpr;
  41.         int rente;
  42.         int saldo;
  43.  
  44.         public Bankkunde(int tempcpr, int temprente, int tempsaldo)
  45.         {
  46.             cpr = tempcpr;
  47.             rente = temprente;
  48.             saldo = tempsaldo;
  49.         }
  50.     }
  51. }
Add Comment
Please, Sign In to add comment