Beispiel #1
0
 public void Init(List <WebLink> _forum, MultiForum _multiforum, List <StatusEntity> _status, Entry _entry)
 {
     listforum  = _forum;
     multiforum = _multiforum;
     status     = _status;
     entry      = _entry;
 }
Beispiel #2
0
        public void Init(List<WebLink> _forum, MultiForum _multiforum, List<StatusEntity> _status,  Entry _entry)
        {
            listforum = _forum;
            multiforum = _multiforum;
            status = _status;
            entry = _entry;

        }
Beispiel #3
0
        public AutoPost(WebBrowser webBrowse1, MultiForum multiforum, WebLink weblink, String Subject, String Content, String Tag)
        {
            //IE.Settings.AttachToIETimeOut = 100000;
            //IE.Settings.BrowserType = BrowserType.FireFox;
            Settings.WaitForCompleteTimeOut = 120000;
            Settings.AttachToBrowserTimeOut = 120000;

            webBrowse = webBrowse1;
            forum     = weblink;
            _Subject  = Subject;
            _Content  = Content;
            _Tag      = Tag;
        }
Beispiel #4
0
 public frmAutoUpForum()
 {
     InitializeComponent();
     foreach (System.Windows.Forms.Control ctr in htmlEditor1.Controls)
     {
         if (ctr.Name == "lnkLabelPurchaseLink")
         {
             ctr.Visible = false;
             break;
         }
     }
     multiforum = new MultiForum("UP");
 }
Beispiel #5
0
        public AutoPost(WebBrowser webBrowse1,MultiForum multiforum, WebLink weblink, String Subject, String Content, String Tag)
        {
            //IE.Settings.AttachToIETimeOut = 100000;
            //IE.Settings.BrowserType = BrowserType.FireFox;
            Settings.WaitForCompleteTimeOut = 120000;
            Settings.AttachToBrowserTimeOut = 120000;
           
            webBrowse = webBrowse1;
            forum = weblink;
            _Subject = Subject;
            _Content = Content;
            _Tag = Tag;
            
          

        }
Beispiel #6
0
 public void _InitData(string type)
 {
     _Type = type;
     dtLogEntries = new DataTable();
     dtLogEntries.Columns.Add("ID", typeof(long));
     dtLogEntries.Columns.Add("DateTime", typeof(string));
     dtLogEntries.Columns.Add("LogEntries", typeof(string));
     dtLogEntries.Columns.Add("LinkUp", typeof(string));
     dtLogEntries.Columns.Add("Status", typeof(string));
     gridControl1.DataSource = dtLogEntries;
     if (_Type == NumCode.UPFORUM)
     {
         colLinkUp.Visible = false;
         btnSend.Text = "Up";
         btnGetLinkUp.Visible = false;
         multiforum = new MultiForum("UP");
     }
     else
     {
         multiforum = new MultiForum("POS");
     }
 }