Advertisement
Guest User

Untitled

a guest
Dec 12th, 2016
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.65 KB | None | 0 0
  1.                 Form1.username = textBox2.Text;
  2.                 Hotel.Properties.Settings.Default.DBUsername = textBox2.Text;
  3.                      
  4.                 Form1.password = textBox3.Text;
  5.                 Hotel.Properties.Settings.Default.DBPassword = textBox3.Text;
  6.            
  7.                 Form1.string_polaczenia = textBox1.Text;
  8.                 Hotel.Properties.Settings.Default.DBString = textBox1.Text;
  9.              
  10.                 Hotel.Properties.Settings.Default.Save();
  11.                  Komunikat okno_komunikat = new Komunikat("Zapisano",
  12.                 this.Location.Y, this.Location.X, this.Height,  this.Width);
  13.                 okno_komunikat.Show();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement