old mode 100755
new mode 100644
| | |
| | | /// </summary>
|
| | | private NormalViewControl btnName = null;
|
| | |
|
| | | private IconViewControl Right_icon = null; |
| | | private MostRightIconControl Right_icon = null; |
| | | |
| | | |
| | | /// <summary>
|
| | |
| | | //显示文本 |
| | | btnName = this.AddLeftCaption(string.Empty, 700);
|
| | | btnName.Height = Application.GetRealHeight(60);
|
| | | btnName.TextSize = 17;
|
| | | btnName.TextSize = 14;
|
| | | btnName.Y = Application.GetRealHeight(57);
|
| | | btnName.Text = scene.SceneName; |
| | | Right_icon = this.AddRightArrow();
|
| | | Right_icon.Width = Application.GetRealWidth(115); |
| | | Right_icon.Height = Application.GetRealHeight(115); |
| | | Right_icon = this.AddMostRightEmptyIcon(58, 58);
|
| | | Right_icon.Gravity = Gravity.CenterVertical; |
| | | Right_icon.X = Right_icon.X - Application.GetRealWidth(60); |
| | | |
| | | this.ButtonClickEvent += (sender, e) =>
|
| | | { |
| | |
| | | { |
| | | if (bol) |
| | | { |
| | | Right_icon.SelectedImagePath = "SmartSound/CheckBoxSel.png"; |
| | | Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxSel.png"; |
| | | Right_icon.SelectedImagePath = "Item/ItemSelected.png"; |
| | | Right_icon.UnSelectedImagePath = "Item/ItemSelected.png"; |
| | | } |
| | | else |
| | | { |
| | | Right_icon.SelectedImagePath = "SmartSound/CheckBoxDef.png"; |
| | | Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxDef.png"; |
| | | Right_icon.SelectedImagePath = "Item/ItemUnSelected.png"; |
| | | Right_icon.UnSelectedImagePath = "Item/ItemUnSelected.png"; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | |
| | | /// </summary>
|
| | | private NormalViewControl btnName = null;
|
| | |
|
| | | private IconViewControl Right_icon = null; |
| | | private MostRightIconControl Right_icon = null; |
| | | |
| | | |
| | | /// <summary>
|
| | |
| | | //显示文本 |
| | | btnName = this.AddLeftCaption(string.Empty, 700);
|
| | | btnName.Height = Application.GetRealHeight(60);
|
| | | btnName.TextSize = 17;
|
| | | btnName.TextSize = 14;
|
| | | btnName.Y = Application.GetRealHeight(57);
|
| | | btnName.Text = device.DeviceName; |
| | | Right_icon = this.AddRightArrow();
|
| | | Right_icon.Width = Application.GetRealWidth(115); |
| | | Right_icon.Height = Application.GetRealHeight(115); |
| | | Right_icon = this.AddMostRightEmptyIcon(58, 58);
|
| | | Right_icon.Gravity = Gravity.CenterVertical; |
| | | Right_icon.X = Right_icon.X - Application.GetRealWidth(60); |
| | | |
| | | this.ButtonClickEvent += (sender, e) =>
|
| | | { |
| | |
| | | { |
| | | if (bol) |
| | | { |
| | | Right_icon.SelectedImagePath = "SmartSound/CheckBoxSel.png"; |
| | | Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxSel.png"; |
| | | Right_icon.SelectedImagePath = "Item/ItemSelected.png"; |
| | | Right_icon.UnSelectedImagePath = "Item/ItemSelected.png"; |
| | | } |
| | | else |
| | | { |
| | | Right_icon.SelectedImagePath = "SmartSound/CheckBoxDef.png"; |
| | | Right_icon.UnSelectedImagePath = "SmartSound/CheckBoxDef.png"; |
| | | } |
| | | Right_icon.SelectedImagePath = "Item/ItemUnSelected.png"; |
| | | Right_icon.UnSelectedImagePath = "Item/ItemUnSelected.png"; |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |