update 20250129
This commit is contained in:
@@ -21,6 +21,7 @@ namespace OnDocOffice
|
||||
{
|
||||
InitializeComponent();
|
||||
this.label2.Text = bez;
|
||||
this.label3.Text = "";
|
||||
}
|
||||
private void DialogGenerate_Load(object sender, EventArgs e)
|
||||
{
|
||||
@@ -29,15 +30,25 @@ namespace OnDocOffice
|
||||
progressBar1.Value = 0;
|
||||
}
|
||||
|
||||
public void set_progress(int value)
|
||||
public void set_progress(int value, string text)
|
||||
{
|
||||
progressBar1.Value = value;
|
||||
this.label3.Text=text;
|
||||
try
|
||||
{
|
||||
progressBar1.Value = value;
|
||||
}
|
||||
catch { }
|
||||
Application.DoEvents();
|
||||
}
|
||||
|
||||
public void add_progress(int value)
|
||||
public void add_progress(int value, string text)
|
||||
{
|
||||
progressBar1.Value += value;
|
||||
this.label3.Text = text;
|
||||
try
|
||||
{
|
||||
progressBar1.Value += value;
|
||||
}
|
||||
catch { }
|
||||
Application.DoEvents();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user