|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace LogViewer
{
public partial class FrmProgressBar : Form
{
public System.Windows.Forms.ProgressBar ProgressBarControl
{
get { return progressBar1; }
}
public FrmProgressBar()
{
InitializeComponent();
}
public void SetLableText (string text)
{
label1.Text = text;
}
internal void SetTotalProgressSteps(int intProgressSteps)
{
progressBar1.Maximum = intProgressSteps;
}
protected override void OnClosing(CancelEventArgs e)
{
this.Hide();
e.Cancel = true;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I've been all over the coding world since earning my degrees
have worked in c++ and java, finally setteling into c# about 6 years ago, where i spent a good amount of my time in Performance tweaking & memory debugging, as well as designing new solutions and hacking at old ones to stay in line.
Computers never cease to amaze me, and i'm glad to have found a field where i get paid to do what i enjoy.
I have been toying around with the idea of publishing stuff online for years, never actually getting around to it, so i still have a lot of stuff to write up, aside from all the other new stuff i'll get excited about, hope you'll like enjoy reading it as much as i enjoy writing.
linkedin
google plus