diff --git a/LICENSE b/LICENSE index 8000a6fa..cbc15301 100644 --- a/LICENSE +++ b/LICENSE @@ -1,504 +1,56 @@ - GNU LESSER GENERAL PUBLIC LICENSE - Version 2.1, February 1999 +GNU LESSER GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 - Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Copyright © 2007 Free Software Foundation, Inc. -[This is the first released version of the Lesser GPL. It also counts - as the successor of the GNU Library Public License, version 2, hence - the version number 2.1.] +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - Preamble +This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -Licenses are intended to guarantee your freedom to share and change -free software--to make sure the software is free for all its users. +0. Additional Definitions. +As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. - This license, the Lesser General Public License, applies to some -specially designated software packages--typically libraries--of the -Free Software Foundation and other authors who decide to use it. You -can use it too, but we suggest you first think carefully about whether -this license or the ordinary General Public License is the better -strategy to use in any particular case, based on the explanations below. +“The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. - When we speak of free software, we are referring to freedom of use, -not price. Our General Public Licenses are designed to make sure that -you have the freedom to distribute copies of free software (and charge -for this service if you wish); that you receive source code or can get -it if you want it; that you can change the software and use pieces of -it in new free programs; and that you are informed that you can do -these things. +An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. - To protect your rights, we need to make restrictions that forbid -distributors to deny you these rights or to ask you to surrender these -rights. These restrictions translate to certain responsibilities for -you if you distribute copies of the library or if you modify it. +A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. - For example, if you distribute copies of the library, whether gratis -or for a fee, you must give the recipients all the rights that we gave -you. You must make sure that they, too, receive or can get the source -code. If you link other code with the library, you must provide -complete object files to the recipients, so that they can relink them -with the library after making changes to the library and recompiling -it. And you must show them these terms so they know their rights. +The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. - We protect your rights with a two-step method: (1) we copyright the -library, and (2) we offer you this license, which gives you legal -permission to copy, distribute and/or modify the library. +The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. - To protect each distributor, we want to make it very clear that -there is no warranty for the free library. Also, if the library is -modified by someone else and passed on, the recipients should know -that what they have is not the original version, so that the original -author's reputation will not be affected by problems that might be -introduced by others. +1. Exception to Section 3 of the GNU GPL. +You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. - Finally, software patents pose a constant threat to the existence of -any free program. We wish to make sure that a company cannot -effectively restrict the users of a free program by obtaining a -restrictive license from a patent holder. Therefore, we insist that -any patent license obtained for a version of the library must be -consistent with the full freedom of use specified in this license. +2. Conveying Modified Versions. +If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: - Most GNU software, including some libraries, is covered by the -ordinary GNU General Public License. This license, the GNU Lesser -General Public License, applies to certain designated libraries, and -is quite different from the ordinary General Public License. We use -this license for certain libraries in order to permit linking those -libraries into non-free programs. +a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or +b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. +3. Object Code Incorporating Material from Library Header Files. +The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: - When a program is linked with a library, whether statically or using -a shared library, the combination of the two is legally speaking a -combined work, a derivative of the original library. The ordinary -General Public License therefore permits such linking only if the -entire combination fits its criteria of freedom. The Lesser General -Public License permits more lax criteria for linking other code with -the library. +a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. +b) Accompany the object code with a copy of the GNU GPL and this license document. +4. Combined Works. +You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: - We call this license the "Lesser" General Public License because it -does Less to protect the user's freedom than the ordinary General -Public License. It also provides other free software developers Less -of an advantage over competing non-free programs. These disadvantages -are the reason we use the ordinary General Public License for many -libraries. However, the Lesser license provides advantages in certain -special circumstances. +a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. +b) Accompany the Combined Work with a copy of the GNU GPL and this license document. +c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. +d) Do one of the following: +0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. +1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. +e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) +5. Combined Libraries. +You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: - For example, on rare occasions, there may be a special need to -encourage the widest possible use of a certain library, so that it becomes -a de-facto standard. To achieve this, non-free programs must be -allowed to use the library. A more frequent case is that a free -library does the same job as widely used non-free libraries. In this -case, there is little to gain by limiting the free library to free -software only, so we use the Lesser General Public License. +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. +b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. +6. Revised Versions of the GNU Lesser General Public License. +The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - In other cases, permission to use a particular library in non-free -programs enables a greater number of people to use a large body of -free software. For example, permission to use the GNU C Library in -non-free programs enables many more people to use the whole GNU -operating system, as well as its variant, the GNU/Linux operating -system. +Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. - Although the Lesser General Public License is Less protective of the -users' freedom, it does ensure that the user of a program that is -linked with the Library has the freedom and the wherewithal to run -that program using a modified version of the Library. - - The precise terms and conditions for copying, distribution and -modification follow. Pay close attention to the difference between a -"work based on the library" and a "work that uses the library". The -former contains code derived from the library, whereas the latter must -be combined with the library in order to run. - - GNU LESSER GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License Agreement applies to any software library or other -program which contains a notice placed by the copyright holder or -other authorized party saying it may be distributed under the terms of -this Lesser General Public License (also called "this License"). -Each licensee is addressed as "you". - - A "library" means a collection of software functions and/or data -prepared so as to be conveniently linked with application programs -(which use some of those functions and data) to form executables. - - The "Library", below, refers to any such software library or work -which has been distributed under these terms. A "work based on the -Library" means either the Library or any derivative work under -copyright law: that is to say, a work containing the Library or a -portion of it, either verbatim or with modifications and/or translated -straightforwardly into another language. (Hereinafter, translation is -included without limitation in the term "modification".) - - "Source code" for a work means the preferred form of the work for -making modifications to it. For a library, complete source code means -all the source code for all modules it contains, plus any associated -interface definition files, plus the scripts used to control compilation -and installation of the library. - - Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running a program using the Library is not restricted, and output from -such a program is covered only if its contents constitute a work based -on the Library (independent of the use of the Library in a tool for -writing it). Whether that is true depends on what the Library does -and what the program that uses the Library does. - - 1. You may copy and distribute verbatim copies of the Library's -complete source code as you receive it, in any medium, provided that -you conspicuously and appropriately publish on each copy an -appropriate copyright notice and disclaimer of warranty; keep intact -all the notices that refer to this License and to the absence of any -warranty; and distribute a copy of this License along with the -Library. - - You may charge a fee for the physical act of transferring a copy, -and you may at your option offer warranty protection in exchange for a -fee. - - 2. You may modify your copy or copies of the Library or any portion -of it, thus forming a work based on the Library, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) The modified work must itself be a software library. - - b) You must cause the files modified to carry prominent notices - stating that you changed the files and the date of any change. - - c) You must cause the whole of the work to be licensed at no - charge to all third parties under the terms of this License. - - d) If a facility in the modified Library refers to a function or a - table of data to be supplied by an application program that uses - the facility, other than as an argument passed when the facility - is invoked, then you must make a good faith effort to ensure that, - in the event an application does not supply such function or - table, the facility still operates, and performs whatever part of - its purpose remains meaningful. - - (For example, a function in a library to compute square roots has - a purpose that is entirely well-defined independent of the - application. Therefore, Subsection 2d requires that any - application-supplied function or table used by this function must - be optional: if the application does not supply it, the square - root function must still compute square roots.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Library, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Library, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote -it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Library. - -In addition, mere aggregation of another work not based on the Library -with the Library (or with a work based on the Library) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may opt to apply the terms of the ordinary GNU General Public -License instead of this License to a given copy of the Library. To do -this, you must alter all the notices that refer to this License, so -that they refer to the ordinary GNU General Public License, version 2, -instead of to this License. (If a newer version than version 2 of the -ordinary GNU General Public License has appeared, then you can specify -that version instead if you wish.) Do not make any other change in -these notices. - - Once this change is made in a given copy, it is irreversible for -that copy, so the ordinary GNU General Public License applies to all -subsequent copies and derivative works made from that copy. - - This option is useful when you wish to copy part of the code of -the Library into a program that is not a library. - - 4. You may copy and distribute the Library (or a portion or -derivative of it, under Section 2) in object code or executable form -under the terms of Sections 1 and 2 above provided that you accompany -it with the complete corresponding machine-readable source code, which -must be distributed under the terms of Sections 1 and 2 above on a -medium customarily used for software interchange. - - If distribution of object code is made by offering access to copy -from a designated place, then offering equivalent access to copy the -source code from the same place satisfies the requirement to -distribute the source code, even though third parties are not -compelled to copy the source along with the object code. - - 5. A program that contains no derivative of any portion of the -Library, but is designed to work with the Library by being compiled or -linked with it, is called a "work that uses the Library". Such a -work, in isolation, is not a derivative work of the Library, and -therefore falls outside the scope of this License. - - However, linking a "work that uses the Library" with the Library -creates an executable that is a derivative of the Library (because it -contains portions of the Library), rather than a "work that uses the -library". The executable is therefore covered by this License. -Section 6 states terms for distribution of such executables. - - When a "work that uses the Library" uses material from a header file -that is part of the Library, the object code for the work may be a -derivative work of the Library even though the source code is not. -Whether this is true is especially significant if the work can be -linked without the Library, or if the work is itself a library. The -threshold for this to be true is not precisely defined by law. - - If such an object file uses only numerical parameters, data -structure layouts and accessors, and small macros and small inline -functions (ten lines or less in length), then the use of the object -file is unrestricted, regardless of whether it is legally a derivative -work. (Executables containing this object code plus portions of the -Library will still fall under Section 6.) - - Otherwise, if the work is a derivative of the Library, you may -distribute the object code for the work under the terms of Section 6. -Any executables containing that work also fall under Section 6, -whether or not they are linked directly with the Library itself. - - 6. As an exception to the Sections above, you may also combine or -link a "work that uses the Library" with the Library to produce a -work containing portions of the Library, and distribute that work -under terms of your choice, provided that the terms permit -modification of the work for the customer's own use and reverse -engineering for debugging such modifications. - - You must give prominent notice with each copy of the work that the -Library is used in it and that the Library and its use are covered by -this License. You must supply a copy of this License. If the work -during execution displays copyright notices, you must include the -copyright notice for the Library among them, as well as a reference -directing the user to the copy of this License. Also, you must do one -of these things: - - a) Accompany the work with the complete corresponding - machine-readable source code for the Library including whatever - changes were used in the work (which must be distributed under - Sections 1 and 2 above); and, if the work is an executable linked - with the Library, with the complete machine-readable "work that - uses the Library", as object code and/or source code, so that the - user can modify the Library and then relink to produce a modified - executable containing the modified Library. (It is understood - that the user who changes the contents of definitions files in the - Library will not necessarily be able to recompile the application - to use the modified definitions.) - - b) Use a suitable shared library mechanism for linking with the - Library. A suitable mechanism is one that (1) uses at run time a - copy of the library already present on the user's computer system, - rather than copying library functions into the executable, and (2) - will operate properly with a modified version of the library, if - the user installs one, as long as the modified version is - interface-compatible with the version that the work was made with. - - c) Accompany the work with a written offer, valid for at - least three years, to give the same user the materials - specified in Subsection 6a, above, for a charge no more - than the cost of performing this distribution. - - d) If distribution of the work is made by offering access to copy - from a designated place, offer equivalent access to copy the above - specified materials from the same place. - - e) Verify that the user has already received a copy of these - materials or that you have already sent this user a copy. - - For an executable, the required form of the "work that uses the -Library" must include any data and utility programs needed for -reproducing the executable from it. However, as a special exception, -the materials to be distributed need not include anything that is -normally distributed (in either source or binary form) with the major -components (compiler, kernel, and so on) of the operating system on -which the executable runs, unless that component itself accompanies -the executable. - - It may happen that this requirement contradicts the license -restrictions of other proprietary libraries that do not normally -accompany the operating system. Such a contradiction means you cannot -use both them and the Library together in an executable that you -distribute. - - 7. You may place library facilities that are a work based on the -Library side-by-side in a single library together with other library -facilities not covered by this License, and distribute such a combined -library, provided that the separate distribution of the work based on -the Library and of the other library facilities is otherwise -permitted, and provided that you do these two things: - - a) Accompany the combined library with a copy of the same work - based on the Library, uncombined with any other library - facilities. This must be distributed under the terms of the - Sections above. - - b) Give prominent notice with the combined library of the fact - that part of it is a work based on the Library, and explaining - where to find the accompanying uncombined form of the same work. - - 8. You may not copy, modify, sublicense, link with, or distribute -the Library except as expressly provided under this License. Any -attempt otherwise to copy, modify, sublicense, link with, or -distribute the Library is void, and will automatically terminate your -rights under this License. However, parties who have received copies, -or rights, from you under this License will not have their licenses -terminated so long as such parties remain in full compliance. - - 9. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Library or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Library (or any work based on the -Library), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Library or works based on it. - - 10. Each time you redistribute the Library (or any work based on the -Library), the recipient automatically receives a license from the -original licensor to copy, distribute, link with or modify the Library -subject to these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties with -this License. - - 11. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Library at all. For example, if a patent -license would not permit royalty-free redistribution of the Library by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Library. - -If any portion of this section is held invalid or unenforceable under any -particular circumstance, the balance of the section is intended to apply, -and the section as a whole is intended to apply in other circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 12. If the distribution and/or use of the Library is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Library under this License may add -an explicit geographical distribution limitation excluding those countries, -so that distribution is permitted only in or among countries not thus -excluded. In such case, this License incorporates the limitation as if -written in the body of this License. - - 13. The Free Software Foundation may publish revised and/or new -versions of the Lesser General Public License from time to time. -Such new versions will be similar in spirit to the present version, -but may differ in detail to address new problems or concerns. - -Each version is given a distinguishing version number. If the Library -specifies a version number of this License which applies to it and -"any later version", you have the option of following the terms and -conditions either of that version or of any later version published by -the Free Software Foundation. If the Library does not specify a -license version number, you may choose any version ever published by -the Free Software Foundation. - - 14. If you wish to incorporate parts of the Library into other free -programs whose distribution conditions are incompatible with these, -write to the author to ask for permission. For software which is -copyrighted by the Free Software Foundation, write to the Free -Software Foundation; we sometimes make exceptions for this. Our -decision will be guided by the two goals of preserving the free status -of all derivatives of our free software and of promoting the sharing -and reuse of software generally. - - NO WARRANTY - - 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO -WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. -EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR -OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY -KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR -PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE -LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME -THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. - - 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN -WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY -AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU -FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR -CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE -LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING -RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A -FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF -SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH -DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Libraries - - If you develop a new library, and you want it to be of the greatest -possible use to the public, we recommend making it free software that -everyone can redistribute and change. You can do so by permitting -redistribution under these terms (or, alternatively, under the terms of the -ordinary General Public License). - - To apply these terms, attach the following notices to the library. It is -safest to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least the -"copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This library is free software; you can redistribute it and/or - modify it under the terms of the GNU Lesser General Public - License as published by the Free Software Foundation; either - version 2.1 of the License, or (at your option) any later version. - - This library is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - Lesser General Public License for more details. - - You should have received a copy of the GNU Lesser General Public - License along with this library; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - USA - -Also add information on how to contact you by electronic and paper mail. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the library, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the - library `Frob' (a library for tweaking knobs) written by James Random - Hacker. - - , 1 April 1990 - Ty Coon, President of Vice - -That's all there is to it! +If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. \ No newline at end of file diff --git a/MXF/Entries/MXFANCPacket.cs b/MXF/Entries/MXFANCPacket.cs index d8ef6178..e4fc42f4 100644 --- a/MXF/Entries/MXFANCPacket.cs +++ b/MXF/Entries/MXFANCPacket.cs @@ -111,7 +111,7 @@ static MXFANCPacket() m_DIDDescription.Add(combinedDID, string.Format("{0} ({1})", parts[5], parts[4])); //Debug.WriteLine("combinedDID = {0:X4}, Name = {1} ({2})", combinedDID, parts[5], parts[4]); } - catch (Exception ex) + catch (Exception) { } } diff --git a/MXF/Entries/MXFEntryCCData.cs b/MXF/Entries/MXFEntryCCData.cs index 8bc4f948..51db20bb 100644 --- a/MXF/Entries/MXFEntryCCData.cs +++ b/MXF/Entries/MXFEntryCCData.cs @@ -62,7 +62,7 @@ public MXFEntryCCData(IKLVStreamReader reader) // When this object is not valid, set the type to filler // TODO this does not seem to be the correct thing to do! - if (this.Valid.HasValue && !this.Valid.Value); + //if (this.Valid.HasValue && !this.Valid.Value); //this.m_eType = MXFObjectType.Filler; } diff --git a/MXF/MXFFile.cs b/MXF/MXFFile.cs index 3a89601e..822701b8 100644 --- a/MXF/MXFFile.cs +++ b/MXF/MXFFile.cs @@ -120,10 +120,9 @@ protected async Task ParseAsync(IProgress overallProgress = ct.ThrowIfCancellationRequested(); } // TODO be more selective with the exception - catch (ArgumentException e) + catch (ArgumentException) { // error in klv-stream - long lastgoodPos = parser.Current.Offset + parser.Current.TotalLength; if (!parser.SeekForNextPotentialKey(out long newOffset)) { diff --git a/MXFInspect/AboutForm.Designer.cs b/MXFInspect/AboutForm.Designer.cs index 0b9e47a5..bf1c7897 100644 --- a/MXFInspect/AboutForm.Designer.cs +++ b/MXFInspect/AboutForm.Designer.cs @@ -42,17 +42,18 @@ private void InitializeComponent() this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.linkLabel1 = new System.Windows.Forms.LinkLabel(); - this.label3 = new System.Windows.Forms.Label(); + this.lblContributors = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.pbLogo)).BeginInit(); this.SuspendLayout(); // // lblTitle // this.lblTitle.BackColor = System.Drawing.Color.Transparent; - this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); - this.lblTitle.Location = new System.Drawing.Point(34, 124); + this.lblTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point); + this.lblTitle.Location = new System.Drawing.Point(27, 302); + this.lblTitle.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.lblTitle.Name = "lblTitle"; - this.lblTitle.Size = new System.Drawing.Size(262, 36); + this.lblTitle.Size = new System.Drawing.Size(568, 89); this.lblTitle.TabIndex = 2; this.lblTitle.Text = "MXFInspect"; this.lblTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; @@ -61,8 +62,9 @@ private void InitializeComponent() // this.pbLogo.Image = ((System.Drawing.Image)(resources.GetObject("pbLogo.Image"))); this.pbLogo.Location = new System.Drawing.Point(0, 0); + this.pbLogo.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.pbLogo.Name = "pbLogo"; - this.pbLogo.Size = new System.Drawing.Size(1262, 121); + this.pbLogo.Size = new System.Drawing.Size(2734, 298); this.pbLogo.TabIndex = 3; this.pbLogo.TabStop = false; this.pbLogo.Click += new System.EventHandler(this.pbLogo_Click); @@ -70,18 +72,20 @@ private void InitializeComponent() // lblVersion // this.lblVersion.AutoSize = true; - this.lblVersion.Location = new System.Drawing.Point(35, 156); + this.lblVersion.Location = new System.Drawing.Point(27, 383); + this.lblVersion.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.lblVersion.Name = "lblVersion"; - this.lblVersion.Size = new System.Drawing.Size(78, 13); + this.lblVersion.Size = new System.Drawing.Size(166, 32); this.lblVersion.TabIndex = 4; this.lblVersion.Text = "Version 2.3.0.5"; // // llMyriadbits // this.llMyriadbits.AutoSize = true; - this.llMyriadbits.Location = new System.Drawing.Point(35, 200); + this.llMyriadbits.Location = new System.Drawing.Point(27, 561); + this.llMyriadbits.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.llMyriadbits.Name = "llMyriadbits"; - this.llMyriadbits.Size = new System.Drawing.Size(103, 13); + this.llMyriadbits.Size = new System.Drawing.Size(232, 32); this.llMyriadbits.TabIndex = 5; this.llMyriadbits.TabStop = true; this.llMyriadbits.Text = "www.myriadbits.com"; @@ -90,27 +94,32 @@ private void InitializeComponent() // lblCopyright // this.lblCopyright.AutoSize = true; - this.lblCopyright.Location = new System.Drawing.Point(35, 170); + this.lblCopyright.Location = new System.Drawing.Point(27, 415); + this.lblCopyright.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.lblCopyright.Name = "lblCopyright"; - this.lblCopyright.Size = new System.Drawing.Size(184, 13); + this.lblCopyright.Size = new System.Drawing.Size(362, 32); this.lblCopyright.TabIndex = 4; - this.lblCopyright.Text = "Copyright (c) 2021 by Jochem Bakker"; + this.lblCopyright.Text = "Copyright (c) 2023 by Myriadbits"; // // label4 // + this.label4.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label4.AutoSize = true; - this.label4.Location = new System.Drawing.Point(35, 232); + this.label4.Location = new System.Drawing.Point(27, 639); + this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(223, 13); + this.label4.Size = new System.Drawing.Size(464, 32); this.label4.TabIndex = 4; - this.label4.Text = "This program is licensed under the GPL, click "; + this.label4.Text = "This program is licensed under LGPL, click "; // // linkLabel2 // + this.linkLabel2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkLabel2.AutoSize = true; - this.linkLabel2.Location = new System.Drawing.Point(253, 232); + this.linkLabel2.Location = new System.Drawing.Point(473, 639); + this.linkLabel2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.linkLabel2.Name = "linkLabel2"; - this.linkLabel2.Size = new System.Drawing.Size(28, 13); + this.linkLabel2.Size = new System.Drawing.Size(62, 32); this.linkLabel2.TabIndex = 5; this.linkLabel2.TabStop = true; this.linkLabel2.Text = "here"; @@ -118,20 +127,26 @@ private void InitializeComponent() // // label5 // + this.label5.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(280, 232); + this.label5.Location = new System.Drawing.Point(532, 639); + this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(99, 13); + this.label5.Size = new System.Drawing.Size(221, 32); this.label5.TabIndex = 4; this.label5.Text = "to view this license."; // // txtLicense // - this.txtLicense.Location = new System.Drawing.Point(12, 124); + this.txtLicense.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.txtLicense.Location = new System.Drawing.Point(15, 305); + this.txtLicense.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.txtLicense.Multiline = true; this.txtLicense.Name = "txtLicense"; this.txtLicense.ScrollBars = System.Windows.Forms.ScrollBars.Vertical; - this.txtLicense.Size = new System.Drawing.Size(500, 97); + this.txtLicense.Size = new System.Drawing.Size(1105, 320); this.txtLicense.TabIndex = 6; this.txtLicense.Visible = false; // @@ -139,9 +154,10 @@ private void InitializeComponent() // this.bntClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.bntClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.bntClose.Location = new System.Drawing.Point(437, 247); + this.bntClose.Location = new System.Drawing.Point(958, 646); + this.bntClose.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.bntClose.Name = "bntClose"; - this.bntClose.Size = new System.Drawing.Size(75, 23); + this.bntClose.Size = new System.Drawing.Size(162, 57); this.bntClose.TabIndex = 7; this.bntClose.Text = "Close"; this.bntClose.UseVisualStyleBackColor = true; @@ -149,50 +165,58 @@ private void InitializeComponent() // // label1 // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(35, 252); + this.label1.Location = new System.Drawing.Point(27, 671); + this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(160, 13); + this.label1.Size = new System.Drawing.Size(360, 32); this.label1.TabIndex = 8; this.label1.Text = "This application uses the (great!)"; // // label2 // + this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(301, 252); + this.label2.Location = new System.Drawing.Point(613, 671); + this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(87, 13); + this.label2.Size = new System.Drawing.Size(203, 32); this.label2.TabIndex = 9; this.label2.Text = "from Phillip Piper."; // // linkLabel1 // + this.linkLabel1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.linkLabel1.AutoSize = true; - this.linkLabel1.Location = new System.Drawing.Point(194, 252); + this.linkLabel1.Location = new System.Drawing.Point(379, 671); + this.linkLabel1.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); this.linkLabel1.Name = "linkLabel1"; - this.linkLabel1.Size = new System.Drawing.Size(107, 13); + this.linkLabel1.Size = new System.Drawing.Size(243, 32); this.linkLabel1.TabIndex = 10; this.linkLabel1.TabStop = true; this.linkLabel1.Text = "ObjectListView library"; this.linkLabel1.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.linkLabel1_LinkClicked); // - // label3 + // lblContributors // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(35, 186); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(303, 13); - this.label3.TabIndex = 11; - this.label3.Text = "Contributors: Wolfgang Rupel, wsperandio and Nicolas Gaullier"; + this.lblContributors.AutoSize = true; + this.lblContributors.Location = new System.Drawing.Point(27, 447); + this.lblContributors.Margin = new System.Windows.Forms.Padding(6, 0, 6, 0); + this.lblContributors.Name = "lblContributors"; + this.lblContributors.Size = new System.Drawing.Size(541, 96); + this.lblContributors.TabIndex = 11; + this.lblContributors.Text = "Contributors: \r\n Rayden84, Feigenanton, ft, ws, Wolfgang Rupel, \r\n wsperandio &" + + " Nicolas Gaullier\r\n"; // // AboutForm // this.AcceptButton = this.bntClose; - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.bntClose; - this.ClientSize = new System.Drawing.Size(524, 281); - this.Controls.Add(this.label3); + this.ClientSize = new System.Drawing.Size(1135, 731); + this.Controls.Add(this.lblContributors); this.Controls.Add(this.linkLabel1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); @@ -206,10 +230,11 @@ private void InitializeComponent() this.Controls.Add(this.lblTitle); this.Controls.Add(this.pbLogo); this.Controls.Add(this.txtLicense); + this.Margin = new System.Windows.Forms.Padding(6, 7, 6, 7); this.MaximizeBox = false; - this.MaximumSize = new System.Drawing.Size(1270, 320); + this.MaximumSize = new System.Drawing.Size(3000, 2000); this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(540, 320); + this.MinimumSize = new System.Drawing.Size(1161, 802); this.Name = "AboutForm"; this.ShowIcon = false; this.ShowInTaskbar = false; @@ -237,6 +262,6 @@ private void InitializeComponent() private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.LinkLabel linkLabel1; - private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label lblContributors; } } \ No newline at end of file diff --git a/MXFInspect/AboutForm.cs b/MXFInspect/AboutForm.cs index cd2526bd..915e2e3c 100644 --- a/MXFInspect/AboutForm.cs +++ b/MXFInspect/AboutForm.cs @@ -61,6 +61,7 @@ private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs vis = false; this.lblTitle.Visible = !vis; + this.lblContributors.Visible = !vis; this.lblVersion.Visible = !vis; this.lblCopyright.Visible = !vis; this.llMyriadbits.Visible = !vis; diff --git a/MXFInspect/AboutForm.resx b/MXFInspect/AboutForm.resx index d12f154c..938b7763 100644 --- a/MXFInspect/AboutForm.resx +++ b/MXFInspect/AboutForm.resx @@ -1,64 +1,4 @@ - - - + @@ -121,7 +61,7 @@ iVBORw0KGgoAAAANSUhEUgAABOwAAAB4CAIAAADOn/qUAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAO - wgAADsIBFShKgAAAABZ0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMDvo9WkAAH7SSURBVHhe7b1/0K1X + vAAADrwBlbxySQAAABZ0RVh0U29mdHdhcmUAcGFpbnQubmV0IDQuMDvo9WkAAH7SSURBVHhe7b1/0K1X dR6WGRjDOCSlNhlTWyZ2h7RkomaITTEpio1jTZAxYUStENmiFFyREKNibMAVgYApMbhVY2GDR5MwNRVg q4EBNRZBg2kqY0HkQSayIjGXGbmRsNJ806qVxnOdwYz+oGv/WHuv9ay11/vu7/vO1b3X+5lv7nv2u579 7Getvd/3u/uc853zp76xsLCwsLCwsLCwsLCwsHCBADexjz70lYce/Xp7nHB0tjQBMvr12vgKdS5RhbNH diff --git a/MXFInspect/CustomControls/LogicalTreeListView.cs b/MXFInspect/CustomControls/LogicalTreeListView.cs index 559e10dc..bcd8d6ff 100644 --- a/MXFInspect/CustomControls/LogicalTreeListView.cs +++ b/MXFInspect/CustomControls/LogicalTreeListView.cs @@ -28,6 +28,7 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; +using System.Runtime.Versioning; using System.Windows.Forms; namespace Myriadbits.MXFInspect @@ -59,12 +60,13 @@ private void SetupColumns() this.ColumnMXFObject.Width = 276; this.ColumnMXFObject.Renderer = TreeColumnRenderer; - Pen pen = new Pen(Color.Black, 1.001f); - pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; - this.TreeColumnRenderer.LinePen = pen; + if (OperatingSystem.IsWindows()) + { + base.SetupTreeColumnRenderer(); + } this.RebuildColumns(); - } + } protected override void Tree_FormatCell(object sender, FormatCellEventArgs e) { diff --git a/MXFInspect/CustomControls/PhysicalTreeListView.cs b/MXFInspect/CustomControls/PhysicalTreeListView.cs index d956d64f..ab358435 100644 --- a/MXFInspect/CustomControls/PhysicalTreeListView.cs +++ b/MXFInspect/CustomControls/PhysicalTreeListView.cs @@ -23,10 +23,12 @@ using BrightIdeasSoftware; using Myriadbits.MXF; +using System; using System.Collections; using System.Collections.Generic; using System.Drawing; using System.Linq; +using System.Runtime.Versioning; using System.Windows.Forms; namespace Myriadbits.MXFInspect @@ -122,12 +124,16 @@ protected override void Tree_FormatCell(object sender, FormatCellEventArgs e) else if (e.Column == ColumnMXFObject) { MXFObject obj = e.Model as MXFObject; - SetFontFormat(e, obj); + if (OperatingSystem.IsWindows()) + { + SetFontFormat(e, obj); + } e.SubItem.ForeColor = GetColor(obj); } } - private void SetFontFormat(FormatCellEventArgs e, MXFObject obj) + [SupportedOSPlatform("windows")] + private void SetFontFormat(FormatCellEventArgs e, MXFObject obj) { if (obj is ILazyLoadable loadable && !loadable.IsLoaded) { @@ -167,12 +173,13 @@ private void SetupColumns() this.ColumnMXFObject.Width = 276; this.ColumnMXFObject.Renderer = TreeColumnRenderer; - Pen pen = new Pen(Color.Black, 1.001f); - pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; - this.TreeColumnRenderer.LinePen = pen; - } + if (OperatingSystem.IsWindows()) + { + base.SetupTreeColumnRenderer(); + } + } - private void Tree_IsHyperlink(object sender, IsHyperlinkEventArgs e) + private void Tree_IsHyperlink(object sender, IsHyperlinkEventArgs e) { if (e.Model is IResolvable resolvable && resolvable.GetReference() != null) { diff --git a/MXFInspect/CustomControls/TreeListViewBase.cs b/MXFInspect/CustomControls/TreeListViewBase.cs index 94941028..2029f1a9 100644 --- a/MXFInspect/CustomControls/TreeListViewBase.cs +++ b/MXFInspect/CustomControls/TreeListViewBase.cs @@ -28,6 +28,7 @@ using System.Collections.Generic; using System.Drawing; using System.Linq; +using System.Runtime.Versioning; using System.Windows.Forms; namespace Myriadbits.MXFInspect @@ -44,7 +45,7 @@ public abstract class TreeListViewBase : TreeListView where T : Node protected TreeListViewBase() : base() { - SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default; + //SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default; // since after the migration to .NET5 a click on the // first column triggers an exception, we make a fake column @@ -75,7 +76,15 @@ protected TreeListViewBase() : base() this.FormatCell += Tree_FormatCell; } - public void FillTree(IEnumerable objects) + [SupportedOSPlatform("windows")] + protected void SetupTreeColumnRenderer() + { + Pen pen = new Pen(Color.Black, 1.001f); + pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; + this.TreeColumnRenderer.LinePen = pen; + } + + public void FillTree(IEnumerable objects) { // Clear tree and set objects this.Items.Clear(); diff --git a/MXFInspect/FormMultiLineStringShowDlg.designer.cs b/MXFInspect/FormMultiLineStringShowDlg.designer.cs index 56b4d2ee..c46c0804 100644 --- a/MXFInspect/FormMultiLineStringShowDlg.designer.cs +++ b/MXFInspect/FormMultiLineStringShowDlg.designer.cs @@ -28,55 +28,56 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.btnOk = new System.Windows.Forms.Button(); - this.textBox1 = new System.Windows.Forms.TextBox(); - this.SuspendLayout(); - // - // btnOk - // - this.btnOk.Anchor = System.Windows.Forms.AnchorStyles.Bottom; - this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnOk.Location = new System.Drawing.Point(222, 202); - this.btnOk.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnOk.MinimumSize = new System.Drawing.Size(80, 27); - this.btnOk.Name = "btnOk"; - this.btnOk.Size = new System.Drawing.Size(80, 27); - this.btnOk.TabIndex = 7; - this.btnOk.Text = "Ok"; - this.btnOk.UseVisualStyleBackColor = true; - // - // textBox1 - // - this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.btnOk = new System.Windows.Forms.Button(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // btnOk + // + this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnOk.Location = new System.Drawing.Point(798, 441); + this.btnOk.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnOk.MinimumSize = new System.Drawing.Size(149, 58); + this.btnOk.Name = "btnOk"; + this.btnOk.Size = new System.Drawing.Size(149, 58); + this.btnOk.TabIndex = 7; + this.btnOk.Text = "Ok"; + this.btnOk.UseVisualStyleBackColor = true; + // + // textBox1 + // + this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.textBox1.Location = new System.Drawing.Point(12, 12); - this.textBox1.Multiline = true; - this.textBox1.Name = "textBox1"; - this.textBox1.ReadOnly = true; - this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.textBox1.Size = new System.Drawing.Size(500, 184); - this.textBox1.TabIndex = 8; - // - // FormMultiLineStringShowDlg - // - this.AcceptButton = this.btnOk; - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(524, 241); - this.Controls.Add(this.textBox1); - this.Controls.Add(this.btnOk); - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.MinimumSize = new System.Drawing.Size(540, 280); - this.Name = "FormMultiLineStringShowDlg"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Multi-Line Text"; - this.ResumeLayout(false); - this.PerformLayout(); + this.textBox1.Location = new System.Drawing.Point(22, 26); + this.textBox1.Margin = new System.Windows.Forms.Padding(6, 6, 6, 6); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.textBox1.Size = new System.Drawing.Size(925, 403); + this.textBox1.TabIndex = 8; + // + // FormMultiLineStringShowDlg + // + this.AcceptButton = this.btnOk; + this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(973, 514); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.btnOk); + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.MinimumSize = new System.Drawing.Size(981, 517); + this.Name = "FormMultiLineStringShowDlg"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Multi-Line Text"; + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/MXFInspect/FormProgress.Designer.cs b/MXFInspect/FormProgress.Designer.cs index 1e4dd0b1..91388bf4 100644 --- a/MXFInspect/FormProgress.Designer.cs +++ b/MXFInspect/FormProgress.Designer.cs @@ -28,124 +28,127 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - this.btnCancel = new System.Windows.Forms.Button(); - this.prgOverall = new System.Windows.Forms.ProgressBar(); - this.prgSingle = new System.Windows.Forms.ProgressBar(); - this.lblOverall = new System.Windows.Forms.Label(); - this.lblSingle = new System.Windows.Forms.Label(); - this.lblOverallDesc = new System.Windows.Forms.Label(); - this.lblSingleDesc = new System.Windows.Forms.Label(); - this.lblTime = new System.Windows.Forms.Label(); - this.tmrStopwatch = new System.Windows.Forms.Timer(this.components); - this.SuspendLayout(); - // - // btnCancel - // - this.btnCancel.Location = new System.Drawing.Point(164, 181); - this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(113, 27); - this.btnCancel.TabIndex = 0; - this.btnCancel.Text = "Cancel"; - this.btnCancel.UseVisualStyleBackColor = true; - this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); - // - // prgOverall - // - this.prgOverall.Location = new System.Drawing.Point(14, 29); - this.prgOverall.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.prgOverall.Name = "prgOverall"; - this.prgOverall.Size = new System.Drawing.Size(418, 27); - this.prgOverall.TabIndex = 1; - // - // prgSingle - // - this.prgSingle.Location = new System.Drawing.Point(14, 89); - this.prgSingle.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.prgSingle.Name = "prgSingle"; - this.prgSingle.Size = new System.Drawing.Size(418, 27); - this.prgSingle.TabIndex = 2; - // - // lblOverall - // - this.lblOverall.BackColor = System.Drawing.Color.Transparent; - this.lblOverall.Location = new System.Drawing.Point(384, 59); - this.lblOverall.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lblOverall.Name = "lblOverall"; - this.lblOverall.Size = new System.Drawing.Size(51, 15); - this.lblOverall.TabIndex = 6; - this.lblOverall.Text = "20%"; - this.lblOverall.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - // lblSingle - // - this.lblSingle.BackColor = System.Drawing.Color.Transparent; - this.lblSingle.Location = new System.Drawing.Point(371, 119); - this.lblSingle.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lblSingle.Name = "lblSingle"; - this.lblSingle.Size = new System.Drawing.Size(64, 15); - this.lblSingle.TabIndex = 7; - this.lblSingle.Text = "30%"; - this.lblSingle.TextAlign = System.Drawing.ContentAlignment.TopRight; - // - // lblOverallDesc - // - this.lblOverallDesc.AutoSize = true; - this.lblOverallDesc.BackColor = System.Drawing.Color.Transparent; - this.lblOverallDesc.Location = new System.Drawing.Point(14, 59); - this.lblOverallDesc.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lblOverallDesc.Name = "lblOverallDesc"; - this.lblOverallDesc.Size = new System.Drawing.Size(0, 15); - this.lblOverallDesc.TabIndex = 8; - // - // lblSingleDesc - // - this.lblSingleDesc.AutoSize = true; - this.lblSingleDesc.BackColor = System.Drawing.Color.Transparent; - this.lblSingleDesc.Location = new System.Drawing.Point(14, 119); - this.lblSingleDesc.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lblSingleDesc.Name = "lblSingleDesc"; - this.lblSingleDesc.Size = new System.Drawing.Size(0, 15); - this.lblSingleDesc.TabIndex = 9; - // - // lblTime - // - this.lblTime.AutoSize = true; - this.lblTime.BackColor = System.Drawing.Color.Transparent; - this.lblTime.Location = new System.Drawing.Point(158, 155); - this.lblTime.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.lblTime.Name = "lblTime"; - this.lblTime.Size = new System.Drawing.Size(124, 15); - this.lblTime.TabIndex = 10; - this.lblTime.Text = "Time Elapsed: 00:00:00"; - this.lblTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // tmrStopwatch - // - this.tmrStopwatch.Tick += new System.EventHandler(this.tmrStopwatch_Tick); - // - // FormProgress - // - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(446, 224); - this.ControlBox = false; - this.Controls.Add(this.lblTime); - this.Controls.Add(this.lblSingleDesc); - this.Controls.Add(this.lblOverallDesc); - this.Controls.Add(this.lblSingle); - this.Controls.Add(this.lblOverall); - this.Controls.Add(this.prgSingle); - this.Controls.Add(this.prgOverall); - this.Controls.Add(this.btnCancel); - this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.Name = "FormProgress"; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Progress"; - this.ResumeLayout(false); - this.PerformLayout(); + this.components = new System.ComponentModel.Container(); + this.btnCancel = new System.Windows.Forms.Button(); + this.prgOverall = new System.Windows.Forms.ProgressBar(); + this.prgSingle = new System.Windows.Forms.ProgressBar(); + this.lblOverall = new System.Windows.Forms.Label(); + this.lblSingle = new System.Windows.Forms.Label(); + this.lblOverallDesc = new System.Windows.Forms.Label(); + this.lblSingleDesc = new System.Windows.Forms.Label(); + this.lblTime = new System.Windows.Forms.Label(); + this.tmrStopwatch = new System.Windows.Forms.Timer(this.components); + this.SuspendLayout(); + // + // btnCancel + // + this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnCancel.Location = new System.Drawing.Point(593, 299); + this.btnCancel.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(210, 58); + this.btnCancel.TabIndex = 0; + this.btnCancel.Text = "Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); + // + // prgOverall + // + this.prgOverall.Location = new System.Drawing.Point(26, 34); + this.prgOverall.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.prgOverall.Name = "prgOverall"; + this.prgOverall.Size = new System.Drawing.Size(776, 58); + this.prgOverall.TabIndex = 1; + // + // prgSingle + // + this.prgSingle.Location = new System.Drawing.Point(26, 136); + this.prgSingle.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.prgSingle.Name = "prgSingle"; + this.prgSingle.Size = new System.Drawing.Size(776, 58); + this.prgSingle.TabIndex = 2; + // + // lblOverall + // + this.lblOverall.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.lblOverall.BackColor = System.Drawing.Color.Transparent; + this.lblOverall.Location = new System.Drawing.Point(714, 98); + this.lblOverall.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.lblOverall.Name = "lblOverall"; + this.lblOverall.Size = new System.Drawing.Size(95, 32); + this.lblOverall.TabIndex = 6; + this.lblOverall.Text = "20%"; + this.lblOverall.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // lblSingle + // + this.lblSingle.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.lblSingle.BackColor = System.Drawing.Color.Transparent; + this.lblSingle.Location = new System.Drawing.Point(684, 200); + this.lblSingle.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.lblSingle.Name = "lblSingle"; + this.lblSingle.Size = new System.Drawing.Size(119, 32); + this.lblSingle.TabIndex = 7; + this.lblSingle.Text = "30%"; + this.lblSingle.TextAlign = System.Drawing.ContentAlignment.TopRight; + // + // lblOverallDesc + // + this.lblOverallDesc.BackColor = System.Drawing.Color.Transparent; + this.lblOverallDesc.Location = new System.Drawing.Point(26, 98); + this.lblOverallDesc.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.lblOverallDesc.Name = "lblOverallDesc"; + this.lblOverallDesc.Size = new System.Drawing.Size(710, 32); + this.lblOverallDesc.TabIndex = 8; + // + // lblSingleDesc + // + this.lblSingleDesc.BackColor = System.Drawing.Color.Transparent; + this.lblSingleDesc.Location = new System.Drawing.Point(26, 200); + this.lblSingleDesc.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.lblSingleDesc.Name = "lblSingleDesc"; + this.lblSingleDesc.Size = new System.Drawing.Size(710, 38); + this.lblSingleDesc.TabIndex = 9; + // + // lblTime + // + this.lblTime.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.lblTime.BackColor = System.Drawing.Color.Transparent; + this.lblTime.Location = new System.Drawing.Point(26, 256); + this.lblTime.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.lblTime.Name = "lblTime"; + this.lblTime.Size = new System.Drawing.Size(777, 37); + this.lblTime.TabIndex = 10; + this.lblTime.Text = "Time Elapsed: 00:00:00"; + this.lblTime.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // tmrStopwatch + // + this.tmrStopwatch.Tick += new System.EventHandler(this.tmrStopwatch_Tick); + // + // FormProgress + // + this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.AutoSize = true; + this.ClientSize = new System.Drawing.Size(829, 372); + this.ControlBox = false; + this.Controls.Add(this.lblTime); + this.Controls.Add(this.lblSingleDesc); + this.Controls.Add(this.lblOverallDesc); + this.Controls.Add(this.lblSingle); + this.Controls.Add(this.lblOverall); + this.Controls.Add(this.prgSingle); + this.Controls.Add(this.prgOverall); + this.Controls.Add(this.btnCancel); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.MinimumSize = new System.Drawing.Size(855, 443); + this.Name = "FormProgress"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Progress"; + this.ResumeLayout(false); } diff --git a/MXFInspect/FormReport.cs b/MXFInspect/FormReport.cs index 5e809114..5c51dc80 100644 --- a/MXFInspect/FormReport.cs +++ b/MXFInspect/FormReport.cs @@ -114,9 +114,12 @@ private void DisplayFileInfo() OLVColumn col1 = (OLVColumn)this.tlvResults.Columns[2]; col1.Renderer = null;// this.tlvResults.TreeColumnRenderer; - Pen pen = new Pen(Color.Black, 1.001f); - pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; - this.tlvResults.TreeColumnRenderer.LinePen = pen; + if (OperatingSystem.IsWindows()) + { + Pen pen = new Pen(Color.Black, 1.001f); + pen.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot; + this.tlvResults.TreeColumnRenderer.LinePen = pen; + } StringBuilder summary = new StringBuilder(); int errorCnt = 0; diff --git a/MXFInspect/FormReport.designer.cs b/MXFInspect/FormReport.designer.cs index 8815f84e..0176b0fa 100644 --- a/MXFInspect/FormReport.designer.cs +++ b/MXFInspect/FormReport.designer.cs @@ -28,167 +28,175 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.components = new System.ComponentModel.Container(); - System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormReport)); - this.bntClose = new System.Windows.Forms.Button(); - this.tlvResults = new BrightIdeasSoftware.TreeListView(); - this.chState = new BrightIdeasSoftware.OLVColumn(); - this.chCategory = new BrightIdeasSoftware.OLVColumn(); - this.chResult = new BrightIdeasSoftware.OLVColumn(); - this.imageListResult = new System.Windows.Forms.ImageList(this.components); - this.txtGeneralInfo = new System.Windows.Forms.TextBox(); - this.txtSum = new System.Windows.Forms.TextBox(); - this.btnExecuteAllTests = new System.Windows.Forms.Button(); - this.backgroundWorker = new System.ComponentModel.BackgroundWorker(); - this.prbProcessing = new System.Windows.Forms.ProgressBar(); - ((System.ComponentModel.ISupportInitialize)(this.tlvResults)).BeginInit(); - this.SuspendLayout(); - // - // bntClose - // - this.bntClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.bntClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.bntClose.Location = new System.Drawing.Point(616, 458); - this.bntClose.Name = "bntClose"; - this.bntClose.Size = new System.Drawing.Size(75, 23); - this.bntClose.TabIndex = 7; - this.bntClose.Text = "Close"; - this.bntClose.UseVisualStyleBackColor = true; - this.bntClose.Click += new System.EventHandler(this.bntClose_Click); - // - // tlvResults - // - this.tlvResults.AllColumns.Add(this.chState); - this.tlvResults.AllColumns.Add(this.chCategory); - this.tlvResults.AllColumns.Add(this.chResult); - this.tlvResults.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.components = new System.ComponentModel.Container(); + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormReport)); + this.bntClose = new System.Windows.Forms.Button(); + this.tlvResults = new BrightIdeasSoftware.TreeListView(); + this.chState = new BrightIdeasSoftware.OLVColumn(); + this.chCategory = new BrightIdeasSoftware.OLVColumn(); + this.chResult = new BrightIdeasSoftware.OLVColumn(); + this.imageListResult = new System.Windows.Forms.ImageList(this.components); + this.txtGeneralInfo = new System.Windows.Forms.TextBox(); + this.txtSum = new System.Windows.Forms.TextBox(); + this.btnExecuteAllTests = new System.Windows.Forms.Button(); + this.backgroundWorker = new System.ComponentModel.BackgroundWorker(); + this.prbProcessing = new System.Windows.Forms.ProgressBar(); + ((System.ComponentModel.ISupportInitialize)(this.tlvResults)).BeginInit(); + this.SuspendLayout(); + // + // bntClose + // + this.bntClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.bntClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.bntClose.Location = new System.Drawing.Point(816, 625); + this.bntClose.Margin = new System.Windows.Forms.Padding(7); + this.bntClose.Name = "bntClose"; + this.bntClose.Size = new System.Drawing.Size(163, 58); + this.bntClose.TabIndex = 7; + this.bntClose.Text = "Close"; + this.bntClose.UseVisualStyleBackColor = true; + this.bntClose.Click += new System.EventHandler(this.bntClose_Click); + // + // tlvResults + // + this.tlvResults.AllColumns.Add(this.chState); + this.tlvResults.AllColumns.Add(this.chCategory); + this.tlvResults.AllColumns.Add(this.chResult); + this.tlvResults.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.tlvResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { + this.tlvResults.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] { this.chState, this.chCategory, this.chResult}); - this.tlvResults.FullRowSelect = true; - this.tlvResults.GridLines = true; - this.tlvResults.HideSelection = false; - this.tlvResults.Location = new System.Drawing.Point(12, 119); - this.tlvResults.Name = "tlvResults"; - this.tlvResults.RowHeight = 19; - this.tlvResults.ShowGroups = false; - this.tlvResults.ShowItemToolTips = true; - this.tlvResults.Size = new System.Drawing.Size(679, 273); - this.tlvResults.SmallImageList = this.imageListResult; - this.tlvResults.TabIndex = 19; - this.tlvResults.UseCompatibleStateImageBehavior = false; - this.tlvResults.View = System.Windows.Forms.View.Details; - this.tlvResults.VirtualMode = true; - this.tlvResults.SelectionChanged += new System.EventHandler(this.tlvResults_SelectionChanged); - // - // chState - // - this.chState.AspectName = "State"; - this.chState.Text = ""; - this.chState.Width = 26; - // - // chCategory - // - this.chCategory.AspectName = "Category"; - this.chCategory.Text = "Test"; - this.chCategory.Width = 114; - // - // chResult - // - this.chResult.AspectName = "Result"; - this.chResult.FillsFreeSpace = true; - this.chResult.Text = "Result"; - this.chResult.WordWrap = true; - // - // imageListResult - // - this.imageListResult.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; - this.imageListResult.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListResult.ImageStream"))); - this.imageListResult.TransparentColor = System.Drawing.Color.Transparent; - this.imageListResult.Images.SetKeyName(0, "Error"); - this.imageListResult.Images.SetKeyName(1, "Success"); - this.imageListResult.Images.SetKeyName(2, "Warning"); - this.imageListResult.Images.SetKeyName(3, "Info"); - this.imageListResult.Images.SetKeyName(4, "Question"); - // - // txtGeneralInfo - // - this.txtGeneralInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + this.tlvResults.FullRowSelect = true; + this.tlvResults.GridLines = true; + this.tlvResults.Location = new System.Drawing.Point(15, 180); + this.tlvResults.Margin = new System.Windows.Forms.Padding(7); + this.tlvResults.Name = "tlvResults"; + this.tlvResults.RowHeight = 19; + this.tlvResults.ShowGroups = false; + this.tlvResults.ShowItemToolTips = true; + this.tlvResults.Size = new System.Drawing.Size(964, 297); + this.tlvResults.SmallImageList = this.imageListResult; + this.tlvResults.TabIndex = 19; + this.tlvResults.UseCompatibleStateImageBehavior = false; + this.tlvResults.View = System.Windows.Forms.View.Details; + this.tlvResults.VirtualMode = true; + this.tlvResults.SelectionChanged += new System.EventHandler(this.tlvResults_SelectionChanged); + // + // chState + // + this.chState.AspectName = "State"; + this.chState.Text = ""; + this.chState.Width = 26; + // + // chCategory + // + this.chCategory.AspectName = "Category"; + this.chCategory.Text = "Test"; + this.chCategory.Width = 114; + // + // chResult + // + this.chResult.AspectName = "Result"; + this.chResult.FillsFreeSpace = true; + this.chResult.Text = "Result"; + this.chResult.WordWrap = true; + // + // imageListResult + // + this.imageListResult.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit; + this.imageListResult.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageListResult.ImageStream"))); + this.imageListResult.TransparentColor = System.Drawing.Color.Transparent; + this.imageListResult.Images.SetKeyName(0, "Error"); + this.imageListResult.Images.SetKeyName(1, "Success"); + this.imageListResult.Images.SetKeyName(2, "Warning"); + this.imageListResult.Images.SetKeyName(3, "Info"); + this.imageListResult.Images.SetKeyName(4, "Question"); + // + // txtGeneralInfo + // + this.txtGeneralInfo.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtGeneralInfo.Location = new System.Drawing.Point(12, 12); - this.txtGeneralInfo.Multiline = true; - this.txtGeneralInfo.Name = "txtGeneralInfo"; - this.txtGeneralInfo.ReadOnly = true; - this.txtGeneralInfo.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.txtGeneralInfo.Size = new System.Drawing.Size(679, 101); - this.txtGeneralInfo.TabIndex = 20; - // - // txtSum - // - this.txtSum.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.txtGeneralInfo.Location = new System.Drawing.Point(16, 15); + this.txtGeneralInfo.Margin = new System.Windows.Forms.Padding(7); + this.txtGeneralInfo.Multiline = true; + this.txtGeneralInfo.Name = "txtGeneralInfo"; + this.txtGeneralInfo.ReadOnly = true; + this.txtGeneralInfo.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.txtGeneralInfo.Size = new System.Drawing.Size(963, 151); + this.txtGeneralInfo.TabIndex = 20; + // + // txtSum + // + this.txtSum.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.txtSum.Location = new System.Drawing.Point(12, 422); - this.txtSum.Multiline = true; - this.txtSum.Name = "txtSum"; - this.txtSum.ReadOnly = true; - this.txtSum.ScrollBars = System.Windows.Forms.ScrollBars.Both; - this.txtSum.Size = new System.Drawing.Size(679, 30); - this.txtSum.TabIndex = 21; - // - // btnExecuteAllTests - // - this.btnExecuteAllTests.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); - this.btnExecuteAllTests.Location = new System.Drawing.Point(12, 458); - this.btnExecuteAllTests.Name = "btnExecuteAllTests"; - this.btnExecuteAllTests.Size = new System.Drawing.Size(133, 23); - this.btnExecuteAllTests.TabIndex = 22; - this.btnExecuteAllTests.Text = "Execute All Tests"; - this.btnExecuteAllTests.UseVisualStyleBackColor = true; - this.btnExecuteAllTests.Click += new System.EventHandler(this.btnExecuteAllTests_Click); - // - // backgroundWorker - // - this.backgroundWorker.WorkerReportsProgress = true; - this.backgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork); - this.backgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged); - this.backgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted); - // - // prbProcessing - // - this.prbProcessing.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) + this.txtSum.Location = new System.Drawing.Point(16, 523); + this.txtSum.Margin = new System.Windows.Forms.Padding(8); + this.txtSum.MinimumSize = new System.Drawing.Size(0, 32); + this.txtSum.Multiline = true; + this.txtSum.Name = "txtSum"; + this.txtSum.ReadOnly = true; + this.txtSum.ScrollBars = System.Windows.Forms.ScrollBars.Both; + this.txtSum.Size = new System.Drawing.Size(963, 87); + this.txtSum.TabIndex = 21; + // + // btnExecuteAllTests + // + this.btnExecuteAllTests.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnExecuteAllTests.Location = new System.Drawing.Point(569, 625); + this.btnExecuteAllTests.Margin = new System.Windows.Forms.Padding(7); + this.btnExecuteAllTests.Name = "btnExecuteAllTests"; + this.btnExecuteAllTests.Size = new System.Drawing.Size(233, 58); + this.btnExecuteAllTests.TabIndex = 22; + this.btnExecuteAllTests.Text = "Execute All Tests"; + this.btnExecuteAllTests.UseVisualStyleBackColor = true; + this.btnExecuteAllTests.Click += new System.EventHandler(this.btnExecuteAllTests_Click); + // + // backgroundWorker + // + this.backgroundWorker.WorkerReportsProgress = true; + this.backgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.backgroundWorker_DoWork); + this.backgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.backgroundWorker_ProgressChanged); + this.backgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.backgroundWorker_RunWorkerCompleted); + // + // prbProcessing + // + this.prbProcessing.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.prbProcessing.Location = new System.Drawing.Point(12, 398); - this.prbProcessing.Name = "prbProcessing"; - this.prbProcessing.Size = new System.Drawing.Size(679, 18); - this.prbProcessing.TabIndex = 23; - this.prbProcessing.Visible = false; - // - // FormReport - // - this.AcceptButton = this.bntClose; - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; - this.CancelButton = this.bntClose; - this.ClientSize = new System.Drawing.Size(703, 493); - this.Controls.Add(this.prbProcessing); - this.Controls.Add(this.btnExecuteAllTests); - this.Controls.Add(this.txtSum); - this.Controls.Add(this.txtGeneralInfo); - this.Controls.Add(this.tlvResults); - this.Controls.Add(this.bntClose); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "FormReport"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Report"; - this.Load += new System.EventHandler(this.ReportForm_Load); - ((System.ComponentModel.ISupportInitialize)(this.tlvResults)).EndInit(); - this.ResumeLayout(false); - this.PerformLayout(); + this.prbProcessing.Location = new System.Drawing.Point(15, 492); + this.prbProcessing.Margin = new System.Windows.Forms.Padding(8); + this.prbProcessing.Name = "prbProcessing"; + this.prbProcessing.Size = new System.Drawing.Size(963, 19); + this.prbProcessing.TabIndex = 23; + this.prbProcessing.Visible = false; + // + // FormReport + // + this.AcceptButton = this.bntClose; + this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.bntClose; + this.ClientSize = new System.Drawing.Size(994, 698); + this.Controls.Add(this.prbProcessing); + this.Controls.Add(this.btnExecuteAllTests); + this.Controls.Add(this.txtSum); + this.Controls.Add(this.txtGeneralInfo); + this.Controls.Add(this.tlvResults); + this.Controls.Add(this.bntClose); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "FormReport"; + this.Padding = new System.Windows.Forms.Padding(8); + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Report"; + this.Load += new System.EventHandler(this.ReportForm_Load); + ((System.ComponentModel.ISupportInitialize)(this.tlvResults)).EndInit(); + this.ResumeLayout(false); + this.PerformLayout(); } diff --git a/MXFInspect/FormReport.resx b/MXFInspect/FormReport.resx index 2346f9f0..15a6f060 100644 --- a/MXFInspect/FormReport.resx +++ b/MXFInspect/FormReport.resx @@ -57,56 +57,62 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + - AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj01LjAuNS4w - LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 - ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAABo - CgAAAk1TRnQBSQFMAgEBBQEAAYABAAGAAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo - AwABQAMAASADAAEBAQABCAYAAQgYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA - AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 - AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA - AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm - AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM - AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA - ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz - AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ - AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEAATMBzAGZAQABMwLM - AQABMwHMAf8BAAEzAf8BMwEAATMB/wFmAQABMwH/AZkBAAEzAf8BzAEAATMC/wEAAWYDAAFmAQABMwEA - AWYBAAFmAQABZgEAAZkBAAFmAQABzAEAAWYBAAH/AQABZgEzAgABZgIzAQABZgEzAWYBAAFmATMBmQEA - AWYBMwHMAQABZgEzAf8BAAJmAgACZgEzAQADZgEAAmYBmQEAAmYBzAEAAWYBmQIAAWYBmQEzAQABZgGZ - AWYBAAFmApkBAAFmAZkBzAEAAWYBmQH/AQABZgHMAgABZgHMATMBAAFmAcwBmQEAAWYCzAEAAWYBzAH/ - AQABZgH/AgABZgH/ATMBAAFmAf8BmQEAAWYB/wHMAQABzAEAAf8BAAH/AQABzAEAApkCAAGZATMBmQEA - AZkBAAGZAQABmQEAAcwBAAGZAwABmQIzAQABmQEAAWYBAAGZATMBzAEAAZkBAAH/AQABmQFmAgABmQFm - ATMBAAGZATMBZgEAAZkBZgGZAQABmQFmAcwBAAGZATMB/wEAApkBMwEAApkBZgEAA5kBAAKZAcwBAAKZ - Af8BAAGZAcwCAAGZAcwBMwEAAWYBzAFmAQABmQHMAZkBAAGZAswBAAGZAcwB/wEAAZkB/wIAAZkB/wEz - AQABmQHMAWYBAAGZAf8BmQEAAZkB/wHMAQABmQL/AQABzAMAAZkBAAEzAQABzAEAAWYBAAHMAQABmQEA - AcwBAAHMAQABmQEzAgABzAIzAQABzAEzAWYBAAHMATMBmQEAAcwBMwHMAQABzAEzAf8BAAHMAWYCAAHM - AWYBMwEAAZkCZgEAAcwBZgGZAQABzAFmAcwBAAGZAWYB/wEAAcwBmQIAAcwBmQEzAQABzAGZAWYBAAHM - ApkBAAHMAZkBzAEAAcwBmQH/AQACzAIAAswBMwEAAswBZgEAAswBmQEAA8wBAALMAf8BAAHMAf8CAAHM - Af8BMwEAAZkB/wFmAQABzAH/AZkBAAHMAf8BzAEAAcwC/wEAAcwBAAEzAQAB/wEAAWYBAAH/AQABmQEA - AcwBMwIAAf8CMwEAAf8BMwFmAQAB/wEzAZkBAAH/ATMBzAEAAf8BMwH/AQAB/wFmAgAB/wFmATMBAAHM - AmYBAAH/AWYBmQEAAf8BZgHMAQABzAFmAf8BAAH/AZkCAAH/AZkBMwEAAf8BmQFmAQAB/wKZAQAB/wGZ - AcwBAAH/AZkB/wEAAf8BzAIAAf8BzAEzAQAB/wHMAWYBAAH/AcwBmQEAAf8CzAEAAf8BzAH/AQAC/wEz - AQABzAH/AWYBAAL/AZkBAAL/AcwBAAJmAf8BAAFmAf8BZgEAAWYC/wEAAf8CZgEAAf8BZgH/AQAC/wFm - AQABIQEAAaUBAANfAQADdwEAA4YBAAOWAQADywEAA7IBAAPXAQAD3QEAA+MBAAPqAQAD8QEAA/gBAAHw - AfsB/wEAAaQCoAEAA4ADAAH/AgAB/wMAAv8BAAH/AwAB/wEAAf8BAAL/AgAD/wEAEP8wAAH/DvcB/zAA - Af8F9wHvAv8B7wX3Af8wAAH/BfcB7wL/Ae8F9wH/MAAB/w73Af8wAAH/BfcB7wL/Ae8F9wH/MAAB/wb3 - AfQB/wHxBfcB/zAAAf8G9wG8Av8B8QT3Af8wAAH/B/cBBwL/AfED9wH/MAAB/wj3AQcC/wP3Af8wAAH/ - A/cB8QH/AfMC9wHwAv8D9wH/MAAB/wP3AQcG/wHwA/cB/zAAAf8E9wEHAfMC/wH0AfAE9wH/MAAB/w73 - Af8wAAH/DvcB/zAAEP8wABD/EPEh/w4gAf8B8Q7/AfEB/w5TAv8OswL/DiAB/wHxAf8MLQH/AfEB/wZT - AnoGUwL/DrMC/wMgAZQBRgQgARcBvQMgAf8B8QH/DC0B/wHxAf8FUwF6Av8BegVTAv8FswG0Af8B9Aaz - Av8CIAGUAf8BvQMgAW8C/wEWAiAB/wHxAf8DLQGXAf8B8wYtAf8B8QH/BVMBmgL/AZoFUwL/BbMBtAH/ - AfQGswL/AyAB8wH/ARYBIAGUAv8BFgMgAf8B8QH/Ai0BVQP/AZcFLQH/AfEB/wZTAhoGUwL/BbMBtAH/ - AfQGswL/AyABFwL/Ab0C/wFvBCAB/wHxAf8CLQEIAf8BmALzBS0B/wHxAf8OUwL/BbMBtAH/AfQGswL/ - BCABlAP/AUYFIAH/AfEB/wItAVUBlwEtAZcB/wGXBC0B/wHxAf8GUwL/BlMC/wWzAbQB/wH0BrMC/wQg - ARYC/wH0AUYFIAH/AfEB/wYtAfEB8wQtAf8B8QH/BVMBegL/AXoFUwL/BbMBtAH/AfQGswL/AyABRgL/ - Ab0C/wFvBCAB/wHxAf8GLQFVAf8BmAMtAf8B8QH/BVMBegL/AXoFUwL/BbMBtAIJBrMC/wMgAb0B/wGU - ASABlAL/AZQDIAH/AfEB/wctAZgB/wGXAi0B/wHxAf8FUwF6Av8BegVTAv8GswK0BrMC/wIgARYB/wG9 - AyABbwH/Ab0DIAH/AfEB/wgtAfEB/wFVAS0B/wHxAf8FUwF6Av8BegVTAv8FswG0Av8GswL/AiABRgGU - AUYEIAJGAyAB/wHxAf8JLQGYAQgBLQH/AfEB/wVTAZoC/wGaBVMC/wazARkBCQazAv8OIAH/AfEB/wwt - Af8B8QH/BVMBmgL/AZoFUwL/DrMC/w4gAf8B8Q7/AfEB/w5TAv8OsxH/EPEg/wFCAU0BPgcAAT4DAAEo - AwABQAMAASADAAEBAQABAQYAAQEWAAP//wACAAs= + AAEAAAD/////AQAAAAAAAAAMAgAAAEZTeXN0ZW0uV2luZG93cy5Gb3JtcywgQ3VsdHVyZT1uZXV0cmFs + LCBQdWJsaWNLZXlUb2tlbj1iNzdhNWM1NjE5MzRlMDg5BQEAAAAmU3lzdGVtLldpbmRvd3MuRm9ybXMu + SW1hZ2VMaXN0U3RyZWFtZXIBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAaAoAAAJNU0Z0AUkBTAIBAQUB + AAHYAQAB2AEAARABAAEQAQAE/wEJAQAI/wFCAU0BNgEEBgABNgEEAgABKAMAAUADAAEgAwABAQEAAQgG + AAEIGAABgAIAAYADAAKAAQABgAMAAYABAAGAAQACgAIAA8ABAAHAAdwBwAEAAfABygGmAQABMwUAATMB + AAEzAQABMwEAAjMCAAMWAQADHAEAAyIBAAMpAQADVQEAA00BAANCAQADOQEAAYABfAH/AQACUAH/AQAB + kwEAAdYBAAH/AewBzAEAAcYB1gHvAQAB1gLnAQABkAGpAa0CAAH/ATMDAAFmAwABmQMAAcwCAAEzAwAC + MwIAATMBZgIAATMBmQIAATMBzAIAATMB/wIAAWYDAAFmATMCAAJmAgABZgGZAgABZgHMAgABZgH/AgAB + mQMAAZkBMwIAAZkBZgIAApkCAAGZAcwCAAGZAf8CAAHMAwABzAEzAgABzAFmAgABzAGZAgACzAIAAcwB + /wIAAf8BZgIAAf8BmQIAAf8BzAEAATMB/wIAAf8BAAEzAQABMwEAAWYBAAEzAQABmQEAATMBAAHMAQAB + MwEAAf8BAAH/ATMCAAMzAQACMwFmAQACMwGZAQACMwHMAQACMwH/AQABMwFmAgABMwFmATMBAAEzAmYB + AAEzAWYBmQEAATMBZgHMAQABMwFmAf8BAAEzAZkCAAEzAZkBMwEAATMBmQFmAQABMwKZAQABMwGZAcwB + AAEzAZkB/wEAATMBzAIAATMBzAEzAQABMwHMAWYBAAEzAcwBmQEAATMCzAEAATMBzAH/AQABMwH/ATMB + AAEzAf8BZgEAATMB/wGZAQABMwH/AcwBAAEzAv8BAAFmAwABZgEAATMBAAFmAQABZgEAAWYBAAGZAQAB + ZgEAAcwBAAFmAQAB/wEAAWYBMwIAAWYCMwEAAWYBMwFmAQABZgEzAZkBAAFmATMBzAEAAWYBMwH/AQAC + ZgIAAmYBMwEAA2YBAAJmAZkBAAJmAcwBAAFmAZkCAAFmAZkBMwEAAWYBmQFmAQABZgKZAQABZgGZAcwB + AAFmAZkB/wEAAWYBzAIAAWYBzAEzAQABZgHMAZkBAAFmAswBAAFmAcwB/wEAAWYB/wIAAWYB/wEzAQAB + ZgH/AZkBAAFmAf8BzAEAAcwBAAH/AQAB/wEAAcwBAAKZAgABmQEzAZkBAAGZAQABmQEAAZkBAAHMAQAB + mQMAAZkCMwEAAZkBAAFmAQABmQEzAcwBAAGZAQAB/wEAAZkBZgIAAZkBZgEzAQABmQEzAWYBAAGZAWYB + mQEAAZkBZgHMAQABmQEzAf8BAAKZATMBAAKZAWYBAAOZAQACmQHMAQACmQH/AQABmQHMAgABmQHMATMB + AAFmAcwBZgEAAZkBzAGZAQABmQLMAQABmQHMAf8BAAGZAf8CAAGZAf8BMwEAAZkBzAFmAQABmQH/AZkB + AAGZAf8BzAEAAZkC/wEAAcwDAAGZAQABMwEAAcwBAAFmAQABzAEAAZkBAAHMAQABzAEAAZkBMwIAAcwC + MwEAAcwBMwFmAQABzAEzAZkBAAHMATMBzAEAAcwBMwH/AQABzAFmAgABzAFmATMBAAGZAmYBAAHMAWYB + mQEAAcwBZgHMAQABmQFmAf8BAAHMAZkCAAHMAZkBMwEAAcwBmQFmAQABzAKZAQABzAGZAcwBAAHMAZkB + /wEAAswCAALMATMBAALMAWYBAALMAZkBAAPMAQACzAH/AQABzAH/AgABzAH/ATMBAAGZAf8BZgEAAcwB + /wGZAQABzAH/AcwBAAHMAv8BAAHMAQABMwEAAf8BAAFmAQAB/wEAAZkBAAHMATMCAAH/AjMBAAH/ATMB + ZgEAAf8BMwGZAQAB/wEzAcwBAAH/ATMB/wEAAf8BZgIAAf8BZgEzAQABzAJmAQAB/wFmAZkBAAH/AWYB + zAEAAcwBZgH/AQAB/wGZAgAB/wGZATMBAAH/AZkBZgEAAf8CmQEAAf8BmQHMAQAB/wGZAf8BAAH/AcwC + AAH/AcwBMwEAAf8BzAFmAQAB/wHMAZkBAAH/AswBAAH/AcwB/wEAAv8BMwEAAcwB/wFmAQAC/wGZAQAC + /wHMAQACZgH/AQABZgH/AWYBAAFmAv8BAAH/AmYBAAH/AWYB/wEAAv8BZgEAASEBAAGlAQADXwEAA3cB + AAOGAQADlgEAA8sBAAOyAQAD1wEAA90BAAPjAQAD6gEAA/EBAAP4AQAB8AH7Af8BAAGkAqABAAOAAwAB + /wIAAf8DAAL/AQAB/wMAAf8BAAH/AQAC/wIAA/8BABD/MAAB/w73Af8wAAH/BfcB7wL/Ae8F9wH/MAAB + /wX3Ae8C/wHvBfcB/zAAAf8O9wH/MAAB/wX3Ae8C/wHvBfcB/zAAAf8G9wH0Af8B8QX3Af8wAAH/BvcB + vAL/AfEE9wH/MAAB/wf3AQcC/wHxA/cB/zAAAf8I9wEHAv8D9wH/MAAB/wP3AfEB/wHzAvcB8AL/A/cB + /zAAAf8D9wEHBv8B8AP3Af8wAAH/BPcBBwHzAv8B9AHwBPcB/zAAAf8O9wH/MAAB/w73Af8wABD/MAAQ + /xDxIf8OIAH/AfEO/wHxAf8OUwL/DrMC/w4gAf8B8QH/DC0B/wHxAf8GUwJ6BlMC/w6zAv8DIAGUAUYE + IAEXAb0DIAH/AfEB/wwtAf8B8QH/BVMBegL/AXoFUwL/BbMBtAH/AfQGswL/AiABlAH/Ab0DIAFvAv8B + FgIgAf8B8QH/Ay0BlwH/AfMGLQH/AfEB/wVTAZoC/wGaBVMC/wWzAbQB/wH0BrMC/wMgAfMB/wEWASAB + lAL/ARYDIAH/AfEB/wItAVUD/wGXBS0B/wHxAf8GUwIaBlMC/wWzAbQB/wH0BrMC/wMgARcC/wG9Av8B + bwQgAf8B8QH/Ai0BCAH/AZgC8wUtAf8B8QH/DlMC/wWzAbQB/wH0BrMC/wQgAZQD/wFGBSAB/wHxAf8C + LQFVAZcBLQGXAf8BlwQtAf8B8QH/BlMC/wZTAv8FswG0Af8B9AazAv8EIAEWAv8B9AFGBSAB/wHxAf8G + LQHxAfMELQH/AfEB/wVTAXoC/wF6BVMC/wWzAbQB/wH0BrMC/wMgAUYC/wG9Av8BbwQgAf8B8QH/Bi0B + VQH/AZgDLQH/AfEB/wVTAXoC/wF6BVMC/wWzAbQCCQazAv8DIAG9Af8BlAEgAZQC/wGUAyAB/wHxAf8H + LQGYAf8BlwItAf8B8QH/BVMBegL/AXoFUwL/BrMCtAazAv8CIAEWAf8BvQMgAW8B/wG9AyAB/wHxAf8I + LQHxAf8BVQEtAf8B8QH/BVMBegL/AXoFUwL/BbMBtAL/BrMC/wIgAUYBlAFGBCACRgMgAf8B8QH/CS0B + mAEIAS0B/wHxAf8FUwGaAv8BmgVTAv8GswEZAQkGswL/DiAB/wHxAf8MLQH/AfEB/wVTAZoC/wGaBVMC + /w6zAv8OIAH/AfEO/wHxAf8OUwL/DrMR/xDxIP8BQgFNAT4HAAE+AwABKAMAAUADAAEgAwABAQEAAQEG + AAEBFgAD//8AAgAL + + 259, 17 + \ No newline at end of file diff --git a/MXFInspect/FormSettings.designer.cs b/MXFInspect/FormSettings.designer.cs index 804b9f1c..0bad7bf0 100644 --- a/MXFInspect/FormSettings.designer.cs +++ b/MXFInspect/FormSettings.designer.cs @@ -28,139 +28,151 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.btnOk = new System.Windows.Forms.Button(); - this.tabControl1 = new System.Windows.Forms.TabControl(); - this.tabGeneral = new System.Windows.Forms.TabPage(); - this.chkPartialLoadMsg = new System.Windows.Forms.CheckBox(); - this.label9 = new System.Windows.Forms.Label(); - this.chkShowLines = new System.Windows.Forms.CheckBox(); - this.cmbTopNumber = new System.Windows.Forms.ComboBox(); - this.cmbThreshold = new System.Windows.Forms.ComboBox(); - this.label4 = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.tabPage2 = new System.Windows.Forms.TabPage(); - this.pbColorSpecial = new System.Windows.Forms.PictureBox(); - this.label12 = new System.Windows.Forms.Label(); - this.pbColorFiller = new System.Windows.Forms.PictureBox(); - this.label11 = new System.Windows.Forms.Label(); - this.pbColorMeta = new System.Windows.Forms.PictureBox(); - this.label10 = new System.Windows.Forms.Label(); - this.pbColorSystemItem = new System.Windows.Forms.PictureBox(); - this.label8 = new System.Windows.Forms.Label(); - this.pbColorRIP = new System.Windows.Forms.PictureBox(); - this.label5 = new System.Windows.Forms.Label(); - this.pbColorIndex = new System.Windows.Forms.PictureBox(); - this.pbColorEssence = new System.Windows.Forms.PictureBox(); - this.label7 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.label3 = new System.Windows.Forms.Label(); - this.pbColorPartition = new System.Windows.Forms.PictureBox(); - this.label2 = new System.Windows.Forms.Label(); - this.colorDialog1 = new System.Windows.Forms.ColorDialog(); - this.btnCancel = new System.Windows.Forms.Button(); - this.btnReset = new System.Windows.Forms.Button(); - this.chkOffsetAsHex = new System.Windows.Forms.CheckBox(); - this.tabControl1.SuspendLayout(); - this.tabGeneral.SuspendLayout(); - this.tabPage2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorSpecial)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorFiller)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorMeta)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorSystemItem)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorRIP)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorIndex)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorEssence)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorPartition)).BeginInit(); - this.SuspendLayout(); - // - // btnOk - // - this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnOk.Location = new System.Drawing.Point(415, 262); - this.btnOk.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnOk.Name = "btnOk"; - this.btnOk.Size = new System.Drawing.Size(88, 27); - this.btnOk.TabIndex = 7; - this.btnOk.Text = "Ok"; - this.btnOk.UseVisualStyleBackColor = true; - this.btnOk.Click += new System.EventHandler(this.bntOk_Click); - // - // tabControl1 - // - this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + this.btnOk = new System.Windows.Forms.Button(); + this.tabControl1 = new System.Windows.Forms.TabControl(); + this.tabGeneral = new System.Windows.Forms.TabPage(); + this.chkOffsetAsHex = new System.Windows.Forms.CheckBox(); + this.chkPartialLoadMsg = new System.Windows.Forms.CheckBox(); + this.label9 = new System.Windows.Forms.Label(); + this.chkShowLines = new System.Windows.Forms.CheckBox(); + this.cmbTopNumber = new System.Windows.Forms.ComboBox(); + this.cmbThreshold = new System.Windows.Forms.ComboBox(); + this.label4 = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.tabPage2 = new System.Windows.Forms.TabPage(); + this.pbColorSpecial = new System.Windows.Forms.PictureBox(); + this.label12 = new System.Windows.Forms.Label(); + this.pbColorFiller = new System.Windows.Forms.PictureBox(); + this.label11 = new System.Windows.Forms.Label(); + this.pbColorMeta = new System.Windows.Forms.PictureBox(); + this.label10 = new System.Windows.Forms.Label(); + this.pbColorSystemItem = new System.Windows.Forms.PictureBox(); + this.label8 = new System.Windows.Forms.Label(); + this.pbColorRIP = new System.Windows.Forms.PictureBox(); + this.label5 = new System.Windows.Forms.Label(); + this.pbColorIndex = new System.Windows.Forms.PictureBox(); + this.pbColorEssence = new System.Windows.Forms.PictureBox(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.pbColorPartition = new System.Windows.Forms.PictureBox(); + this.label2 = new System.Windows.Forms.Label(); + this.colorDialog1 = new System.Windows.Forms.ColorDialog(); + this.btnCancel = new System.Windows.Forms.Button(); + this.btnReset = new System.Windows.Forms.Button(); + this.tabControl1.SuspendLayout(); + this.tabGeneral.SuspendLayout(); + this.tabPage2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorSpecial)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorFiller)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorMeta)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorSystemItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorRIP)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorIndex)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorEssence)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorPartition)).BeginInit(); + this.SuspendLayout(); + // + // btnOk + // + this.btnOk.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnOk.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnOk.Location = new System.Drawing.Point(771, 559); + this.btnOk.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnOk.Name = "btnOk"; + this.btnOk.Size = new System.Drawing.Size(163, 58); + this.btnOk.TabIndex = 7; + this.btnOk.Text = "Ok"; + this.btnOk.UseVisualStyleBackColor = true; + this.btnOk.Click += new System.EventHandler(this.bntOk_Click); + // + // tabControl1 + // + this.tabControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); - this.tabControl1.Controls.Add(this.tabGeneral); - this.tabControl1.Controls.Add(this.tabPage2); - this.tabControl1.Location = new System.Drawing.Point(15, 15); - this.tabControl1.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tabControl1.Name = "tabControl1"; - this.tabControl1.SelectedIndex = 0; - this.tabControl1.Size = new System.Drawing.Size(582, 240); - this.tabControl1.TabIndex = 8; - // - // tabGeneral - // - this.tabGeneral.Controls.Add(this.chkOffsetAsHex); - this.tabGeneral.Controls.Add(this.chkPartialLoadMsg); - this.tabGeneral.Controls.Add(this.label9); - this.tabGeneral.Controls.Add(this.chkShowLines); - this.tabGeneral.Controls.Add(this.cmbTopNumber); - this.tabGeneral.Controls.Add(this.cmbThreshold); - this.tabGeneral.Controls.Add(this.label4); - this.tabGeneral.Controls.Add(this.label1); - this.tabGeneral.Location = new System.Drawing.Point(4, 24); - this.tabGeneral.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tabGeneral.Name = "tabGeneral"; - this.tabGeneral.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tabGeneral.Size = new System.Drawing.Size(574, 212); - this.tabGeneral.TabIndex = 0; - this.tabGeneral.Text = "General"; - this.tabGeneral.UseVisualStyleBackColor = true; - // - // chkPartialLoadMsg - // - this.chkPartialLoadMsg.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; - this.chkPartialLoadMsg.Location = new System.Drawing.Point(5, 42); - this.chkPartialLoadMsg.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.chkPartialLoadMsg.Name = "chkPartialLoadMsg"; - this.chkPartialLoadMsg.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.chkPartialLoadMsg.Size = new System.Drawing.Size(250, 22); - this.chkPartialLoadMsg.TabIndex = 4; - this.chkPartialLoadMsg.Text = "Show partial loading message"; - this.chkPartialLoadMsg.UseVisualStyleBackColor = true; - // - // label9 - // - this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark; - this.label9.Location = new System.Drawing.Point(7, 67); - this.label9.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(559, 40); - this.label9.TabIndex = 3; - this.label9.Text = "Files that are larger than the threshold will be partially loaded. A partition wi" + + this.tabControl1.Controls.Add(this.tabGeneral); + this.tabControl1.Controls.Add(this.tabPage2); + this.tabControl1.Location = new System.Drawing.Point(28, 32); + this.tabControl1.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.tabControl1.Name = "tabControl1"; + this.tabControl1.SelectedIndex = 0; + this.tabControl1.Size = new System.Drawing.Size(1081, 512); + this.tabControl1.TabIndex = 8; + // + // tabGeneral + // + this.tabGeneral.Controls.Add(this.chkOffsetAsHex); + this.tabGeneral.Controls.Add(this.chkPartialLoadMsg); + this.tabGeneral.Controls.Add(this.label9); + this.tabGeneral.Controls.Add(this.chkShowLines); + this.tabGeneral.Controls.Add(this.cmbTopNumber); + this.tabGeneral.Controls.Add(this.cmbThreshold); + this.tabGeneral.Controls.Add(this.label4); + this.tabGeneral.Controls.Add(this.label1); + this.tabGeneral.Location = new System.Drawing.Point(8, 46); + this.tabGeneral.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.tabGeneral.Name = "tabGeneral"; + this.tabGeneral.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.tabGeneral.Size = new System.Drawing.Size(1065, 458); + this.tabGeneral.TabIndex = 0; + this.tabGeneral.Text = "General"; + this.tabGeneral.UseVisualStyleBackColor = true; + // + // chkOffsetAsHex + // + this.chkOffsetAsHex.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chkOffsetAsHex.Location = new System.Drawing.Point(9, 235); + this.chkOffsetAsHex.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.chkOffsetAsHex.Name = "chkOffsetAsHex"; + this.chkOffsetAsHex.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chkOffsetAsHex.Size = new System.Drawing.Size(464, 47); + this.chkOffsetAsHex.TabIndex = 5; + this.chkOffsetAsHex.Text = "Show byte offsets as hex values"; + this.chkOffsetAsHex.UseVisualStyleBackColor = true; + // + // chkPartialLoadMsg + // + this.chkPartialLoadMsg.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chkPartialLoadMsg.Location = new System.Drawing.Point(9, 90); + this.chkPartialLoadMsg.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.chkPartialLoadMsg.Name = "chkPartialLoadMsg"; + this.chkPartialLoadMsg.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chkPartialLoadMsg.Size = new System.Drawing.Size(464, 47); + this.chkPartialLoadMsg.TabIndex = 4; + this.chkPartialLoadMsg.Text = "Show partial loading message"; + this.chkPartialLoadMsg.UseVisualStyleBackColor = true; + // + // label9 + // + this.label9.ForeColor = System.Drawing.SystemColors.ControlDarkDark; + this.label9.Location = new System.Drawing.Point(13, 143); + this.label9.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label9.Name = "label9"; + this.label9.Size = new System.Drawing.Size(1038, 85); + this.label9.TabIndex = 3; + this.label9.Text = "Files that are larger than the threshold will be partially loaded. A partition wi" + "ll be loaded when it is expanded in the tree."; - // - // chkShowLines - // - this.chkShowLines.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; - this.chkShowLines.Location = new System.Drawing.Point(5, 174); - this.chkShowLines.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.chkShowLines.Name = "chkShowLines"; - this.chkShowLines.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.chkShowLines.Size = new System.Drawing.Size(250, 22); - this.chkShowLines.TabIndex = 2; - this.chkShowLines.Text = "Show grid lines in list"; - this.chkShowLines.UseVisualStyleBackColor = true; - this.chkShowLines.Visible = false; - // - // cmbTopNumber - // - this.cmbTopNumber.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbTopNumber.Enabled = false; - this.cmbTopNumber.FormattingEnabled = true; - this.cmbTopNumber.Items.AddRange(new object[] { + // + // chkShowLines + // + this.chkShowLines.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; + this.chkShowLines.Location = new System.Drawing.Point(9, 371); + this.chkShowLines.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.chkShowLines.Name = "chkShowLines"; + this.chkShowLines.RightToLeft = System.Windows.Forms.RightToLeft.No; + this.chkShowLines.Size = new System.Drawing.Size(464, 47); + this.chkShowLines.TabIndex = 2; + this.chkShowLines.Text = "Show grid lines in list"; + this.chkShowLines.UseVisualStyleBackColor = true; + this.chkShowLines.Visible = false; + // + // cmbTopNumber + // + this.cmbTopNumber.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbTopNumber.Enabled = false; + this.cmbTopNumber.FormattingEnabled = true; + this.cmbTopNumber.Items.AddRange(new object[] { "10", "25", "50", @@ -174,18 +186,18 @@ private void InitializeComponent() "1500", "2000", "2500"}); - this.cmbTopNumber.Location = new System.Drawing.Point(238, 141); - this.cmbTopNumber.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbTopNumber.Name = "cmbTopNumber"; - this.cmbTopNumber.Size = new System.Drawing.Size(154, 23); - this.cmbTopNumber.TabIndex = 1; - this.cmbTopNumber.Visible = false; - // - // cmbThreshold - // - this.cmbThreshold.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; - this.cmbThreshold.FormattingEnabled = true; - this.cmbThreshold.Items.AddRange(new object[] { + this.cmbTopNumber.Location = new System.Drawing.Point(442, 301); + this.cmbTopNumber.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.cmbTopNumber.Name = "cmbTopNumber"; + this.cmbTopNumber.Size = new System.Drawing.Size(283, 40); + this.cmbTopNumber.TabIndex = 1; + this.cmbTopNumber.Visible = false; + // + // cmbThreshold + // + this.cmbThreshold.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; + this.cmbThreshold.FormattingEnabled = true; + this.cmbThreshold.Items.AddRange(new object[] { "All files", "100 MB", "500 MB", @@ -193,318 +205,307 @@ private void InitializeComponent() "5 GB", "10 GB", "No files"}); - this.cmbThreshold.Location = new System.Drawing.Point(238, 10); - this.cmbThreshold.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.cmbThreshold.Name = "cmbThreshold"; - this.cmbThreshold.Size = new System.Drawing.Size(154, 23); - this.cmbThreshold.TabIndex = 1; - // - // label4 - // - this.label4.AutoSize = true; - this.label4.Enabled = false; - this.label4.Location = new System.Drawing.Point(7, 144); - this.label4.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(209, 15); - this.label4.TabIndex = 0; - this.label4.Text = "Number of files to show in the top list:"; - this.label4.Visible = false; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(7, 14); - this.label1.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(119, 15); - this.label1.TabIndex = 0; - this.label1.Text = "Partial load threshold"; - // - // tabPage2 - // - this.tabPage2.Controls.Add(this.pbColorSpecial); - this.tabPage2.Controls.Add(this.label12); - this.tabPage2.Controls.Add(this.pbColorFiller); - this.tabPage2.Controls.Add(this.label11); - this.tabPage2.Controls.Add(this.pbColorMeta); - this.tabPage2.Controls.Add(this.label10); - this.tabPage2.Controls.Add(this.pbColorSystemItem); - this.tabPage2.Controls.Add(this.label8); - this.tabPage2.Controls.Add(this.pbColorRIP); - this.tabPage2.Controls.Add(this.label5); - this.tabPage2.Controls.Add(this.pbColorIndex); - this.tabPage2.Controls.Add(this.pbColorEssence); - this.tabPage2.Controls.Add(this.label7); - this.tabPage2.Controls.Add(this.label6); - this.tabPage2.Controls.Add(this.label3); - this.tabPage2.Controls.Add(this.pbColorPartition); - this.tabPage2.Controls.Add(this.label2); - this.tabPage2.Location = new System.Drawing.Point(4, 24); - this.tabPage2.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tabPage2.Name = "tabPage2"; - this.tabPage2.Padding = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.tabPage2.Size = new System.Drawing.Size(574, 212); - this.tabPage2.TabIndex = 1; - this.tabPage2.Text = "Colors"; - this.tabPage2.UseVisualStyleBackColor = true; - // - // pbColorSpecial - // - this.pbColorSpecial.BackColor = System.Drawing.Color.Red; - this.pbColorSpecial.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorSpecial.Location = new System.Drawing.Point(142, 163); - this.pbColorSpecial.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorSpecial.Name = "pbColorSpecial"; - this.pbColorSpecial.Size = new System.Drawing.Size(130, 15); - this.pbColorSpecial.TabIndex = 13; - this.pbColorSpecial.TabStop = false; - this.pbColorSpecial.Click += new System.EventHandler(this.pbColorSpecial_Click); - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Location = new System.Drawing.Point(4, 163); - this.label12.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(74, 15); - this.label12.TabIndex = 12; - this.label12.Text = "Special color"; - // - // pbColorFiller - // - this.pbColorFiller.BackColor = System.Drawing.Color.Red; - this.pbColorFiller.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorFiller.Location = new System.Drawing.Point(142, 138); - this.pbColorFiller.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorFiller.Name = "pbColorFiller"; - this.pbColorFiller.Size = new System.Drawing.Size(130, 15); - this.pbColorFiller.TabIndex = 11; - this.pbColorFiller.TabStop = false; - this.pbColorFiller.Click += new System.EventHandler(this.pbColorFiller_Click); - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Location = new System.Drawing.Point(4, 138); - this.label11.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(62, 15); - this.label11.TabIndex = 10; - this.label11.Text = "Filler color"; - // - // pbColorMeta - // - this.pbColorMeta.BackColor = System.Drawing.Color.Red; - this.pbColorMeta.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorMeta.Location = new System.Drawing.Point(142, 117); - this.pbColorMeta.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorMeta.Name = "pbColorMeta"; - this.pbColorMeta.Size = new System.Drawing.Size(130, 15); - this.pbColorMeta.TabIndex = 9; - this.pbColorMeta.TabStop = false; - this.pbColorMeta.Click += new System.EventHandler(this.pbColorMeta_Click); - // - // label10 - // - this.label10.AutoSize = true; - this.label10.Location = new System.Drawing.Point(4, 117); - this.label10.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label10.Name = "label10"; - this.label10.Size = new System.Drawing.Size(90, 15); - this.label10.TabIndex = 8; - this.label10.Text = "Meta data color"; - // - // pbColorSystemItem - // - this.pbColorSystemItem.BackColor = System.Drawing.Color.Red; - this.pbColorSystemItem.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorSystemItem.Location = new System.Drawing.Point(142, 95); - this.pbColorSystemItem.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorSystemItem.Name = "pbColorSystemItem"; - this.pbColorSystemItem.Size = new System.Drawing.Size(130, 15); - this.pbColorSystemItem.TabIndex = 7; - this.pbColorSystemItem.TabStop = false; - this.pbColorSystemItem.Click += new System.EventHandler(this.pbColorSystemItem_Click); - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Location = new System.Drawing.Point(4, 95); - this.label8.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(102, 15); - this.label8.TabIndex = 6; - this.label8.Text = "System Item color"; - // - // pbColorRIP - // - this.pbColorRIP.BackColor = System.Drawing.Color.Red; - this.pbColorRIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorRIP.Location = new System.Drawing.Point(142, 73); - this.pbColorRIP.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorRIP.Name = "pbColorRIP"; - this.pbColorRIP.Size = new System.Drawing.Size(130, 15); - this.pbColorRIP.TabIndex = 5; - this.pbColorRIP.TabStop = false; - this.pbColorRIP.Click += new System.EventHandler(this.pbColorRIP_Click); - // - // label5 - // - this.label5.AutoSize = true; - this.label5.Location = new System.Drawing.Point(4, 73); - this.label5.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(54, 15); - this.label5.TabIndex = 4; - this.label5.Text = "RIP color"; - // - // pbColorIndex - // - this.pbColorIndex.BackColor = System.Drawing.Color.Red; - this.pbColorIndex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorIndex.Location = new System.Drawing.Point(142, 51); - this.pbColorIndex.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorIndex.Name = "pbColorIndex"; - this.pbColorIndex.Size = new System.Drawing.Size(130, 15); - this.pbColorIndex.TabIndex = 3; - this.pbColorIndex.TabStop = false; - this.pbColorIndex.Click += new System.EventHandler(this.pbColorIndex_Click); - // - // pbColorEssence - // - this.pbColorEssence.BackColor = System.Drawing.Color.Red; - this.pbColorEssence.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorEssence.Location = new System.Drawing.Point(142, 29); - this.pbColorEssence.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorEssence.Name = "pbColorEssence"; - this.pbColorEssence.Size = new System.Drawing.Size(130, 15); - this.pbColorEssence.TabIndex = 3; - this.pbColorEssence.TabStop = false; - this.pbColorEssence.Click += new System.EventHandler(this.pbColorEssence_Click); - // - // label7 - // - this.label7.AutoSize = true; - this.label7.ForeColor = System.Drawing.SystemColors.AppWorkspace; - this.label7.Location = new System.Drawing.Point(7, 192); - this.label7.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(216, 15); - this.label7.TabIndex = 2; - this.label7.Text = "Click on the colors to change the colors"; - // - // label6 - // - this.label6.AutoSize = true; - this.label6.Location = new System.Drawing.Point(4, 51); - this.label6.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(95, 15); - this.label6.TabIndex = 2; - this.label6.Text = "Index table color"; - // - // label3 - // - this.label3.AutoSize = true; - this.label3.Location = new System.Drawing.Point(4, 29); - this.label3.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label3.Name = "label3"; - this.label3.Size = new System.Drawing.Size(78, 15); - this.label3.TabIndex = 2; - this.label3.Text = "Essence color"; - // - // pbColorPartition - // - this.pbColorPartition.BackColor = System.Drawing.Color.Red; - this.pbColorPartition.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.pbColorPartition.Location = new System.Drawing.Point(142, 7); - this.pbColorPartition.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.pbColorPartition.Name = "pbColorPartition"; - this.pbColorPartition.Size = new System.Drawing.Size(130, 15); - this.pbColorPartition.TabIndex = 1; - this.pbColorPartition.TabStop = false; - this.pbColorPartition.Click += new System.EventHandler(this.pbColorPartition_Click); - // - // label2 - // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(4, 7); - this.label2.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(82, 15); - this.label2.TabIndex = 0; - this.label2.Text = "Partition color"; - // - // btnCancel - // - this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); - this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; - this.btnCancel.Location = new System.Drawing.Point(510, 262); - this.btnCancel.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnCancel.Name = "btnCancel"; - this.btnCancel.Size = new System.Drawing.Size(88, 27); - this.btnCancel.TabIndex = 7; - this.btnCancel.Text = "Cancel"; - this.btnCancel.UseVisualStyleBackColor = true; - // - // btnReset - // - this.btnReset.Location = new System.Drawing.Point(15, 262); - this.btnReset.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.btnReset.Name = "btnReset"; - this.btnReset.Size = new System.Drawing.Size(131, 27); - this.btnReset.TabIndex = 8; - this.btnReset.Text = "Reset to default"; - this.btnReset.UseVisualStyleBackColor = true; - this.btnReset.Click += new System.EventHandler(this.btnReset_Click); - // - // chkOffsetAsHex - // - this.chkOffsetAsHex.CheckAlign = System.Drawing.ContentAlignment.MiddleRight; - this.chkOffsetAsHex.Location = new System.Drawing.Point(5, 110); - this.chkOffsetAsHex.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.chkOffsetAsHex.Name = "chkOffsetAsHex"; - this.chkOffsetAsHex.RightToLeft = System.Windows.Forms.RightToLeft.No; - this.chkOffsetAsHex.Size = new System.Drawing.Size(250, 22); - this.chkOffsetAsHex.TabIndex = 5; - this.chkOffsetAsHex.Text = "Show byte offsets as hex values"; - this.chkOffsetAsHex.UseVisualStyleBackColor = true; - // - // FormSettings - // - this.AcceptButton = this.btnOk; - this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 15F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.CancelButton = this.btnCancel; - this.ClientSize = new System.Drawing.Size(611, 302); - this.Controls.Add(this.btnReset); - this.Controls.Add(this.tabControl1); - this.Controls.Add(this.btnCancel); - this.Controls.Add(this.btnOk); - this.Margin = new System.Windows.Forms.Padding(4, 3, 4, 3); - this.MaximizeBox = false; - this.MinimizeBox = false; - this.Name = "FormSettings"; - this.ShowIcon = false; - this.ShowInTaskbar = false; - this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; - this.Text = "Settings"; - this.Load += new System.EventHandler(this.FormSettings_Load); - this.tabControl1.ResumeLayout(false); - this.tabGeneral.ResumeLayout(false); - this.tabGeneral.PerformLayout(); - this.tabPage2.ResumeLayout(false); - this.tabPage2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorSpecial)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorFiller)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorMeta)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorSystemItem)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorRIP)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorIndex)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorEssence)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pbColorPartition)).EndInit(); - this.ResumeLayout(false); + this.cmbThreshold.Location = new System.Drawing.Point(442, 21); + this.cmbThreshold.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.cmbThreshold.Name = "cmbThreshold"; + this.cmbThreshold.Size = new System.Drawing.Size(283, 40); + this.cmbThreshold.TabIndex = 1; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Enabled = false; + this.label4.Location = new System.Drawing.Point(13, 307); + this.label4.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(426, 32); + this.label4.TabIndex = 0; + this.label4.Text = "Number of files to show in the top list:"; + this.label4.Visible = false; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(13, 30); + this.label1.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(239, 32); + this.label1.TabIndex = 0; + this.label1.Text = "Partial load threshold"; + // + // tabPage2 + // + this.tabPage2.Controls.Add(this.pbColorSpecial); + this.tabPage2.Controls.Add(this.label12); + this.tabPage2.Controls.Add(this.pbColorFiller); + this.tabPage2.Controls.Add(this.label11); + this.tabPage2.Controls.Add(this.pbColorMeta); + this.tabPage2.Controls.Add(this.label10); + this.tabPage2.Controls.Add(this.pbColorSystemItem); + this.tabPage2.Controls.Add(this.label8); + this.tabPage2.Controls.Add(this.pbColorRIP); + this.tabPage2.Controls.Add(this.label5); + this.tabPage2.Controls.Add(this.pbColorIndex); + this.tabPage2.Controls.Add(this.pbColorEssence); + this.tabPage2.Controls.Add(this.label7); + this.tabPage2.Controls.Add(this.label6); + this.tabPage2.Controls.Add(this.label3); + this.tabPage2.Controls.Add(this.pbColorPartition); + this.tabPage2.Controls.Add(this.label2); + this.tabPage2.Location = new System.Drawing.Point(8, 46); + this.tabPage2.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.tabPage2.Name = "tabPage2"; + this.tabPage2.Padding = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.tabPage2.Size = new System.Drawing.Size(1065, 458); + this.tabPage2.TabIndex = 1; + this.tabPage2.Text = "Colors"; + this.tabPage2.UseVisualStyleBackColor = true; + // + // pbColorSpecial + // + this.pbColorSpecial.BackColor = System.Drawing.Color.Red; + this.pbColorSpecial.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorSpecial.Location = new System.Drawing.Point(264, 348); + this.pbColorSpecial.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorSpecial.Name = "pbColorSpecial"; + this.pbColorSpecial.Size = new System.Drawing.Size(240, 30); + this.pbColorSpecial.TabIndex = 13; + this.pbColorSpecial.TabStop = false; + this.pbColorSpecial.Click += new System.EventHandler(this.pbColorSpecial_Click); + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Location = new System.Drawing.Point(7, 348); + this.label12.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(149, 32); + this.label12.TabIndex = 12; + this.label12.Text = "Special color"; + // + // pbColorFiller + // + this.pbColorFiller.BackColor = System.Drawing.Color.Red; + this.pbColorFiller.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorFiller.Location = new System.Drawing.Point(264, 294); + this.pbColorFiller.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorFiller.Name = "pbColorFiller"; + this.pbColorFiller.Size = new System.Drawing.Size(240, 30); + this.pbColorFiller.TabIndex = 11; + this.pbColorFiller.TabStop = false; + this.pbColorFiller.Click += new System.EventHandler(this.pbColorFiller_Click); + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Location = new System.Drawing.Point(7, 294); + this.label11.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(125, 32); + this.label11.TabIndex = 10; + this.label11.Text = "Filler color"; + // + // pbColorMeta + // + this.pbColorMeta.BackColor = System.Drawing.Color.Red; + this.pbColorMeta.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorMeta.Location = new System.Drawing.Point(264, 250); + this.pbColorMeta.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorMeta.Name = "pbColorMeta"; + this.pbColorMeta.Size = new System.Drawing.Size(240, 30); + this.pbColorMeta.TabIndex = 9; + this.pbColorMeta.TabStop = false; + this.pbColorMeta.Click += new System.EventHandler(this.pbColorMeta_Click); + // + // label10 + // + this.label10.AutoSize = true; + this.label10.Location = new System.Drawing.Point(7, 250); + this.label10.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label10.Name = "label10"; + this.label10.Size = new System.Drawing.Size(182, 32); + this.label10.TabIndex = 8; + this.label10.Text = "Meta data color"; + // + // pbColorSystemItem + // + this.pbColorSystemItem.BackColor = System.Drawing.Color.Red; + this.pbColorSystemItem.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorSystemItem.Location = new System.Drawing.Point(264, 203); + this.pbColorSystemItem.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorSystemItem.Name = "pbColorSystemItem"; + this.pbColorSystemItem.Size = new System.Drawing.Size(240, 30); + this.pbColorSystemItem.TabIndex = 7; + this.pbColorSystemItem.TabStop = false; + this.pbColorSystemItem.Click += new System.EventHandler(this.pbColorSystemItem_Click); + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Location = new System.Drawing.Point(7, 203); + this.label8.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(205, 32); + this.label8.TabIndex = 6; + this.label8.Text = "System Item color"; + // + // pbColorRIP + // + this.pbColorRIP.BackColor = System.Drawing.Color.Red; + this.pbColorRIP.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorRIP.Location = new System.Drawing.Point(264, 156); + this.pbColorRIP.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorRIP.Name = "pbColorRIP"; + this.pbColorRIP.Size = new System.Drawing.Size(240, 30); + this.pbColorRIP.TabIndex = 5; + this.pbColorRIP.TabStop = false; + this.pbColorRIP.Click += new System.EventHandler(this.pbColorRIP_Click); + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Location = new System.Drawing.Point(7, 156); + this.label5.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(107, 32); + this.label5.TabIndex = 4; + this.label5.Text = "RIP color"; + // + // pbColorIndex + // + this.pbColorIndex.BackColor = System.Drawing.Color.Red; + this.pbColorIndex.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorIndex.Location = new System.Drawing.Point(264, 109); + this.pbColorIndex.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorIndex.Name = "pbColorIndex"; + this.pbColorIndex.Size = new System.Drawing.Size(240, 30); + this.pbColorIndex.TabIndex = 3; + this.pbColorIndex.TabStop = false; + this.pbColorIndex.Click += new System.EventHandler(this.pbColorIndex_Click); + // + // pbColorEssence + // + this.pbColorEssence.BackColor = System.Drawing.Color.Red; + this.pbColorEssence.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorEssence.Location = new System.Drawing.Point(264, 62); + this.pbColorEssence.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorEssence.Name = "pbColorEssence"; + this.pbColorEssence.Size = new System.Drawing.Size(240, 30); + this.pbColorEssence.TabIndex = 3; + this.pbColorEssence.TabStop = false; + this.pbColorEssence.Click += new System.EventHandler(this.pbColorEssence_Click); + // + // label7 + // + this.label7.AutoSize = true; + this.label7.ForeColor = System.Drawing.SystemColors.AppWorkspace; + this.label7.Location = new System.Drawing.Point(13, 410); + this.label7.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(437, 32); + this.label7.TabIndex = 2; + this.label7.Text = "Click on the colors to change the colors"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Location = new System.Drawing.Point(7, 109); + this.label6.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(192, 32); + this.label6.TabIndex = 2; + this.label6.Text = "Index table color"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(7, 62); + this.label3.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(157, 32); + this.label3.TabIndex = 2; + this.label3.Text = "Essence color"; + // + // pbColorPartition + // + this.pbColorPartition.BackColor = System.Drawing.Color.Red; + this.pbColorPartition.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.pbColorPartition.Location = new System.Drawing.Point(264, 15); + this.pbColorPartition.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.pbColorPartition.Name = "pbColorPartition"; + this.pbColorPartition.Size = new System.Drawing.Size(240, 30); + this.pbColorPartition.TabIndex = 1; + this.pbColorPartition.TabStop = false; + this.pbColorPartition.Click += new System.EventHandler(this.pbColorPartition_Click); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(7, 15); + this.label2.Margin = new System.Windows.Forms.Padding(7, 0, 7, 0); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(162, 32); + this.label2.TabIndex = 0; + this.label2.Text = "Partition color"; + // + // btnCancel + // + this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); + this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; + this.btnCancel.Location = new System.Drawing.Point(947, 559); + this.btnCancel.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnCancel.Name = "btnCancel"; + this.btnCancel.Size = new System.Drawing.Size(163, 58); + this.btnCancel.TabIndex = 7; + this.btnCancel.Text = "Cancel"; + this.btnCancel.UseVisualStyleBackColor = true; + // + // btnReset + // + this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); + this.btnReset.Location = new System.Drawing.Point(28, 559); + this.btnReset.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.btnReset.Name = "btnReset"; + this.btnReset.Size = new System.Drawing.Size(243, 58); + this.btnReset.TabIndex = 8; + this.btnReset.Text = "Reset to default"; + this.btnReset.UseVisualStyleBackColor = true; + this.btnReset.Click += new System.EventHandler(this.btnReset_Click); + // + // FormSettings + // + this.AcceptButton = this.btnOk; + this.AutoScaleDimensions = new System.Drawing.SizeF(13F, 32F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.CancelButton = this.btnCancel; + this.ClientSize = new System.Drawing.Size(1135, 644); + this.Controls.Add(this.btnReset); + this.Controls.Add(this.tabControl1); + this.Controls.Add(this.btnCancel); + this.Controls.Add(this.btnOk); + this.Margin = new System.Windows.Forms.Padding(7, 6, 7, 6); + this.MaximizeBox = false; + this.MinimizeBox = false; + this.Name = "FormSettings"; + this.ShowIcon = false; + this.ShowInTaskbar = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; + this.Text = "Settings"; + this.Load += new System.EventHandler(this.FormSettings_Load); + this.tabControl1.ResumeLayout(false); + this.tabGeneral.ResumeLayout(false); + this.tabGeneral.PerformLayout(); + this.tabPage2.ResumeLayout(false); + this.tabPage2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorSpecial)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorFiller)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorMeta)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorSystemItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorRIP)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorIndex)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorEssence)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.pbColorPartition)).EndInit(); + this.ResumeLayout(false); } diff --git a/MXFInspect/FormSettings.resx b/MXFInspect/FormSettings.resx index f298a7be..a4bb2fd5 100644 --- a/MXFInspect/FormSettings.resx +++ b/MXFInspect/FormSettings.resx @@ -57,4 +57,7 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + 17, 17 + \ No newline at end of file diff --git a/MXFInspect/MXFView.cs b/MXFInspect/MXFView.cs index ad282625..2abe1942 100644 --- a/MXFInspect/MXFView.cs +++ b/MXFInspect/MXFView.cs @@ -109,7 +109,7 @@ private async void MXFView_Load(object sender, EventArgs e) { this.ParentMainForm = this.MdiParent as FormMain; - ObjectListView.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default; + //ObjectListView.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.Default; this.Text = this.FileInfo.FullName; this.MinimizeBox = false; diff --git a/MXFInspect/Properties/AssemblyInfo.cs b/MXFInspect/Properties/AssemblyInfo.cs index ca195459..879243ec 100644 --- a/MXFInspect/Properties/AssemblyInfo.cs +++ b/MXFInspect/Properties/AssemblyInfo.cs @@ -10,7 +10,7 @@ [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("Myriadbits")] [assembly: AssemblyProduct("MXFInspect")] -[assembly: AssemblyCopyright("Copyright © 2015 by Myriadbits.com")] +[assembly: AssemblyCopyright("Copyright © 2023 by Myriadbits")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("4.0.8")] -[assembly: AssemblyFileVersion("4.0.8")] +[assembly: AssemblyVersion("4.0.9")] +[assembly: AssemblyFileVersion("4.0.9")] diff --git a/MXFInspect/Properties/Resources.Designer.cs b/MXFInspect/Properties/Resources.Designer.cs index a69c6e9a..85408aab 100644 --- a/MXFInspect/Properties/Resources.Designer.cs +++ b/MXFInspect/Properties/Resources.Designer.cs @@ -19,7 +19,7 @@ namespace Myriadbits.MXFInspect.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/MXFInspect/Properties/Settings.Designer.cs b/MXFInspect/Properties/Settings.Designer.cs index c6d07a64..43ad06a8 100644 --- a/MXFInspect/Properties/Settings.Designer.cs +++ b/MXFInspect/Properties/Settings.Designer.cs @@ -12,7 +12,7 @@ namespace Myriadbits.MXFInspect.Properties { [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.3.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "17.4.0.0")] internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase { private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings()))); diff --git a/MXFInspect/Resources/LICENSE b/MXFInspect/Resources/LICENSE index d159169d..cbc15301 100644 --- a/MXFInspect/Resources/LICENSE +++ b/MXFInspect/Resources/LICENSE @@ -1,339 +1,56 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 +GNU LESSER GENERAL PUBLIC LICENSE +Version 3, 29 June 2007 - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. +Copyright © 2007 Free Software Foundation, Inc. - Preamble +Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. +This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. +0. Additional Definitions. +As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. +“The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. +An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. +A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. +The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. +The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. - The precise terms and conditions for copying, distribution and -modification follow. +1. Exception to Section 3 of the GNU GPL. +You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION +2. Conveying Modified Versions. +If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". +a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or +b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. +3. Object Code Incorporating Material from Library Header Files. +The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. +a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. +b) Accompany the object code with a copy of the GNU GPL and this license document. +4. Combined Works. +You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. +a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. +b) Accompany the Combined Work with a copy of the GNU GPL and this license document. +c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. +d) Do one of the following: +0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. +1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. +e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) +5. Combined Libraries. +You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. +a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. +b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. +6. Revised Versions of the GNU Lesser General Public License. +The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: +Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. +If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. \ No newline at end of file