/// <summary> /// отражает данные пропуска в панели информации /// </summary> /// <param name="permit"></param> private void ShowPermitInfo(Permit permit) { tboxPermitComment.Text = permit.GetComment(Database); tboxPermitCreator.Text = Permit.GetPlanAppointCreator(Database, permit.Id); dgvMoving.DataSource = permit.GetMovingList(Database); dgvPointList.DataSource = permit.GetAllowedPointList(Database); }
public string GetCreator(Database database) { //Permit permit = Permit.Load(database, PermitId); //return permit.Creator.ToString() + " (" + permit.CreateDate.ToShortDateString() + ")"; return(Permit.GetPlanAppointCreator(database, PermitId)); }
internal string GetPlanAppointCreator(Database database) { return(Permit.GetPlanAppointCreator(database, PermitId)); }