示例#1
0
		public override void DidFinishLaunching (NSNotification notification)
		{
			testWindowController = new TestWindowController ();
			testWindowController.Window.MakeKeyAndOrderFront (this);
			
			
		}
示例#2
0
        void ValidateProposedDateValue(NSDatePickerCell aDatePickerCell, ref NSDate proposedDateValue, double proposedTimeInterval)
        {
            TestWindowController controller = (TestWindowController)aDatePickerCell.WeakDelegate;

            if (controller != null && controller == this && aDatePickerCell == datePickerControl.Cell)
            {
                // override code goes here.  You should ensure that the new values are within the appropriate range.
                if (overrideDateCheck.SelectedCell.State == NSCellStateValue.On)
                {
                    // override the date using the user specified date
                    proposedDateValue = overrideDate.DateValue;
                }

                // NOTE:  I think there is a problem setting the proposed Date value as it is a ref
            }
        }
示例#3
0
 public override void DidFinishLaunching(NSNotification notification)
 {
     testWindowController = new TestWindowController();
     testWindowController.Window.MakeKeyAndOrderFront(this);
 }