Пример #1
0
 public UserListDiag(LoginForm lf)
 {
     InitializeComponent();
     lbUsers.Items.Add("pippo\tantani\t12345678901234567890123456789012");
     lbUsers.Items.Add("pluto\tblinda\t21098765432109876543210987654321");
     this.lf = lf;
     Invalidate();
 }
Пример #2
0
 private void but_loginData_Click(object sender, EventArgs e)
 {
     LoginForm lg = new LoginForm(user,password,key,url);
     if(lg.ShowDialog()==DialogResult.OK)
         {
         user = lg.user;
         password = lg.passwd;
         key = lg.key;
         url = lg.url;
         }
 }