Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
- namespace ZivkovicDj27022020
- {
- public partial class Druga : Form
- {
- public Druga()
- {
- InitializeComponent();
- }
- private void button1_Click(object sender, EventArgs e)
- {
- string input = textBox1.Text;
- string[] words = input.Split(' ');
- string ime = words[0];
- string prezime = words[1];
- listBox1.Items.Add(ime);
- listBox2.Items.Add(prezime);
- }
- private void listBox1_SelectedIndexChanged(object sender, EventArgs e)
- {
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement