Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit28e985b

Browse files
committed
Merge branch 'release/1.2.3' into main
2 parents7d1aac9 +2bf3178 commit28e985b

File tree

12 files changed

+53
-332
lines changed

12 files changed

+53
-332
lines changed

‎PlsqlDeveloperUtPlsqlPlugin/ColorProgressBar/ColorProgressBar.cs

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -16,22 +16,16 @@ public class ColorProgressBar : System.Windows.Forms.Control
1616
privateint_Maximum=100;
1717
privateint_Step=10;
1818

19-
privateColor_BarColor=Color.FromArgb(255,128,128);
19+
privateColor_BarColor=Color.Green;
2020
privateColor_BorderColor=Color.Black;
2121

22-
publicenumFillStyles
23-
{
24-
Solid,
25-
Dashed
26-
}
27-
2822
publicColorProgressBar()
2923
{
30-
base.Size=newSize(150,15);
24+
base.Size=newSize(200,20);
3125
SetStyle(ControlStyles.AllPaintingInWmPaint|ControlStyles.ResizeRedraw|ControlStyles.DoubleBuffer,true);
3226
}
3327

34-
[Description("ColorProgressBar color")]
28+
[Description("Progress bar color")]
3529
[Category("ColorProgressBar")]
3630
publicColorBarColor
3731
{
@@ -46,7 +40,7 @@ public Color BarColor
4640
}
4741
}
4842

49-
[Description("The current value for theColorProgressBar, in the range specified by theMinimum and Maximum properties.")]
43+
[Description("The current value for theprogres bar. Must be betweenMinimum and Maximum.")]
5044
[Category("ColorProgressBar")]
5145
[RefreshProperties(RefreshProperties.All)]
5246
publicintValue
@@ -59,22 +53,20 @@ public int Value
5953
{
6054
if(value<_Minimum)
6155
{
62-
thrownewArgumentException("'"+value+"' is not a valid value for 'Value'.\n"+
63-
"'Value' must be between 'Minimum' and 'Maximum'.");
56+
thrownewArgumentException($"'{value}' is not a valid 'Value'.\n'Value' must be between 'Minimum' and 'Maximum'.");
6457
}
6558

6659
if(value>_Maximum)
6760
{
68-
thrownewArgumentException("'"+value+"' is not a valid value for 'Value'.\n"+
69-
"'Value' must be between 'Minimum' and 'Maximum'.");
61+
thrownewArgumentException($"'{value}' is not a valid 'Value'.\n'Value' must be between 'Minimum' and 'Maximum'.");
7062
}
7163

7264
_Value=value;
7365
this.Invalidate();
7466
}
7567
}
7668

77-
[Description("The lower bound of the range this ColorProgressbar is working with.")]
69+
[Description("The lower bound of the range.")]
7870
[Category("ColorProgressBar")]
7971
[RefreshProperties(RefreshProperties.All)]
8072
publicintMinimum
@@ -96,7 +88,7 @@ public int Minimum
9688
}
9789
}
9890

99-
[Description("The uppper bound of the range this ColorProgressbar is working with.")]
91+
[Description("The uppper bound of the range.")]
10092
[Category("ColorProgressBar")]
10193
[RefreshProperties(RefreshProperties.All)]
10294
publicintMaximum
@@ -118,7 +110,7 @@ public int Maximum
118110
}
119111
}
120112

121-
[Description("Theamount tojump thecurrent value of the control by when the Step() method is called.")]
113+
[Description("Thevalue tomove theprogess bar when the Step() method is called.")]
122114
[Category("ColorProgressBar")]
123115
publicintStep
124116
{
@@ -133,7 +125,7 @@ public int Step
133125
}
134126
}
135127

136-
[Description("The border color of ColorProgressBar")]
128+
[Description("The border color")]
137129
[Category("ColorProgressBar")]
138130
publicColorBorderColor
139131
{
@@ -149,7 +141,7 @@ public Color BorderColor
149141
}
150142

151143
///
152-
/// <summary>Call the PerformStep() method to increase the value displayed by theamount set in the Step property</summary>
144+
/// <summary>Call the PerformStep() method to increase the value displayed by thevalue set in the Step property</summary>
153145
///
154146
publicvoidPerformStep()
155147
{
@@ -162,7 +154,7 @@ public void PerformStep()
162154
}
163155

164156
///
165-
/// <summary>Call the PerformStepBack() method to decrease the value displayed by theamount set in the Step property</summary>
157+
/// <summary>Call the PerformStepBack() method to decrease the value displayed by thevalue set in the Step property</summary>
166158
///
167159
publicvoidPerformStepBack()
168160
{
@@ -175,7 +167,7 @@ public void PerformStepBack()
175167
}
176168

177169
///
178-
/// <summary>Call the Increment() method to increase the value displayed byan integer you specify</summary>
170+
/// <summary>Call the Increment() method to increase the value displayed bythe passed value</summary>
179171
///
180172
publicvoidIncrement(intvalue)
181173
{
@@ -188,7 +180,7 @@ public void Increment(int value)
188180
}
189181

