<Compile Include="SMTPETimeCode\Enums.cs" />\r
<Compile Include="SMTPETimeCode\Extensions.cs" />\r
<Compile Include="SMTPETimeCode\TimeCode.cs" />\r
+ <Compile Include="StringResource.Designer.cs">\r
+ <AutoGen>True</AutoGen>\r
+ <DesignTime>True</DesignTime>\r
+ <DependentUpon>StringResource.resx</DependentUpon>\r
+ </Compile>\r
<Compile Include="Timecode.cs" />\r
<Compile Include="URCOMLoader.cs" />\r
<Compile Include="VideoTrackBar.cs">\r
<DependentUpon>PlayerForm.cs</DependentUpon>\r
</Compile>\r
<Content Include="DirectShowLib.dll" />\r
+ <EmbeddedResource Include="StringResource.resx">\r
+ <Generator>ResXFileCodeGenerator</Generator>\r
+ <LastGenOutput>StringResource.Designer.cs</LastGenOutput>\r
+ </EmbeddedResource>\r
<None Include="nlog.config">\r
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>\r
</None>\r
int hr;\r
IntPtr hEvent;\r
MediaDescription = mediaDesc;\r
- if (mediaDesc != null)\r
+ if (mediaDesc != null) {\r
+ //todo ez itt nem biztos, hogy jó\r
CurrentTC = new Timecode(mediaDesc.FirstFrame);\r
+ }\r
Debug.WriteLine("SetupGraph");\r
// Set up the graph\r
SetupGraph(hWin);\r
private void InitializeComponent() {\r
this.components = new System.ComponentModel.Container();\r
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PlayerForm));\r
this.panelVideo = new System.Windows.Forms.Panel();\r
this.panel2 = new System.Windows.Forms.Panel();\r
this.btnStop = new System.Windows.Forms.Button();\r
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window;\r
dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black;\r
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
- dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black;\r
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
this.dgSegments.DefaultCellStyle = dataGridViewCellStyle1;\r
this.dgSegments.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dgSegments.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dgSegments.Size = new System.Drawing.Size(257, 521);\r
this.dgSegments.TabIndex = 1;\r
+ this.dgSegments.ColumnAdded += new System.Windows.Forms.DataGridViewColumnEventHandler(this.dgSegments_ColumnAdded);\r
this.dgSegments.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgSegments_RowsAdded);\r
// \r
// menuButtonSegmentActions\r
this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);\r
this.ClientSize = new System.Drawing.Size(936, 544);\r
this.Controls.Add(this.splitContainer1);\r
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));\r
this.KeyPreview = true;\r
this.MinimumSize = new System.Drawing.Size(640, 480);\r
this.Name = "PlayerForm";\r
public PlayerForm(ref BindingList<MovieSegment> segments) {\r
this.segments = segments;\r
InitializeComponent();\r
+ InitializeTexts();\r
+ }\r
+\r
+ private void InitializeTexts() {\r
+ defineOneSegmentToolStripMenuItem.Text = StringResource.SZEGMENS_DEFINIALASA;\r
+ splitSegmentAtCurrentPositionToolStripMenuItem.Text = StringResource.SZEGMENS_SZETVAGASA;\r
+ actualPositionToIntroToolStripMenuItem.Text = StringResource.AKTUALIS_POZICIO_BEMENOKENT;\r
+ actualPositionToOutroToolStripMenuItem.Text = StringResource.AKTUALIS_POZICIO_KIMENOKENT;\r
+ deleteSegmentToolStripMenuItem.Text = StringResource.SZEGMENS_TORLESE;\r
+ menuButtonSegmentActions.Text = StringResource.SZEGMENS_AKCIÓK;\r
+\r
}\r
\r
private void cueue() {\r
}\r
\r
private MovieSegment GetCurrentSegment() {\r
- DataGridViewRow selectedRow = dgSegments.SelectedRows[0];\r
- for (int i = 0; i < dgSegments.Rows.Count; i++) {\r
- DataGridViewRow actual = dgSegments.Rows[i];\r
- if (selectedRow.Equals(actual)) {\r
- return segments[i];\r
- }\r
+ if (dgSegments.SelectedRows.Count > 0) {\r
+ DataGridViewRow selectedRow = dgSegments.SelectedRows[0];\r
+ for (int i = 0; i < dgSegments.Rows.Count; i++) {\r
+ DataGridViewRow actual = dgSegments.Rows[i];\r
+ if (selectedRow.Equals(actual)) {\r
+ return segments[i];\r
+ }\r
\r
+ }\r
}\r
return null;\r
}\r
cols[1].ReadOnly = true;\r
}\r
}\r
+\r
+ private void dgSegments_ColumnAdded(object sender, DataGridViewColumnEventArgs e) {\r
+ int index = e.Column.Index;\r
+ switch (index) {\r
+ case 0: e.Column.HeaderText = StringResource.BEMENO; break;\r
+ case 1: e.Column.HeaderText = StringResource.KIMENÕ; break;\r
+ case 2: e.Column.HeaderText = StringResource.VALASZTHATO; break;\r
+ case 3: e.Column.HeaderText = StringResource.KOMMENT; break;\r
+ }\r
+ }\r
}\r
}\r
<metadata name="ctxmSegmentActions.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">\r
<value>17, 17</value>\r
</metadata>\r
+ <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />\r
+ <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+ <value>\r
+ AAABAAEAICAAAAEAGACoDAAAFgAAACgAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\r
+ AAAAAAAAAAAAAAAAAAAAAAANDxIpMDs0Pks3QU84PkkVFxoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA\r
+ AAAAAAAAAAAAAAAAAAD/+A///+AH//+AAf/+AAB//AAAP/AAAA/gAAAHwAAAA4AAAAGAAAABgAAAAYAA\r
+ AAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAGAAAABgAAAAYAAAAHAAAAD4AAAB/AA\r
+ AA/8AAA//wAAf/+AAf//4Af///gf/w==\r
+</value>\r
+ </data>\r
</root>
\ No newline at end of file
--- /dev/null
+//------------------------------------------------------------------------------\r
+// <auto-generated>\r
+// This code was generated by a tool.\r
+// Runtime Version:4.0.30319.42000\r
+//\r
+// Changes to this file may cause incorrect behavior and will be lost if\r
+// the code is regenerated.\r
+// </auto-generated>\r
+//------------------------------------------------------------------------------\r
+\r
+namespace DxPlay {\r
+ using System;\r
+ \r
+ \r
+ /// <summary>\r
+ /// A strongly-typed resource class, for looking up localized strings, etc.\r
+ /// </summary>\r
+ // This class was auto-generated by the StronglyTypedResourceBuilder\r
+ // class via a tool like ResGen or Visual Studio.\r
+ // To add or remove a member, edit your .ResX file then rerun ResGen\r
+ // with the /str option, or rebuild your VS project.\r
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]\r
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]\r
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]\r
+ internal class StringResource {\r
+ \r
+ private static global::System.Resources.ResourceManager resourceMan;\r
+ \r
+ private static global::System.Globalization.CultureInfo resourceCulture;\r
+ \r
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]\r
+ internal StringResource() {\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Returns the cached ResourceManager instance used by this class.\r
+ /// </summary>\r
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]\r
+ internal static global::System.Resources.ResourceManager ResourceManager {\r
+ get {\r
+ if (object.ReferenceEquals(resourceMan, null)) {\r
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("DxPlay.StringResource", typeof(StringResource).Assembly);\r
+ resourceMan = temp;\r
+ }\r
+ return resourceMan;\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Overrides the current thread's CurrentUICulture property for all\r
+ /// resource lookups using this strongly typed resource class.\r
+ /// </summary>\r
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]\r
+ internal static global::System.Globalization.CultureInfo Culture {\r
+ get {\r
+ return resourceCulture;\r
+ }\r
+ set {\r
+ resourceCulture = value;\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Aktuális pozíció bemenőként.\r
+ /// </summary>\r
+ internal static string AKTUALIS_POZICIO_BEMENOKENT {\r
+ get {\r
+ return ResourceManager.GetString("AKTUALIS_POZICIO_BEMENOKENT", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Aktuális pozíció kimenőként.\r
+ /// </summary>\r
+ internal static string AKTUALIS_POZICIO_KIMENOKENT {\r
+ get {\r
+ return ResourceManager.GetString("AKTUALIS_POZICIO_KIMENOKENT", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Bemenő.\r
+ /// </summary>\r
+ internal static string BEMENO {\r
+ get {\r
+ return ResourceManager.GetString("BEMENO", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Kimenő.\r
+ /// </summary>\r
+ internal static string KIMENŐ {\r
+ get {\r
+ return ResourceManager.GetString("KIMENŐ", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Komment.\r
+ /// </summary>\r
+ internal static string KOMMENT {\r
+ get {\r
+ return ResourceManager.GetString("KOMMENT", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Szegmens akciók.\r
+ /// </summary>\r
+ internal static string SZEGMENS_AKCIÓK {\r
+ get {\r
+ return ResourceManager.GetString("SZEGMENS_AKCIÓK", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Szegmens definiálása.\r
+ /// </summary>\r
+ internal static string SZEGMENS_DEFINIALASA {\r
+ get {\r
+ return ResourceManager.GetString("SZEGMENS_DEFINIALASA", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Szegment szétvágása az aktuális pozíciónál.\r
+ /// </summary>\r
+ internal static string SZEGMENS_SZETVAGASA {\r
+ get {\r
+ return ResourceManager.GetString("SZEGMENS_SZETVAGASA", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Szegmens törlése.\r
+ /// </summary>\r
+ internal static string SZEGMENS_TORLESE {\r
+ get {\r
+ return ResourceManager.GetString("SZEGMENS_TORLESE", resourceCulture);\r
+ }\r
+ }\r
+ \r
+ /// <summary>\r
+ /// Looks up a localized string similar to Választható.\r
+ /// </summary>\r
+ internal static string VALASZTHATO {\r
+ get {\r
+ return ResourceManager.GetString("VALASZTHATO", resourceCulture);\r
+ }\r
+ }\r
+ }\r
+}\r
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+ <!-- \r
+ Microsoft ResX Schema \r
+ \r
+ Version 2.0\r
+ \r
+ The primary goals of this format is to allow a simple XML format \r
+ that is mostly human readable. The generation and parsing of the \r
+ various data types are done through the TypeConverter classes \r
+ associated with the data types.\r
+ \r
+ Example:\r
+ \r
+ ... ado.net/XML headers & schema ...\r
+ <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+ <resheader name="version">2.0</resheader>\r
+ <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+ <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+ <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+ <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+ <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+ </data>\r
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+ <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+ <comment>This is a comment</comment>\r
+ </data>\r
+ \r
+ There are any number of "resheader" rows that contain simple \r
+ name/value pairs.\r
+ \r
+ Each data row contains a name, and value. The row also contains a \r
+ type or mimetype. Type corresponds to a .NET class that support \r
+ text/value conversion through the TypeConverter architecture. \r
+ Classes that don't support this are serialized and stored with the \r
+ mimetype set.\r
+ \r
+ The mimetype is used for serialized objects, and tells the \r
+ ResXResourceReader how to depersist the object. This is currently not \r
+ extensible. For a given mimetype the value must be set accordingly:\r
+ \r
+ Note - application/x-microsoft.net.object.binary.base64 is the format \r
+ that the ResXResourceWriter will generate, however the reader can \r
+ read any of the formats listed below.\r
+ \r
+ mimetype: application/x-microsoft.net.object.binary.base64\r
+ value : The object must be serialized with \r
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter\r
+ : and then encoded with base64 encoding.\r
+ \r
+ mimetype: application/x-microsoft.net.object.soap.base64\r
+ value : The object must be serialized with \r
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+ : and then encoded with base64 encoding.\r
+\r
+ mimetype: application/x-microsoft.net.object.bytearray.base64\r
+ value : The object must be serialized into a byte array \r
+ : using a System.ComponentModel.TypeConverter\r
+ : and then encoded with base64 encoding.\r
+ -->\r
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />\r
+ <xsd:element name="root" msdata:IsDataSet="true">\r
+ <xsd:complexType>\r
+ <xsd:choice maxOccurs="unbounded">\r
+ <xsd:element name="metadata">\r
+ <xsd:complexType>\r
+ <xsd:sequence>\r
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+ </xsd:sequence>\r
+ <xsd:attribute name="name" use="required" type="xsd:string" />\r
+ <xsd:attribute name="type" type="xsd:string" />\r
+ <xsd:attribute name="mimetype" type="xsd:string" />\r
+ <xsd:attribute ref="xml:space" />\r
+ </xsd:complexType>\r
+ </xsd:element>\r
+ <xsd:element name="assembly">\r
+ <xsd:complexType>\r
+ <xsd:attribute name="alias" type="xsd:string" />\r
+ <xsd:attribute name="name" type="xsd:string" />\r
+ </xsd:complexType>\r
+ </xsd:element>\r
+ <xsd:element name="data">\r
+ <xsd:complexType>\r
+ <xsd:sequence>\r
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+ <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+ </xsd:sequence>\r
+ <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />\r
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+ <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+ <xsd:attribute ref="xml:space" />\r
+ </xsd:complexType>\r
+ </xsd:element>\r
+ <xsd:element name="resheader">\r
+ <xsd:complexType>\r
+ <xsd:sequence>\r
+ <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+ </xsd:sequence>\r
+ <xsd:attribute name="name" type="xsd:string" use="required" />\r
+ </xsd:complexType>\r
+ </xsd:element>\r
+ </xsd:choice>\r
+ </xsd:complexType>\r
+ </xsd:element>\r
+ </xsd:schema>\r
+ <resheader name="resmimetype">\r
+ <value>text/microsoft-resx</value>\r
+ </resheader>\r
+ <resheader name="version">\r
+ <value>2.0</value>\r
+ </resheader>\r
+ <resheader name="reader">\r
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+ </resheader>\r
+ <resheader name="writer">\r
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+ </resheader>\r
+ <data name="AKTUALIS_POZICIO_BEMENOKENT" xml:space="preserve">\r
+ <value>Aktuális pozíció bemenőként</value>\r
+ </data>\r
+ <data name="AKTUALIS_POZICIO_KIMENOKENT" xml:space="preserve">\r
+ <value>Aktuális pozíció kimenőként</value>\r
+ </data>\r
+ <data name="BEMENO" xml:space="preserve">\r
+ <value>Bemenő</value>\r
+ </data>\r
+ <data name="KIMENŐ" xml:space="preserve">\r
+ <value>Kimenő</value>\r
+ </data>\r
+ <data name="KOMMENT" xml:space="preserve">\r
+ <value>Komment</value>\r
+ </data>\r
+ <data name="SZEGMENS_AKCIÓK" xml:space="preserve">\r
+ <value>Szegmens akciók</value>\r
+ </data>\r
+ <data name="SZEGMENS_DEFINIALASA" xml:space="preserve">\r
+ <value>Szegmens definiálása</value>\r
+ </data>\r
+ <data name="SZEGMENS_SZETVAGASA" xml:space="preserve">\r
+ <value>Szegment szétvágása az aktuális pozíciónál</value>\r
+ </data>\r
+ <data name="SZEGMENS_TORLESE" xml:space="preserve">\r
+ <value>Szegmens törlése</value>\r
+ </data>\r
+ <data name="VALASZTHATO" xml:space="preserve">\r
+ <value>Választható</value>\r
+ </data>\r
+</root>
\ No newline at end of file
/// </summary>\r
private void InitializeComponent() {\r
this.components = new System.ComponentModel.Container();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle();\r
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();\r
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();\r
this.groupSource = new System.Windows.Forms.GroupBox();\r
this.dataGridSource = new System.Windows.Forms.DataGridView();\r
this.bindingSource = new System.Windows.Forms.BindingSource(this.components);\r
this.dataGridSource.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridSource.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
this.dataGridSource.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.Raised;\r
- dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle15.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle15;\r
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridSource.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;\r
this.dataGridSource.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridSource.DataSource = this.bindingSource;\r
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle16.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle16.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
- dataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.Black;\r
- dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridSource.DefaultCellStyle = dataGridViewCellStyle16;\r
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.Color.Black;\r
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridSource.DefaultCellStyle = dataGridViewCellStyle2;\r
this.dataGridSource.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridSource.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridSource.Location = new System.Drawing.Point(10, 43);\r
this.dataGridSource.Name = "dataGridSource";\r
this.dataGridSource.RowHeadersVisible = false;\r
- dataGridViewCellStyle17.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.dataGridSource.RowsDefaultCellStyle = dataGridViewCellStyle17;\r
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.dataGridSource.RowsDefaultCellStyle = dataGridViewCellStyle3;\r
this.dataGridSource.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.dataGridSource.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dataGridSource.Size = new System.Drawing.Size(394, 356);\r
this.dataGridJobs.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
this.dataGridJobs.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridJobs.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
- dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle18.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridJobs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;\r
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridJobs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;\r
this.dataGridJobs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridJobs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
this.columnID,\r
this.columnInput,\r
this.columnOutput});\r
this.dataGridJobs.DataSource = this.bindingSourceJobs;\r
- dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle22.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle22.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
- dataGridViewCellStyle22.SelectionForeColor = System.Drawing.Color.Black;\r
- dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridJobs.DefaultCellStyle = dataGridViewCellStyle22;\r
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle8.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle8.SelectionBackColor = System.Drawing.Color.Gainsboro;\r
+ dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black;\r
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridJobs.DefaultCellStyle = dataGridViewCellStyle8;\r
this.dataGridJobs.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridJobs.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridJobs.Location = new System.Drawing.Point(3, 3);\r
this.dataGridJobs.Name = "dataGridJobs";\r
- dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle23.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridJobs.RowHeadersDefaultCellStyle = dataGridViewCellStyle23;\r
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridJobs.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;\r
this.dataGridJobs.RowHeadersVisible = false;\r
- dataGridViewCellStyle24.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.dataGridJobs.RowsDefaultCellStyle = dataGridViewCellStyle24;\r
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.dataGridJobs.RowsDefaultCellStyle = dataGridViewCellStyle10;\r
this.dataGridJobs.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
this.dataGridJobs.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dataGridJobs.Size = new System.Drawing.Size(988, 92);\r
// \r
this.columnID.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
this.columnID.DataPropertyName = "ID";\r
- dataGridViewCellStyle19.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.columnID.DefaultCellStyle = dataGridViewCellStyle19;\r
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.columnID.DefaultCellStyle = dataGridViewCellStyle5;\r
this.columnID.Frozen = true;\r
this.columnID.HeaderText = "ID";\r
this.columnID.Name = "columnID";\r
// \r
this.columnStatus.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells;\r
this.columnStatus.DataPropertyName = "Status";\r
- dataGridViewCellStyle20.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- this.columnStatus.DefaultCellStyle = dataGridViewCellStyle20;\r
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ this.columnStatus.DefaultCellStyle = dataGridViewCellStyle6;\r
this.columnStatus.Frozen = true;\r
this.columnStatus.HeaderText = "Status";\r
this.columnStatus.Name = "columnStatus";\r
// \r
this.columnProgress.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;\r
this.columnProgress.DataPropertyName = "Progress";\r
- dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;\r
- dataGridViewCellStyle21.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
- dataGridViewCellStyle21.NullValue = null;\r
- this.columnProgress.DefaultCellStyle = dataGridViewCellStyle21;\r
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;\r
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));\r
+ dataGridViewCellStyle7.NullValue = null;\r
+ this.columnProgress.DefaultCellStyle = dataGridViewCellStyle7;\r
this.columnProgress.HeaderText = "Progress";\r
this.columnProgress.Name = "columnProgress";\r
this.columnProgress.Resizable = System.Windows.Forms.DataGridViewTriState.True;\r
this.dataGridMessages.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCells;\r
this.dataGridMessages.BackgroundColor = System.Drawing.Color.White;\r
this.dataGridMessages.BorderStyle = System.Windows.Forms.BorderStyle.None;\r
- dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle25.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle25;\r
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridMessages.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;\r
this.dataGridMessages.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;\r
this.dataGridMessages.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {\r
this.timeDataGridViewTextBoxColumn,\r
this.Level,\r
this.messageDataGridViewTextBoxColumn});\r
this.dataGridMessages.DataSource = this.systemMessageBindingSource;\r
- dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle26.BackColor = System.Drawing.SystemColors.Window;\r
- dataGridViewCellStyle26.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- dataGridViewCellStyle26.ForeColor = System.Drawing.SystemColors.ControlText;\r
- dataGridViewCellStyle26.SelectionBackColor = System.Drawing.Color.Transparent;\r
- dataGridViewCellStyle26.SelectionForeColor = System.Drawing.Color.Black;\r
- dataGridViewCellStyle26.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
- this.dataGridMessages.DefaultCellStyle = dataGridViewCellStyle26;\r
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;\r
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.ControlText;\r
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.Color.Transparent;\r
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.Color.Black;\r
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;\r
+ this.dataGridMessages.DefaultCellStyle = dataGridViewCellStyle12;\r
this.dataGridMessages.Dock = System.Windows.Forms.DockStyle.Fill;\r
this.dataGridMessages.EditMode = System.Windows.Forms.DataGridViewEditMode.EditProgrammatically;\r
this.dataGridMessages.Location = new System.Drawing.Point(3, 3);\r
this.dataGridMessages.Name = "dataGridMessages";\r
- dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
- dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Control;\r
- dataGridViewCellStyle27.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- dataGridViewCellStyle27.ForeColor = System.Drawing.SystemColors.WindowText;\r
- dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
- dataGridViewCellStyle27.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
- dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
- this.dataGridMessages.RowHeadersDefaultCellStyle = dataGridViewCellStyle27;\r
+ dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;\r
+ dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;\r
+ dataGridViewCellStyle13.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;\r
+ dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;\r
+ dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;\r
+ dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;\r
+ this.dataGridMessages.RowHeadersDefaultCellStyle = dataGridViewCellStyle13;\r
this.dataGridMessages.RowHeadersVisible = false;\r
- dataGridViewCellStyle28.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
- this.dataGridMessages.RowsDefaultCellStyle = dataGridViewCellStyle28;\r
+ dataGridViewCellStyle14.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
+ this.dataGridMessages.RowsDefaultCellStyle = dataGridViewCellStyle14;\r
this.dataGridMessages.RowTemplate.DefaultCellStyle.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F);\r
this.dataGridMessages.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;\r
this.dataGridMessages.Size = new System.Drawing.Size(988, 92);\r
TargetConfig = target,\r
VariantID = variantID\r
};\r
- object[] parameters = new object[] { this, parameterObj};\r
+ object[] parameters = new object[] { this, parameterObj };\r
ITargetProcessor processor = (ITargetProcessor)Activator.CreateInstance(type, parameters);\r
processors.Add(processor);\r
}\r
}\r
\r
private void OnInfoTextChanged(object sender, EventArgs e) {\r
- ApplyProcessorButtonsLogic();\r
+ if (!sender.Equals(textSelectedSource))\r
+ ApplyProcessorButtonsLogic();\r
ApplyMetaDataButtonLogic();\r
}\r
\r
string id = selectedMetadata.ID;\r
TrafficAPI api = trafficIDSelector.trafficAPI;\r
List<ArchiveMatadataWrapper> result = null;\r
+ if (id == null)\r
+ return;\r
if (id.StartsWith("M"))\r
result = api.GetBroadcastArchiveMetadata(id);\r
else if (id.StartsWith("P"))\r
if (!initialized)\r
InnerStartUp();\r
}\r
- System.Threading.Thread.Sleep(1000);\r
+ System.Threading.Thread.Sleep(100);\r
}\r
\r
}\r
this.dataGridView1.TabIndex = 0;\r
this.dataGridView1.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentClick);\r
this.dataGridView1.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellDoubleClick);\r
+ this.dataGridView1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.dataGridView1_KeyDown);\r
// \r
// scheduledDate\r
// \r
\r
private void dataGridView1_CellDoubleClick(object sender, DataGridViewCellEventArgs e) {\r
DataGridViewCell checkBoxCell = dataGridView1.Rows[e.RowIndex].Cells[0];\r
- SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, e.RowIndex);\r
+ MamResultWrapper res = dataGridView1.Rows[e.RowIndex].DataBoundItem as MamResultWrapper;\r
+ SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, res);\r
}\r
\r
private void searchButton_Click(object sender, EventArgs e) {\r
return;\r
//nincs multiselect\r
DataGridViewCell checkBoxCell = gridView.SelectedCells[0];\r
- SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, e.RowIndex);\r
+ MamResultWrapper res = dataGridView1.Rows[e.RowIndex].DataBoundItem as MamResultWrapper;\r
+ SetCheckBoxAndInvokeIDChangeEvent(checkBoxCell, res);\r
//bool isChecked = (bool)checkBoxCell.Value;\r
//checkBoxCell.Value = !isChecked;\r
}\r
\r
- private void SetCheckBoxAndInvokeIDChangeEvent(DataGridViewCell checkBoxCell, int rowIndex) {\r
+ private void SetCheckBoxAndInvokeIDChangeEvent(DataGridViewCell checkBoxCell, MamResultWrapper res) {\r
bool selected = checkBoxCell.Value.Equals(false);\r
clearCheckBox?.Invoke();\r
ClearSelectionSource();\r
//checkBoxCell.Value = checkBoxCell.Value.Equals(true) ? true : false;\r
- MamResultWrapper res = dataGridView1.Rows[rowIndex].DataBoundItem as MamResultWrapper;\r
+ //MamResultWrapper res = dataGridView1.Rows[rowIndex].DataBoundItem as MamResultWrapper;\r
res.Selected = selected;\r
if (selected) {\r
IDChangedEvent?.Invoke(res.MediaID, res.VariantID);\r
} else\r
IDChangedEvent?.Invoke(string.Empty, 0);\r
+ //UpdateDataChange();\r
+ }\r
+\r
+ private void UpdateDataChange() {\r
+ List<MamResultWrapper> list = dataGridView1.DataSource as List<MamResultWrapper>;\r
+ if (list == null)\r
+ return;\r
+ List<MamResultWrapper> newList = new List<MamResultWrapper>(list);\r
+ dataGridView1.DataSource = null;\r
+ dataGridView1.DataSource = newList;\r
}\r
\r
public void ClearSelectionSource() {\r
actual.Value = false;\r
}\r
}\r
+\r
+ private void dataGridView1_KeyDown(object sender, KeyEventArgs e) {\r
+ if (e.KeyCode == Keys.Space && dataGridView1.CurrentCell.GetType() != typeof(DataGridViewCheckBoxCell)) {\r
+ var selectedRows = dataGridView1.SelectedRows[0];\r
+ DataGridViewCell cell = selectedRows.Cells[0] as DataGridViewCell;\r
+ if (cell == null)\r
+ return;\r
+ MamResultWrapper res = selectedRows.DataBoundItem as MamResultWrapper;\r
+ SetCheckBoxAndInvokeIDChangeEvent(cell, res);\r
+ }\r
+ }\r
}\r
\r
public class MamResultWrapper {\r