This commit is contained in:
Nick Schonning 2018-11-11 03:33:41 -05:00
Родитель a6250ab7f1
Коммит 46658ad567
3 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -1444,7 +1444,7 @@
<connections>
<outlet property="AmountField" destination="fC4-PI-Epk" id="wJf-6I-zu7"/>
<outlet property="AmountStepper" destination="GZo-gm-I1r" id="3xV-2k-TQl"/>
<outlet property="CollorWell" destination="9ZB-xA-Cq9" id="fLA-Ex-bzl"/>
<outlet property="ColorWell" destination="9ZB-xA-Cq9" id="fLA-Ex-bzl"/>
<outlet property="DateTime" destination="95c-MA-XDE" id="9IC-8R-nUn"/>
<outlet property="FeedbackLabel" destination="MNn-Zq-FTI" id="CKU-eK-TlM"/>
<outlet property="ImageWell" destination="vcu-Hd-h6b" id="sgB-19-4LJ"/>

Просмотреть файл

@ -35,9 +35,9 @@ namespace MacControls
SliderValue.IntValue = AmountStepper.IntValue;
};
CollorWell.Color = NSColor.Red;
CollorWell.Activated += (sender, e) => {
FeedbackLabel.StringValue = string.Format("Color Changed: {0}", CollorWell.Color);
ColorWell.Color = NSColor.Red;
ColorWell.Activated += (sender, e) => {
FeedbackLabel.StringValue = string.Format("Color Changed: {0}", ColorWell.Color);
};
ImageWell.Image = NSImage.ImageNamed ("tag.png");

Просмотреть файл

@ -19,7 +19,7 @@ namespace MacControls
AppKit.NSStepper AmountStepper { get; set; }
[Outlet]
AppKit.NSColorWell CollorWell { get; set; }
AppKit.NSColorWell ColorWell { get; set; }
[Outlet]
AppKit.NSDatePicker DateTime { get; set; }
@ -60,9 +60,9 @@ namespace MacControls
AmountStepper = null;
}
if (CollorWell != null) {
CollorWell.Dispose ();
CollorWell = null;
if (ColorWell != null) {
ColorWell.Dispose ();
ColorWell = null;
}
if (DateTime != null) {