private Kullanici inForm_kullanici; // kullanici işlemleri için public KullaniciIslemleri(Kullanici kullanici, IslemlerSayfasi islemlerSayfasiForm) { _kullanici = kullanici; _islemlerSayfasiForm = islemlerSayfasiForm; InitializeComponent(); GetServiceInstances(); }
public HSahipIslemleri(Kullanici kullanici, IslemlerSayfasi islemlerSayfasi) { _kullanici = kullanici; _islemlerSayfasi = islemlerSayfasi; GetInstancesToRefresh(); InitializeComponent(); }
//public List<Log> logListCrossReference = new List<Log>(); public LogsForm(Kullanici kullanici, IslemlerSayfasi form) { _kullanici = kullanici; _form = form; InitializeComponent(); GetServiceInstances(); }
private void btnGiris_Click(object sender, EventArgs e) { if (_kullaniciService.GetKullanici(tbxKullaniciAdi.Text, tbxParola.Text) != null && _kullaniciService.GetKullanici(tbxKullaniciAdi.Text, tbxParola.Text).isGecerli) { IslemlerSayfasi islemForm = new IslemlerSayfasi(_kullaniciService.GetKullanici(tbxKullaniciAdi.Text, tbxParola.Text), this); islemForm.Show(); this.Hide(); } else { MessageBox.Show("Yanlış Giriş Veya Deaktif Kullanıcı"); } }