예제 #1
0
     public static void AddAccountToTable(string mail, string alias, string password, int indexID)
     {
         GridPageEdit.AddToTable(@"<!--- (s) Start " + indexID.ToString() + @"--->
 <div name='StartNewRow' id=" + indexID.ToString() + @" class='row'>
   <div name='StartCell1' class='cell' data-title='Username'>
     <p name='Cell1Text'>" + alias + @"</p>
   </div name='EndCell1'>
   <div name='StartCell2' class='cell' data-title='Email'>
     <p name='Cell2Text' style='font-size: 11px;'>" + mail + @"</p>
   </div name='EndCell2'>
   <div name='StartCell3' class='cell' data-title='Password' >
     <p name='Cell3Text' style='font-size: 11px;' >" + password + @"</p>
   </div name='EndCell3'>
   <div name='StartCell4' class='cell' data-title='Status' >
     <p id='" + indexID.ToString() + @"' name='Cell4Text' style='font-size: 11px;'>Creating account...</p>
   </div name='EndCell4'>
 </div name='EndOfRow'> <!--- (e) End " + indexID.ToString() + @"--->
         ");
     }
예제 #2
0
        private void button4_Click(object sender, EventArgs e)
        {
            var Random  = new Random();
            var numberR = Random.Next(34672, 999999999);
            int number  = numberR;

            GridPageEdit.AddToTable(@"<!--- (s) Start " + number.ToString() + @"--->
    <div name='StartNewRow' id=" + number + @" class='row'>
      <div name='StartCell1' class='cell' data-title='Username'>
        <p name='Cell1Text'>champy</p>
      </div name='EndCell1'>
      <div name='StartCell2' class='cell' data-title='Email'>
        <p name='Cell2Text'>[email protected]</p>
      </div name='EndCell2'>
      <div name='StartCell3' class='cell' data-title='Password' >
        <p name='Cell3Text'>00000000884984</p>
      </div name='EndCell3'>
      <div name='StartCell4' class='cell' data-title='Status' >
        <p id='" + number.ToString() + @"' name='Cell4Text'>Done</p>
      </div name='EndCell4'>
    </div name='EndOfRow'> <!--- (e) End " + number.ToString() + @"--->
            ");
        }