Пример #1
0
 private void CrearProgressBars(int sX, int sY, int sAltura, int sAncho)
 {
     pb= new System.Windows.Forms.ProgressBar();
     pb.SetBounds(sX, sY, sAncho, sAltura);
        // pb.Parent = this;
     pb.Visible = true;
     pb.CreateControl();
     pb.Maximum = 100;
     pb.Minimum = 0;
     pb.Name = "progressBar";
     pb.Step = 1;
     pb.Value = 1;
     pb.PerformStep();
 }