Skip to content
Yami An edited this page Jan 29, 2023 · 2 revisions

YAMI AN NEPHILIM FRAMEWORK

FORM

DIALOG

  • YANMessageBoxScreen: message box new style (support for 3 languages)
    • English
    • 日本語
    • Tiếng Việt

SCREEN

  • YANWaitScreen: wait screen
  • YANLoadScreen: load screen
  • YANUpdateScreen: update screen

CONTROL

  • YANBtn: button new style
  • YANPrg: progress bar new style
  • YANRdo: radio button new style
  • YANTxt: text box new style
  • YANCirPic: circle picture box
  • YANDdl: drop down list
  • YANGradPnl: gradient panel
  • YANNb: num box
  • YANTg: toggle button

EXTENSION

NUMERIC

  • Min: returns the smallest item in params
  • Max: Returns the largest item in params
  • Byte:
    • ParseByte: try parse string to byte, if failed return 0 / try parse string to byte, if failed return default value
    • ParseByteMin: try parse string to byte, if failed return min value
    • ParseByteMax: try parse string to byte, if failed return max value
    • RandomNumberByte: generate random byte number / generate random byte number with max value / generate random byte number with min and max value
  • SByte:
    • ParseSbyte: try parse string to sbyte, if failed return 0 / try parse string to sbyte, if failed return default value
    • ParseSbyteMin: try parse string to sbyte, if failed return min value
    • ParseSbyteMax: try parse string to sbyte, if failed return max value
    • RandomNumberSbyte: generate random sbyte number / generate random sbyte number with max value / generate random sbyte number with min and max value
  • Short:
    • ParseShort: try parse string to short, if failed return 0 / try parse string to short, if failed return default value
    • ParseShortMin: try parse string to short, if failed return min value
    • ParseShortMax: try parse string to short, if failed return max value
    • RandomNumberShort: generate random short number / generate random short number with max value / generate random short number with min and max value
  • Ushort:
    • ParseUshort: try parse string to ushort, if failed return 0 / try parse string to ushort, if failed return default value
    • ParseUshortMin: try parse string to ushort, if failed return min value
    • ParseUshortMax: try parse string to ushort, if failed return max value
    • RandomNumberUshort: generate random ushort number / generate random ushort number with max value / generate random ushort number with min and max value
  • Int:
    • ParseInt: try parse string to int, if failed return 0 / try parse string to int, if failed return default value
    • ParseIntMin: try parse string to int, if failed return min value
    • ParseIntMax: try parse string to int, if failed return max value
    • RandomNumberInt: generate random int number / generate random int number with max value / generate random int number with min and max value
  • Uint:
    • ParseUint: try parse string to uint, if failed return 0 / try parse string to uint, if failed return default value
    • ParseUintMin: try parse string to uint, if failed return min value
    • ParseUintMax: try parse string to uint, if failed return max value
    • RandomNumberUint: generate random uint number / generate random uint number with max value / generate random uint number with min and max value
  • Nint:
    • ParseNint: try parse string to nint, if failed return 0 / try parse string to nint, if failed return default value
    • ParseNintMin: try parse string to nint, if failed return min value
    • ParseNintMax: try parse string to nint, if failed return max value
    • RandomNumberNint: generate random nint number / generate random nint number with max value / generate random nint number with min and max value
  • Nuint:
    • ParseNuint: try parse string to nuint, if failed return 0 / try parse string to nuint, if failed return default value
    • ParseNuintMin: try parse string to nuint, if failed return min value
    • ParseNuintMax: try parse string to nuint, if failed return max value
    • RandomNumberNuint: generate random nuint number / generate random nuint number with max value / generate random nuint number with min and max value
  • Long:
    • ParseLong: try parse string to long, if failed return 0 / try parse string to long, if failed return default value
    • ParseLongMin: try parse string to long, if failed return min value
    • ParseLongMax: try parse string to long, if failed return max value
    • RandomNumberLong: generate random long number / generate random long number with max value / generate random long number with min and max value
  • Ulong:
    • ParseUlong: try parse string to ulong, if failed return 0 / try parse string to ulong, if failed return default value
    • ParseUlongMin: try parse string to ulong, if failed return min value
    • ParseUlongMax: try parse string to ulong, if failed return max value
    • RandomNumberUlong: generate random ulong number / generate random ulong number with max value / generate random ulong number with min and max value
  • Float:
    • ParseFloat: try parse string to float, if failed return 0 / try parse string to float, if failed return default value
    • ParseFloatMin: try parse string to float, if failed return min value
    • ParseFloatMax: try parse string to float, if failed return max value
    • RandomNumberFloat: generate random float number / generate random float number with max value / generate random float number with min and max value
  • Double:
    • ParseDouble: try parse string to double, if failed return 0 / try parse string to double, if failed return default value
    • ParseDoubleMin: try parse string to double, if failed return min value
    • ParseDoubleMax: try parse string to double, if failed return max value
    • RandomNumberDouble: generate random double number / generate random double number with max value / generate random double number with min and max value
  • Decimal:
    • ParseDecimal: try parse string to decimal, if failed return 0 / try parse string to decimal, if failed return default value
    • ParseDecimalMin: try parse string to decimal, if failed return min value
    • ParseDecimalMax: try parse string to decimal, if failed return max value
    • RandomNumberDecimal: generate random decimal number / generate random decimal number with max value / generate random decimal number with min and max value

TEXT

  • String
    • HasValue: check if string has value
    • HasValues: check if strings has value
    • HasCharater: check if string has character
    • HasCharaters: check if strings has character
    • GetValue: get value of string, if string null return empty / get value of string, if string null return string default

LIST

  • HasItem: check if list has item
  • SplitListBySize: split list by size

RANDOM

  • NextInt32: returns a non-negative random integer
  • NextSingle: returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0
  • NextDouble: returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0
  • NextDecimal: returns a random floating-point number that is greater than or equal to 0.0, and less than 1.0

TIMER

  • Start
  • Stop

PROCESS

  • ProcessKiller: Kill all process with name

TASK

  • WaitAnyWithCondition: waits for any of the provided task objects to complete execution with condition

DISPLAY

  • CreateRoundRectRgn
  • AnimateWindow
  • HighLightLblLinkByCtrl
  • FadeIn
  • FadeOut

EVENT

  • MoveFrm_MouseDown
  • MoveFrm_MouseMove
  • MoveFrm_MouseUp

OTHER

PASSWORD

  • Properties
    • SaltSize: int
    • KeySize: int
    • Iterations: int
    • SegmentDelimiter: char
    • Algorithm: Algorithm
  • Methods
    • Hash: hash password
    • Verify: verify password
    • IsValidPasswordStandard: check if password is valid (standard)
    • IsValidPassword: check if password is valid (optional)
Clone this wiki locally