public frmYeniPersonel(OperasyonelIslem islem) { InitializeComponent(); //Kernels and dip _personel = kernel.Get <IPersonellerManager>(); _islem = islem; kryptonLabel1.Text = $"{_islem.ToString()} personel işlemi"; }
public frmYeniPersonel(OperasyonelIslem islem, object id) { _personel = kernel.Get <IPersonellerManager>(); _islem = islem; //kryptonLabel1.Text = $"{_islem.ToString()} personel işlemi"; this.Personel = _personel.Find((Guid)id); personellerBindingSource.AllowNew = true; personellerBindingSource.DataSource = Personel; personellerBindingSource.DataError += PersonellerBindingSource_DataError; }