Exemplo n.º 1
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");
 }
Exemplo n.º 2
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");
     }
 }