Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #region Alerts
- [Display(GroupName="Options - Alerts", Name="Alert notice text (Chart-info be auto-appended)", Order=3)]
- public string Alert_Text_
- { get { return Alert_Text;} set {Alert_Text = value;} }
- private string Alert_Text = "Alert occurs!";
- [Display(GroupName="Options - Alerts", Name="Sound enable", Order=5)]
- public bool Sound_Enable_
- { get { return Sound_Enable;} set { Sound_Enable = value;} }
- private bool Sound_Enable = false;
- [Display(GroupName="Options - Alerts", Name="Sound File", Order=8)]
- public string Sound_File_
- { get { return Sound_File;} set { Sound_File = value;} }
- private string Sound_File = @"C:\Windows\Media\ringout.wav";
- [Display(GroupName="Options - Alerts", Name="Popup-notification enabled", Order=15)]
- public bool Popupmessage_enabled_
- { get { return Popupmessage_enabled;} set { Popupmessage_enabled = value;} }
- private bool Popupmessage_enabled = false;
- [Display(GroupName="Options - Alerts", Name="Alerts Log Page - Background Color", Order=18)]
- [XmlIgnore]
- public Brush Alert_log_back_color_
- {
- get { return this.Alert_log_back_color; }
- set { this.Alert_log_back_color = value; }
- }
- private Brush Alert_log_back_color = Brushes.White;
- [Browsable(false)]
- public string Alert_log_text_color_Serialize
- {
- get { return Serialize.BrushToString(this.Alert_log_back_color); }
- set { this.Alert_log_back_color = Serialize.StringToBrush(value); }
- }
- private Brush Alert_log_text_Color = Brushes.Black;
- private bool Allow_same_bar_retrigger = false;
- [Display(GroupName="Options - Alerts", Name="Show arrow on Alert-bar", Order=15)]
- public bool DrawArrowOnAlertBar_
- { get { return DrawArrowOnAlertBar;} set { DrawArrowOnAlertBar = value;} }
- private bool DrawArrowOnAlertBar = true;
- #endregion
- ---> pp.AlertNT(this, Alert_Text, Sound_Enable, Sound_File, Popupmessage_enabled, Allow_same_bar_retrigger, Alert_log_back_color, Alert_log_text_Color, (DrawArrowOnAlertBar ? 1 : 0), Low[0]-TickSize*2, Brushes.Green);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement