Ejemplo 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();
        }
Ejemplo 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);
            }
        }
Ejemplo 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();
        }
Ejemplo 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);
            }
        }