コード例 #1
0
        partial void OnRemove(NSObject sender)
        {
            nint row = AttributeToExportTableView.SelectedRow;

            if (row >= (nint)0)
            {
                _attrToExportDs.attrList.RemoveAt((int)row);
                AttributeToExportTableView.ReloadData();
            }
        }
コード例 #2
0
        void ReleaseDesignerOutlets()
        {
            if (RemoveButton != null)
            {
                RemoveButton.Dispose();
                RemoveButton = null;
            }

            if (AddButton != null)
            {
                AddButton.Dispose();
                AddButton = null;
            }

            if (RemoveAllButton != null)
            {
                RemoveAllButton.Dispose();
                RemoveAllButton = null;
            }

            if (AllReturnAttrCheckBox != null)
            {
                AllReturnAttrCheckBox.Dispose();
                AllReturnAttrCheckBox = null;
            }

            if (AttributeToExportComboBox != null)
            {
                AttributeToExportComboBox.Dispose();
                AttributeToExportComboBox = null;
            }

            if (AttributeToExportTableView != null)
            {
                AttributeToExportTableView.Dispose();
                AttributeToExportTableView = null;
            }

            if (FormatComboBox != null)
            {
                FormatComboBox.Dispose();
                FormatComboBox = null;
            }

            if (ScopeComboBox != null)
            {
                ScopeComboBox.Dispose();
                ScopeComboBox = null;
            }
        }
コード例 #3
0
 partial void OnRemoveAll(NSObject sender)
 {
     _attrToExportDs.attrList.Clear();
     AttributeToExportTableView.ReloadData();
 }
コード例 #4
0
 partial void OnAdd(NSObject sender)
 {
     _attrToExportDs.attrList.Add(AttributeToExportComboBox.SelectedValue.ToString());
     AttributeToExportTableView.ReloadData();
 }