190182
//
191-
// <summary>Call the Decrement() method to decrease the value displayed byan integer you specify</summary>
183+
// <summary>Call the Decrement() method to decrease the value displayed bythe passed value</summary>
192184
//
193185
publicvoidDecrement(intvalue)
194186
{
@@ -236,8 +228,7 @@ protected override void OnPaint(System.Windows.Forms.PaintEventArgs e)
236228

237229
protectedvoidDrawBorder(Graphicsg)
238230
{
239-
RectangleborderRect=newRectangle(0,0,
240-
ClientRectangle.Width-1,ClientRectangle.Height-1);
231+
RectangleborderRect=newRectangle(0,0,ClientRectangle.Width-1,ClientRectangle.Height-1);
241232
g.DrawRectangle(newPen(_BorderColor,1),borderRect);
242233
}
243234
}

‎PlsqlDeveloperUtPlsqlPlugin/ColorProgressBar/ColorProgressBarDesigner.cs

Lines changed: 16 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,20 @@
33
namespaceColorProgressBar
44
{
55
internalclassColorProgressBarDesigner:System.Windows.Forms.Design.ControlDesigner
6-
{
7-
publicColorProgressBarDesigner()
8-
{}
9-
10-
/// <summary>Clean up some unnecessary properties</summary>
11-
protectedoverridevoidPostFilterProperties(IDictionaryProperties)
12-
{
13-
Properties.Remove("AllowDrop");
14-
Properties.Remove("BackgroundImage");
15-
Properties.Remove("ContextMenu");
16-
Properties.Remove("FlatStyle");
17-
Properties.Remove("Image");
18-
Properties.Remove("ImageAlign");
19-
Properties.Remove("ImageIndex");
20-
Properties.Remove("ImageList");
21-
Properties.Remove("Text");
22-
Properties.Remove("TextAlign");
23-
}
24-
}
6+
{
7+
/// <summary>Clean up some unnecessary properties</summary>
8+
protectedoverridevoidPostFilterProperties(IDictionaryProperties)
9+
{
10+
Properties.Remove("AllowDrop");
11+
Properties.Remove("BackgroundImage");
12+
Properties.Remove("ContextMenu");
13+
Properties.Remove("FlatStyle");
14+
Properties.Remove("Image");
15+
Properties.Remove("ImageAlign");
16+
Properties.Remove("ImageIndex");
17+
Properties.Remove("ImageList");
18+
Properties.Remove("Text");
19+
Properties.Remove("TextAlign");
20+
}
21+
}
2522
}

‎PlsqlDeveloperUtPlsqlPlugin/ColorProgressBar/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,5 @@
3131
//
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly:AssemblyVersion("1.0.0.0")]
36-
[assembly:AssemblyFileVersion("1.0.0.0")]
34+
[assembly:AssemblyVersion("1.2.3.0")]
35+
[assembly:AssemblyFileVersion("1.2.3.0")]

‎PlsqlDeveloperUtPlsqlPlugin/PlsqlDeveloperUtPlsqlPlugin/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@
2828
// Build Number
2929
// Revision
3030
//
31-
// You can specify all the values or you can default the Build and Revision Numbers
32-
// by using the '*' as shown below:
33-
// [assembly: AssemblyVersion("1.0.*")]
34-
[assembly:AssemblyVersion("1.2.2.0")]
35-
[assembly:AssemblyFileVersion("1.2.2.0")]
31+
[assembly:AssemblyVersion("1.2.3.0")]
32+
[assembly:AssemblyFileVersion("1.2.3.0")]
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
param([string]$NewVersion)
2+
3+
Get-ChildItem-Include AssemblyInfo.cs-Recurse|ForEach-Object {
4+
$_.IsReadOnly=$false
5+
(Get-Content-Path$_)-replace'(?<=Assembly(?:File)?Version\(")[^"]*(?="\))',$NewVersion|Set-Content-Path$_
6+
}

‎PlsqlDeveloperUtPlsqlPlugin/utPLSQL.UI.Standalone/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,5 @@
2929
// Build Number
3030
// Revision
3131
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly:AssemblyVersion("1.2.2.0")]
36-
[assembly:AssemblyFileVersion("1.2.2.0")]
32+
[assembly:AssemblyVersion("1.2.3.0")]
33+
[assembly:AssemblyFileVersion("1.2.3.0")]

‎PlsqlDeveloperUtPlsqlPlugin/utPLSQL.UI/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,5 @@
2929
// Build Number
3030
// Revision
3131
//
32-
// You can specify all the values or you can default the Build and Revision Numbers
33-
// by using the '*' as shown below:
34-
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly:AssemblyVersion("1.2.2.0")]
36-
[assembly:AssemblyFileVersion("1.2.2.0")]
32+
[assembly:AssemblyVersion("1.2.3.0")]
33+
[assembly:AssemblyFileVersion("1.2.3.0")]

‎PlsqlDeveloperUtPlsqlPlugin/utPLSQL.UI/TestRunnerWindow.Designer.cs

Lines changed: 8 additions & 48 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎PlsqlDeveloperUtPlsqlPlugin/utPLSQL.Ui.Standalone/FodyWeavers.xml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp