Example #1
0
 private void btn120GB_Click(object sender, EventArgs e)
 {
     cConvert      = new CConverter("120GB");
     tbSizeGB.Text = cConvert.getSizeGB().ToString();
     tbSizeMB.Text = cConvert.getSizeMB().ToString();
     tbSizeTB.Text = cConvert.getSizeTB().ToString();
 }
Example #2
0
 private void btn480GB_Click(object sender, EventArgs e)
 {
     cConvert = new CConverter("480GB");
     tbSizeGB.Text = cConvert.getSizeGB().ToString();
     tbSizeMB.Text = cConvert.getSizeMB().ToString();
     tbSizeTB.Text = cConvert.getSizeTB().ToString();
 }