private void OpenFile2_Click(object sender, RoutedEventArgs e) { if (CurrentTendering.TenderingType != "محدود دو مرحله اي" && CurrentTendering.TenderingType != "عمومي دو مرحله اي" && CurrentTendering.HasQualityEvaluation == false) { ErrorHandler.ShowErrorMessage("این مناقصه ارزیابی کیفی ندارد"); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.TechincalCommitteeMeeting, null, null, this.layoutRoot); }
private void ShowFileBtn2_Click(object sender, RoutedEventArgs e) { if (CurrentReq.ContractorRequestId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.PrivateConditions, null, null, this.layoutRoot); }
private void ShowBtn_Click(object sender, RoutedEventArgs e) { if (CurrentMeeting.MeetingId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, meeting, null, null, this.layoutRoot, null, CurrentMeeting.MeetingId); }
private void OpenFile1_Click(object sender, RoutedEventArgs e) { if (CurrentTendering.TenderingType != "محدود دو مرحله اي" && CurrentTendering.TenderingType != "عمومي دو مرحله اي") { ErrorHandler.ShowErrorMessage("امکان انجام این عملیات وجود ندارد"); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.BiddingCommitteeMeeting, null, null, this.layoutRoot); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var item = dataGrid.SelectedItem as ContractorTenderingSubmitPacket; if (item == null || item.ContractorSubmitingDocumentId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, (TenderingIndex.PacketPresent), item.ContractorId, null, this.layoutRoot, null); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var item = dataGrid.SelectedItem as Warranty; if (item == null || item.WarrantyId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, (TenderingIndex.WarrantyDocs), item.ContractorId, null, this.layoutRoot, null, null, item.WarrantyId); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var item = dataGrid4.SelectedItem as ContractorTenderingDocumentRecieve; if (item == null || item.ContractorTenderingBuyId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NoFile"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, (TenderingIndex.ContractorRecieveDoc), item.ContractorId, null, this.layoutRoot, null); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var item = NoticeGrid.SelectedItem as Advertisement; if (item == null || item.AdvertisementId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NoFile"]); return; } FilingManager.DownloadTenderingFile(CurrentNotice.TenderingId, (TenderingIndex.Advertisement), null, null, this.layoutRoot, item.AdvertisementId); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var item = MainGrid.SelectedItem as ContractorMeetingOpenPacket; if (item == null || item.CMOId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, (TenderingIndex.OpenPacketIntroductionLetter), item.ContractorId, null, this.layoutRoot, null); }
private void ShowBtn_Click(object sender, RoutedEventArgs e) { if (CurrentMeeting.MeetingId == 0) { ErrorHandler.ShowErrorMessage(ErrorHandler.ErrorMessages["NotSaved"]); return; } if (!UserData.CurrentAccessRight.TenderingDelete) { ErrorHandler.ShowErrorMessage(Errors.OperationNotAllowed); return; } FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.BriefingMeeting, null, null, this.layoutRoot, null, CurrentMeeting.MeetingId); }
private void ShowPicBtn_Click(object sender, RoutedEventArgs e) { FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.CreditControl, null, null, this.layoutRoot); }
private void OpenFileBtn_Click(object sender, RoutedEventArgs e) { FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.WarrantyMeeting, null, null, this.layoutRoot); }
private void ViewFile_Click(object sender, RoutedEventArgs e) { var o = Grid.SelectedItem as UI5GridItems; FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, (TenderingIndex)o.DocumentIndex, null, o.Version, this.layoutRoot); }
private void ShowBtn_Click(object sender, RoutedEventArgs e) { FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.CommitteDicision, null, null, this.layoutRoot); }
private void OpenFileBtn_Click(object sender, RoutedEventArgs e) { FilingManager.DownloadTenderingFile(CurrentTendering.TenderingId, TenderingIndex.OpenPacketOne, null, null, this.layoutRoot, null, CurrentMeeting.MeetingId); }