예제 #1
0
        private void FeedInformation() //TODO:
        {
            WindowFeedInformation FeedInformation = new WindowFeedInformation();

            FeedInformation.Set_StringField_DescriptionRSSFile(VirtualFile.Description);
            FeedInformation.Set_StringField_TitleRSSFile(VirtualFile.Title);
            FeedInformation.Set_StringField_LinkRSSFile(VirtualFile.Link);
            FeedInformation.Set_StringField_LanguageRSSFile(VirtualFile.Language);
            FeedInformation.Set_StringField_GeneratorRSSFile(VirtualFile.Generator);
            Application.EnableVisualStyles();
            DialogResult ResultFeedInformation = FeedInformation.ShowDialog();

            if (ResultFeedInformation == DialogResult.Cancel)
            {
                if (FeedInformation.Get_CheckBox_SetPublicationDate())
                {
                    VirtualFile.PublicationDate = DateTime.Now.ToUniversalTime().ToString("r");
                }
                VirtualFile.Title       = FeedInformation.Get_StringField_TitleRSSFile();
                VirtualFile.Link        = FeedInformation.Get_StringField_LinkRSSFile();
                VirtualFile.Description = FeedInformation.Get_StringField_DescriptionRSSFile();
                VirtualFile.Language    = FeedInformation.Get_StringField_LanguageRSSFile();
                VirtualFile.Generator   = FeedInformation.Get_StringField_GeneratorRSSFile();
            }
        }
예제 #2
0
        private void FeedInformation(object sender, EventArgs EventArguments) //TODO:
        {
            WindowFeedInformation FeedInformation = new WindowFeedInformation();

            FeedInformation.Set_StringField_DescriptionRSSFile(VirtualFile.Description);
            FeedInformation.Set_StringField_TitleRSSFile(VirtualFile.Title);
            FeedInformation.Set_StringField_LinkRSSFile(VirtualFile.Link);
            FeedInformation.Set_StringField_LanguageRSSFile(VirtualFile.Language);
            FeedInformation.Set_StringField_GeneratorRSSFile(VirtualFile.Generator);
            Application.EnableVisualStyles();
            DialogResult ResultFeedInformation = FeedInformation.ShowDialog();

            if (ResultFeedInformation == DialogResult.OK)
            {
                if (FeedInformation.Get_CheckBox_SetPublicationDate())
                {
                    //TODO:
                }
                VirtualFile.Title       = FeedInformation.Get_StringField_TitleRSSFile();
                VirtualFile.Link        = FeedInformation.Get_StringField_LinkRSSFile();
                VirtualFile.Description = FeedInformation.Get_StringField_DescriptionRSSFile();
                VirtualFile.Language    = FeedInformation.Get_StringField_LanguageRSSFile();
                VirtualFile.Generator   = FeedInformation.Get_StringField_GeneratorRSSFile();
            }
        }