Первая лабораторная работа. Добавлены недостающие ресурсы.

This commit is contained in:
ksenianeva 2022-10-03 21:56:53 +04:00
parent 4a3fdebbdf
commit fc7866c869
7 changed files with 42 additions and 58 deletions

View File

@ -28,7 +28,6 @@
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormShip));
this.statusStrip1 = new System.Windows.Forms.StatusStrip(); this.statusStrip1 = new System.Windows.Forms.StatusStrip();
this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelSpeed = new System.Windows.Forms.ToolStripStatusLabel();
this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel(); this.toolStripStatusLabelWeight = new System.Windows.Forms.ToolStripStatusLabel();
@ -77,7 +76,7 @@
// buttonRight // buttonRight
// //
this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonRight.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonRight.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonRight.BackgroundImage"))); this.buttonRight.BackgroundImage = global::ContainerShip.Properties.Resources.LeftArrow;
this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonRight.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonRight.Location = new System.Drawing.Point(738, 353); this.buttonRight.Location = new System.Drawing.Point(738, 353);
this.buttonRight.Name = "buttonRight"; this.buttonRight.Name = "buttonRight";
@ -89,7 +88,7 @@
// buttonUp // buttonUp
// //
this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonUp.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonUp.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonUp.BackgroundImage"))); this.buttonUp.BackgroundImage = global::ContainerShip.Properties.Resources.upArrow;
this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonUp.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonUp.Location = new System.Drawing.Point(682, 306); this.buttonUp.Location = new System.Drawing.Point(682, 306);
this.buttonUp.Name = "buttonUp"; this.buttonUp.Name = "buttonUp";
@ -101,7 +100,7 @@
// buttonDown // buttonDown
// //
this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.buttonDown.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.buttonDown.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("buttonDown.BackgroundImage"))); this.buttonDown.BackgroundImage = global::ContainerShip.Properties.Resources.DownArrow;
this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.buttonDown.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.buttonDown.Location = new System.Drawing.Point(682, 352); this.buttonDown.Location = new System.Drawing.Point(682, 352);
this.buttonDown.Name = "buttonDown"; this.buttonDown.Name = "buttonDown";

View File

