public AbsenVerification(pegawai selectedPegawai) { InitializeComponent(); Pegawai = selectedPegawai; Finger = ResourcesBase.GetFinger(); this.DataContext = this; this.Loaded += AbsenVerification_Loaded; }
public EnrollmentView(Library.DataModels.pegawai selectedItem) { InitializeComponent(); this.Pegawai = selectedItem; enrollpage.BackColor = System.Drawing.SystemColors.Window; enrollpage.Location = new System.Drawing.Point(3, 3); // enrollpage.Name = "ctlEnrollmentControl"; enrollpage.Size = new System.Drawing.Size(482, 346); enrollpage.TabIndex = 0; enrollpage.OnCancel += Enrollpage_OnCancel; enrollpage.OnDelete += Enrollpage_OnDelete; // enrollpage.OnEnroll += Enrollpage_OnEnroll; enrollpage.On_Enroll += Enrollpage_On_Enroll; enrollpage.OnStartEnroll += Enrollpage_OnStartEnroll; enrollpage.On_StartEnroll += Enrollpage_On_StartEnroll; enrollpage.On_Captured += Enrollpage_On_Captured; this.Finger = ResourcesBase.GetFinger(); this.DataContext = this; this.Loaded += MainWindow_Loaded; }