private void RemoveSchedule_btn_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e) { WorkShift s = new WorkShift(); s.DeleteData(); s.InsertShift(); GridControl_DisplayShift.DataSource = s.ShowShift(); }
public void ShiftWork() { WorkShift w = new WorkShift(); GridControl_DisplayShift.DataSource = w.ShowShift(); }