@ -60,60 +60,6 @@
<metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"> <metadata name="statusStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value> <value>17, 17</value>
</metadata> </metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="buttonRight.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAW
JQAAFiUBSVIk8AAAAnlJREFUeF7tmr2uaUEUx8kRIQqhQqFQakXlAUjQEInEQygVHkCotDqJDpX4KGg8
gUZUOhKF0PkO62adrHNzrzt32w777n1n5pf8swq2mfVL2LNnmEBwpACqwiIFUBUWKYCqsEgBVIVFCqAq
LFIAVWGRAqgKi6EEbDYbaDabUKvVoNfrwX6/p1e0wxACjscjFAoFsFqtYDKZfsblckGj0aB3aYPuAq7X
K2Qymd8av08+n4fb7UZXvBfdBbRaLWbT98nlcnA+n+mq96G7gGg0ymyYlXg8Drvdjq58D7oL8Pv9zGb/
lkgkAtvtlq5+Hd0FOJ1OZqNKCQaDsFwu6RNe4ykB6/UaSqUSJBIJCIfDEAqFXs7HxwezyUcJBAIwn89p
Zt9HtYDhcPh5W2JNRq94PB6YTCY0w++hSsB0OgWHw8GchN7Br9B4PKaZPo8qAalUijm4UWK326HT6dBs
n+OhgMvlAjabjTmwkWKxWKBer9Os1fNQwGq1Yg5oxJjNZqhWqzRzdTwUsFgsmIMZNSgBH6jUwp0AjNfr
hcPhQB0ow6UATLfbpQ6U4VZAuVymDpThVkClUqEOlOFWQL/fpw6U4VKAz+f73GVSA3cC8DaImyxqeShA
+IUQLoVxrc0a0EjRbCmMpNNp5qBGiaYPQ8hsNhP7cRgZjUbgdruZk9Ar/2xD5As8ucEVVjKZFG9LTCv+
q01RLRB+WzwWizEbZYXLg5F2u81s9j7cHo3h4Wg2m2U2/RWuD0eR0+kExWLxj+NxvO1yfzz+K/jjhl8J
/IPEYDBQva31CoYSoAdSAFVhkQKoCosUQFVYpACqwiIFUBUWKYCqsEgBVAUF4Ad9YZwDE2SIxgAAAABJ
RU5ErkJggg==
</value>
</data>
<data name="buttonUp.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAW
JQAAFiUBSVIk8AAAArJJREFUeF7tmr2uqUEUhgkRohCqTaFQakXlAkjQEInERSgVLkDsSquT6FCJn4LG
FWhEpSNRCJ3/sE6WjOLkrMg+83dO8s2TvJnCzJq1nmQn2/exgcUxAthqWYwAtloWI4CtlsUIYKtl+ScC
zuczDAYDqNfr8P39DaPRCC6XC/tUL9oFdDodCAaDYLPZfksoFIJut8t26UOrgEajAXa7/Y/h38HPcI9O
tAlotVofh38H9+BeXWgR0O/3wel0kgNTwb14RgfKBcxmM/B4POSgn4Jn8KxqlAqYz+fg8/nIAX8SPIs1
VKJMwGq1gq+vL3KwvwnWwFqqUCJgs9lAJBIhB+IJ1sKaKpAu4HA4QDQaJQcRCdbE2rKRKuB4PEIikSAH
kBGsjXfIRJqA2+0G6XSabFxm8A68SxZSBDyfTyiVSmTDKoJ34Z0ykCKgXC6TjaoM3ikDYQHtdptsUEfw
blGEBJxOJ/D7/WRzOhIIBF5frUUQEjAcDsnGdGY8HrNu+BAS0Gw2yaZ0BnsQQUgAPtygmtKZXq/HuuFD
SMB+vweXy0U2piN4t+h/h0ICkEqlQjanI9VqlXXBj7AAfJhZKBTIBlWmWCzC9XplXfAjLAB5PB6vB5rJ
ZBLC4fDre7zD4SAb5wnWwppYO5VKvf7u8U4ZSBFAEYvFyGF4grVUYQSwVTpGgBFgBJDD8MQIMAKMAFZV
PkYAW6VjBBgBRgA5DE+MACPACGBV5aNMQDweJ4fhCdZShTIBmUyGHIYn2WyWVZWPMgG1Wo0chif4i1JV
KBOw2+2kvDfE93/4/kEVygQgk8kEvF4vOdhPgmen0ymrpgalApDFYgG5XA7cbjc5JBX8jWA+n4flcsmq
qEO5gDf3+x222y2s1+uPwT24VxfaBPyvGAFstSxGAFstixHAVsticQEAvwDQzJwDPf7RTAAAAABJRU5E
rkJggg==
</value>
</data>
<data name="buttonDown.BackgroundImage" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>
iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAW
JQAAFiUBSVIk8AAAArtJREFUeF7tmrtqakEUhg0RUSxEq2hhYWkrVj5ABLVJEIQ8hGWKPICYytZOSKdW
wUuhjU9gI6nSJWARtIsaRVf4ZQ4cOIugc8uBPR/8TOHMmrU+CMS99ZHHcQLE6lmcALF6FidArJ7FCRCr
cXa7Hc3nc3p7e/sx2IO9tjAu4OXlhW5vbykUCpHP5zspwWCQbm5uaDabiSrmMCpgPB5TOBxmhzwlODsa
jUQ1MxgTsFgsKBaLsYOdk2g0Sh8fH6KqfowJqNfr7EAyqdVqoqp+jAkolUrsMDIpFouiqn6MCchms+ww
MkEtUxgTkMlk2GFkglqmcALEqh0nwAlwAthhZOIEOAFOgKiqHydArNpxApwAJ4AdRiZOgBPgBIiq+tEi
YL/fU7fbpXw+T8lkkiKRCF1eXrLDyAS1UBO1r6+vqdPpHO/UgbKAr68vqlQqbOMmUy6XabPZiC7kURbw
8PDANmgj9/f3ogt5lAQsl0sKBAJsczaCu/H+QQUlAfi75xqzmXa7LbqRQ0lAs9lkm7IZ9KCCkoDhcMg2
ZTP9fl90I4eSgPV6reX9n2zw3nC1Wolu5FASAJ6entjmbAR3q6IsAFSrVbZBk8GdOtAi4HA40N3dHduo
ieAu3KkDLQLAdrulQqHANqwzuAN36UKbAPD5+Um5XI5tXEdQG3foRKsAgP8O0+k0O4BKUBO1daNdAHh/
f6dUKsUOIhPUQk0TGBEAXl9f6erqih3onKAGapnCmAAwnU6P3+O5wU4JzqKGSYwKAJPJ5KzfCP4JzuCs
aYwLAM/Pz+T3+9lBuWAvztjAigDQarXo4uKCHfjvYA/22sKaANBoNH6UgM+wxyZWBQA80EwkEv8MH4/H
lR9uyGBdAMDDzMFgQI+Pj8dflPZ6veNX69/gVwT8TzgBYvUsToBYPYsTIFbP4gSI1aMQfQNT7JwDjVti
aQAAAABJRU5ErkJggg==
</value>
</data>
<metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>47</value> <value>47</value>
</metadata> </metadata>

View File

@ -60,6 +60,26 @@ namespace ContainerShip.Properties {
} }
} }
/// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap DownArrow {
get {
object obj = ResourceManager.GetObject("DownArrow", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap LeftArrow {
get {
object obj = ResourceManager.GetObject("LeftArrow", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary> /// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap. /// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary> /// </summary>
@ -69,5 +89,15 @@ namespace ContainerShip.Properties {
return ((System.Drawing.Bitmap)(obj)); return ((System.Drawing.Bitmap)(obj));
} }
} }
/// <summary>
/// Поиск локализованного ресурса типа System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap upArrow {
get {
object obj = ResourceManager.GetObject("upArrow", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
} }
} }

View File

@ -121,4 +121,13 @@
<data name="RightArrow" type="System.Resources.ResXFileRef, System.Windows.Forms"> <data name="RightArrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\RightArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> <value>..\Resources\RightArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data> </data>
<data name="DownArrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\DownArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="LeftArrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\LeftArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="upArrow" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\upArrow.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root> </root>

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 836 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 856 B