Esempio n. 1
0
        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();
        }
Esempio n. 2
0
        /// <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);
            }
        }
Esempio n. 3
0
        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();
        }
Esempio n. 4
0
        /// <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);
            }
        }