Exemplo n.º 1
0
        public LightNewsForm(LightStartForm tLightStartForm)
        {
            InitializeComponent();

            LightStartForm = tLightStartForm;

            this.MaximumSize = Screen.PrimaryScreen.WorkingArea.Size;

            LightNews = new Infinium.LightNews();

            //ActiveNotifySystem.ClearSubscribesRecords(Security.CurrentUserID, this.Name);

            Initialize();



            //LightNewsContainer.PageChanged(null);

            ActiveNotifySystem.ClearSubscribesRecords(Security.CurrentUserID, this.Name);

            //OnANSUpdate();



            while (!SplashForm.bCreated)
            {
                ;
            }
        }
Exemplo n.º 2
0
        public AddNewsForm(ref Infinium.LightNews tLightNews, ref Form tTopForm)
        {
            InitializeComponent();

            TopForm   = tTopForm;
            LightNews = tLightNews;

            CreateAttachments();
        }
Exemplo n.º 3
0
        public AddNewsForm(ref Infinium.LightNews tLightNews, int SenderTypeID, string HeaderText, string BodyText, int iNewsID, DateTime dDateTime, ref Form tTopForm)
        {
            InitializeComponent();

            LightNews = tLightNews;

            TopForm = tTopForm;

            HeaderTextEdit.Text = HeaderText;
            BodyTextEdit.Text   = BodyText;

            iNewsIDEdit = iNewsID;
            DateTime    = dDateTime;

            CreateAttachments();
            CopyAttachs(iNewsID);
        }