Пример #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();
        }
Пример #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);
            }
        }
Пример #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();
        }
Пример #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);
            }
        }