Ejemplo n.º 1
0
 protected override void ToolStripButtonNewClick(object sender, EventArgs e)
 {
     base.ToolStripButtonNewClick(sender, e);
     using (var editor = new PayrollGroupEditor())
     {
         editor.Create(CurrentMainForm.CurrentMainForm, this);
     }
 }
Ejemplo n.º 2
0
 protected override void ToolStripButtonDeleteClick(object sender, EventArgs e)
 {
     base.ToolStripButtonDeleteClick(sender, e);
     if (!IsReadyEdited)
     {
         return;
     }
     using (var editor = new PayrollGroupEditor())
     {
         editor.Delete(CurrentMainForm.CurrentMainForm, CurrentId, this);
     }
 }
Ejemplo n.º 3
0
 protected override void OpenItem()
 {
     base.OpenItem();
     if (!IsReadyEdited)
     {
         return;
     }
     using (var editor = new PayrollGroupEditor())
     {
         editor.Edit(CurrentMainForm.CurrentMainForm, CurrentId, this);
     }
 }