"景先生毕设|www.jxszl.com

C# Choice类代码示例

2023-12-29 17:43编辑: www.jxszl.com景先生毕设
本文整理汇总了C#中Choice类的典型用法代码示例。如果您正苦于以下问题:C#Choice类的具体用法?C#Choice怎么用?C#Choice使用的例子?这里精选的类代码示例或许可以为您提供帮助。 示例1:BackgroundSettings publicBackgroundSettings() { this.commands=newArrayListDataSet(this); //savecommand CommandsaveCmd=newCommand(); saveCmd.Description="Save"; saveCmd.Invoked+=newEventHandler(saveCmd_Invoked); this.commands.Add(saveCmd); //cancelcommand CommandcancelCmd=newCommand(); cancelCmd.Description="Cancel"; cancelCmd.Invoked+=newEventHandler(cancelCmd_Invoked); this.commands.Add(cancelCmd); this.transparancyOptions=newChoice(this); this.SetupTransparancyOptions(); this.transparancyOptions.ChosenChanged+=newEventHandler(transparancyOptions_ChosenChanged); this.rotationOptions=newChoice(this); this.SetupRotationOptions(); this.enableCustomBackground=newBooleanChoice(this); this.enableCustomBackground.Description="EnableCustomBackground"; this.enableCustomBackground.Value=Properties.Settings.Default.EnableMainPageBackDrop; }
原文链接:http://www.jxszl.com/biancheng/C/556743.html