コード例 #1
0
        public static int CompareS6xElementSignatureCateg(S6xElementSignature s6xESig1, S6xElementSignature s6xESig2)
        {
            if (s6xESig1 == null && s6xESig2 == null)
            {
                return(0);
            }
            if (s6xESig1 == null)
            {
                return(-1);
            }
            if (s6xESig2 == null)
            {
                return(1);
            }

            if ((s6xESig1.SignatureCategory == null || s6xESig1.SignatureCategory == string.Empty) && (s6xESig2.SignatureCategory == null || s6xESig2.SignatureCategory == string.Empty))
            {
                return(s6xESig1.UniqueKey.CompareTo(s6xESig2.UniqueKey));
            }
            if (s6xESig1.SignatureCategory == null || s6xESig1.SignatureCategory == string.Empty)
            {
                return(1);                                                                                    // Empty Categ appears at the end
            }
            if (s6xESig2.SignatureCategory == null || s6xESig2.SignatureCategory == string.Empty)
            {
                return(-1);                                                                                   // Empty Categ appears at the end
            }
            if (s6xESig1.SignatureCategory != s6xESig2.SignatureCategory)
            {
                return(s6xESig1.SignatureCategory.CompareTo(s6xESig2.SignatureCategory));
            }

            return(s6xESig1.UniqueKey.CompareTo(s6xESig2.UniqueKey));
        }
コード例 #2
0
        public ElemSigForm(ref SADS6x s6x, ref S6xElementSignature eSig)
        {
            S6x     = s6x;
            s6xESig = eSig;

            try { Icon = Icon.ExtractAssociatedIcon(Application.ExecutablePath); }
            catch { }

            InitializeComponent();
        }
コード例 #3
0
 public static void updateSignatureElementInternalStructureRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, R_SAD806x_SignaturesElementsInternalStructures rRow, S6xElementSignature s6xObject)
 {
     SQLite806xToolsSAD806xV10.updateSignatureElementInternalStructureRow(ref db806x, ref sadS6x, rRow, s6xObject);
 }
コード例 #4
0
 public static object addSignatureElementInternalStructureRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, ref List <R_SAD806x_SignaturesElementsInternalStructures> rList, S6xElementSignature s6xObject)
 {
     return(SQLite806xToolsSAD806xV10.addSignatureElementInternalStructureRow(ref db806x, ref sadS6x, ref rList, s6xObject));
 }
コード例 #5
0
 public static void updateSignatureElementInternalScalarBitFlagRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, R_SAD806x_SignaturesElementsInternalScalarsBitFlags rRow, S6xElementSignature s6xObject, S6xRoutineInternalScalar s6xSubObject, S6xBitFlag s6xBF)
 {
     SQLite806xToolsSAD806xV10.updateSignatureElementInternalScalarBitFlagRow(ref db806x, ref sadS6x, rRow, s6xObject, s6xSubObject, s6xBF);
 }
コード例 #6
0
 public static object addSignatureElementInternalScalarBitFlagRow(ref SQLite806xDB db806x, ref SADS6x sadS6x, ref List <R_SAD806x_SignaturesElementsInternalScalarsBitFlags> rList, S6xElementSignature s6xObject, S6xRoutineInternalScalar s6xSubObject, S6xBitFlag s6xBF)
 {
     return(SQLite806xToolsSAD806xV10.addSignatureElementInternalScalarBitFlagRow(ref db806x, ref sadS6x, ref rList, s6xObject, s6xSubObject, s6xBF));
 }