isotonicq

Untitled

Aug 1st, 2016
98
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using System.Windows.Forms;
  6.  
  7. namespace WindowsFormsApplication1
  8. {
  9.  
  10. class Klient
  11. {
  12. private String[] dane = new String[7];
  13.  
  14. public Klient()
  15. {
  16. for(int x=0;x<6;x++)
  17. {
  18. dane[x] = "brak";
  19. }
  20. }
  21.  
  22. public void wpisz_dane(string i, string n, string m,string u,string nd,string nm,string z)
  23. {
  24. dane[0] = i;
  25. dane[1] = n;
  26. dane[2] = m;
  27. dane[3] = u;
  28. dane[4] = nd;
  29. dane[5] = nm;
  30. dane[6] = z;
  31. }
  32. }
  33.  
  34. static class Program
  35. {
  36. /// <summary>
  37. /// The main entry point for the application.
  38. /// </summary>
  39. [STAThread]
  40. static void Main()
  41. {
  42. Application.EnableVisualStyles();
  43. Application.SetCompatibleTextRenderingDefault(false);
  44. Application.Run(new Form1());
  45. }
  46. }
  47. }
  48.  
  49. using System;
  50. using System.Collections.Generic;
  51. using System.ComponentModel;
  52. using System.Data;
  53. using System.Drawing;
  54. using System.Linq;
  55. using System.Text;
  56. using System.Threading.Tasks;
  57. using System.Windows.Forms;
  58.  
  59. namespace WindowsFormsApplication1
  60. {
  61. public partial class Form1 : Form
  62. {
  63. public Form1()
  64. {
  65. InitializeComponent();
  66. }
  67.  
  68.  
  69. }
  70. }
RAW Paste Data