private void DeviceBot_Load(object sender, EventArgs e) { LoadData(); //txtBotEditor.Document.HighlightingStrategy = HighlightingStrategyFactory.CreateHighlightingStrategy("C#"); txtBotEditor.TextChanged += new EventHandler <TextChangedEventArgs>(txtBotEditor_TextChanged); sdemuScript = new SDEmuScript(); }
/// <summary> /// Load app settings /// </summary> private void LoadSettings() { alwaysOnTopToolStripMenuItem.Checked = Settings.Default.MainFormTopMost; this.TopMost = Settings.Default.MainFormTopMost; if (Settings.Default.DeviceBotEnabled) { AutoResponderScript = new SDEmuScript(); AutoResponderScript.Compile(Settings.Default.CurrentBotScript); } }
private void DeviceBot_Load(object sender, EventArgs e) { LoadData(); //txtBotEditor.Document.HighlightingStrategy = HighlightingStrategyFactory.CreateHighlightingStrategy("C#"); txtBotEditor.TextChanged += new EventHandler<TextChangedEventArgs>(txtBotEditor_TextChanged); sdemuScript = new SDEmuScript(); }