зеркало из https://github.com/xamarin/mac-samples.git
typo: CollorWell -> ColorWell
This commit is contained in:
Родитель
a6250ab7f1
Коммит
46658ad567
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче