private void ShowDescription(ProjectWrapper project)
 {
     DescriptionTB.Clear();
     DescriptionTB.AppendText("Name: " + project.Name + "\r\n\r\n");
     DescriptionTB.AppendText("Project Path:\r\n");
     DescriptionTB.AppendText(project.ProjectPath + "\r\n\r\n");
     DescriptionTB.AppendText("Description:\r\n");
     DescriptionTB.AppendText(project.Description + "\r\n\r\n");
 }
示例#2
0
 private void ShowDescription(LibraryCategoryWrapper libcat)
 {
     DescriptionTB.AppendText("Name: " + libcat.Name + "\r\n\r\n");
     DescriptionTB.AppendText("Project Path:\r\n");
     DescriptionTB.AppendText(libcat.ProjectPath + "\r\n\r\n");
     DescriptionTB.AppendText("Required: " + libcat.Required + "\r\n\r\n");
     //DescriptionTB.AppendText("Sulution Visible: " + LCW.IsSolutionWizardVisible + "\r\n\r\n");
     DescriptionTB.AppendText("Description:\r\n");
     DescriptionTB.AppendText(libcat.Description + "\r\n\r\n");
 }
示例#3
0
 private void ShowDescription(LibraryCategoryWrapper Transport)
 {
     DescriptionTB.Clear();
     DescriptionTB.AppendText("Name: " + Transport.Name + "\r\n\r\n");
     DescriptionTB.AppendText("Project Path:\r\n");
     DescriptionTB.AppendText(Transport.ProjectPath + "\r\n\r\n");
     DescriptionTB.AppendText("Is Transport:\r\n");
     DescriptionTB.AppendText(Transport.IsTransport + "\r\n\r\n");
     DescriptionTB.AppendText("Description:\r\n");
     DescriptionTB.AppendText(Transport.Description + "\r\n\r\n");
 }
示例#4
0
        private void ShowDescription(ComponentWrapper processor)
        {
            ProcessorWrapper PW = PK.Wrapper.FindProcessor(processor.Guid);

            DescriptionTB.Clear();
            if (PW != null)
            {
                DescriptionTB.AppendText("Name: " + PW.Name + "\r\n\r\n");
                DescriptionTB.AppendText("Project Path:\r\n");
                DescriptionTB.AppendText(PW.ProjectPath + "\r\n\r\n");
                DescriptionTB.AppendText("Description:\r\n");
                DescriptionTB.AppendText(PW.Description + "\r\n\r\n");
            }
        }
示例#5
0
 private void ShowDescription(FeatureWrapper feature)
 {
     DescriptionTB.Clear();
     DescriptionTB.AppendText("Name: " + feature.Name + "\r\n\r\n");
     DescriptionTB.AppendText("Project Path:\r\n");
     DescriptionTB.AppendText(feature.ProjectPath + "\r\n\r\n");
     DescriptionTB.AppendText("Required: " + feature.Required + "\r\n\r\n");
     DescriptionTB.AppendText("Solution Wizard Visible: " + feature.IsSolutionWizardVisible + "\r\n\r\n");
     if (!string.IsNullOrEmpty(feature.Filter))
     {
         DescriptionTB.AppendText("Filter: " + feature.Filter + "\r\n\r\n");
     }
     DescriptionTB.AppendText("Description:\r\n");
     DescriptionTB.AppendText(feature.Description + "\r\n\r\n");
 }
示例#6
0
        public ModifyBookPage(int docID, DocumentsManagementPage page)
        {
            _docID = docID;
            InitializeComponent();

            Document doc = SDM.LMS.GetDoc(docID);

            TitleTB.AppendText(doc.Title);
            AutorsTB.AppendText(doc.Autors);
            PublisherTB.AppendText(doc.Publisher);
            PublishYearTB.AppendText(doc.PublishYear.ToString());
            EditionTB.AppendText(doc.Edition);
            DescriptionTB.AppendText(doc.Description);
            PriceTB.AppendText(doc.Price.ToString());
            IsBestsellerCB.SelectedIndex = doc.IsBestseller ? 0 : 1;
            CopiesTB.AppendText(doc.Quantity.ToString());
            TagsTB.AppendText(doc.Tags);

            prevPage = page;
        }
示例#7
0
 private void ShowDescription(LibraryWrapper library)
 {
     DescriptionTB.AppendText("Name: " + library.Name + "\r\n\r\n");
     DescriptionTB.AppendText("Project Path:\r\n");
     DescriptionTB.AppendText(library.ProjectPath + "\r\n\r\n");
     DescriptionTB.AppendText("Required: " + library.Required + "\r\n\r\n");
     if (!string.IsNullOrEmpty(library.CustomFilter))
     {
         DescriptionTB.AppendText("Custom Filter: " + library.CustomFilter + "\r\n\r\n");
     }
     if (library.ProcessorSpecific != null)
     {
         if (!string.IsNullOrEmpty(library.ProcessorSpecific.Name))
         {
             DescriptionTB.AppendText("Processor Specific: " + library.ProcessorSpecific.Name + "\r\n\r\n");
         }
     }
     //DescriptionTB.AppendText("Sulution Visible: " + LCW.IsSolutionWizardVisible + "\r\n\r\n");
     DescriptionTB.AppendText("Description:\r\n");
     DescriptionTB.AppendText(library.Description + "\r\n\r\n");
 }