Progress (Builder builder, IntPtr handle, string title, string status, string state)
Definition at line 15 of file Progress.cs .
◆ Progress()
BioGTK.Progress.Progress
(
Builder builder ,
IntPtr handle ,
string title ,
string status ,
string state )
protected
Definition at line 88 of file Progress.cs .
88 : base(handle)
89 {
90 _builder = builder;
91 builder.Autoconnect(this );
92 this.Title = title;
93 this.statusLabel.Text = status;
94 this.progLabel.Text = state;
95 App.ApplyStyles(this );
96 }
◆ Create()
static Progress BioGTK.Progress.Create
(
string title ,
string status ,
string state )
static
Definition at line 80 of file Progress.cs .
81 {
82 Builder builder = new Builder(new FileStream(System.IO.Path.GetDirectoryName(Environment.ProcessPath) + "/" + "Glade/Progress.glade" , FileMode.Open));
83 return new Progress(builder, builder.GetObject("progress" ).Handle, title, status, state);
84 }
◆ ProgressValue
double BioGTK.Progress.ProgressValue
get set
Definition at line 21 of file Progress.cs .
22 {
23 get
24 {
25 return progressBar.Fraction;
26 }
27 set
28 {
29
30 Application.Invoke(delegate
31 {
32 if (value <= 1)
33 progressBar.Fraction = value;
34 else
35 progressBar.Fraction = value / 100;
36 });
37 }
38 }
◆ Status
string BioGTK.Progress.Status
get set
Definition at line 53 of file Progress.cs .
54 {
55 get { return statusLabel.Text; }
56 set
57 {
58
59 Application.Invoke(delegate
60 {
61 statusLabel.Text = value;
62 });
63 }
64 }
◆ Text
string BioGTK.Progress.Text
get set
Definition at line 40 of file Progress.cs .
41 {
42 get { return progLabel.Text; }
43 set
44 {
45
46 Application.Invoke(delegate
47 {
48 progLabel.Text = value;
49 });
50 }
51 }
The documentation for this class was generated from the following file: