func init // adds using namespace sys.add_use('System.Windows.Forms') end func DataGridViewDataErrorContexts v = this.props('DataGridViewDataErrorContexts').value flags = ((v _and_ 1) ? '|DataGridViewDataErrorContexts.Formatting' : '') + ((v _and_ 2) ? '|DataGridViewDataErrorContexts.Display' : '') + ((v _and_ 4) ? '|DataGridViewDataErrorContexts.PreferredSize' : '') + ((v _and_ 8) ? '|DataGridViewDataErrorContexts.RowDeletion' : '') + ((v _and_ 16) ? '|DataGridViewDataErrorContexts.Parsing' : '') + ((v _and_ 32) ? '|DataGridViewDataErrorContexts.Commit' : '') + ((v _and_ 64) ? '|DataGridViewDataErrorContexts.InitialValueRestoration' : '') + ((v _and_ 128) ? '|DataGridViewDataErrorContexts.LeaveControl' : '') + ((v _and_ 256) ? '|DataGridViewDataErrorContexts.CurrentCellChange' : '') + ((v _and_ 512) ? '|DataGridViewDataErrorContexts.Scroll' : '') + ((v _and_ 1024) ? '|DataGridViewDataErrorContexts.ClipboardContent' : '') return('(0' + flags + ')') end