Пример #1
0
        private void OnEventSelectedPage(OptionPageMonobjc aPage)
        {
            EventHandler <EventArgsOptionPage> del = EventSelectedPage;

            if (del != null)
            {
                del(this, new EventArgsOptionPage(aPage));
            }
        }
Пример #2
0
        public void TableViewSelectionDidChange(NSNotification aNotification)
        {
            NSTableView tableView        = aNotification.Object.CastAs <NSTableView>();
            NSIndexSet  selectedIndexSet = tableView.SelectedRowIndexes;

            int index = (int)selectedIndexSet.FirstIndex;
            OptionPageMonobjc page = iPages[index];

            OnEventSelectedPage(page);
        }
Пример #3
0
 public EventArgsOptionPage(OptionPageMonobjc aPage) : base()
 {
     Page = aPage;
 }