Inheritance: System.Diagnostics.TraceListener
Esempio n. 1
0
        private void otitemeditor_Load(object sender, EventArgs e)
        {
            this.Text            = versionString;
            typeCombo.DataSource = Enum.GetNames(typeof(ItemType));

            Trace.Listeners.Clear();
            textBoxListener = new TextBoxTraceListener(outputTextBox);
            Trace.Listeners.Add(textBoxListener);

            updateTraceToolStripMenuItem.Checked = showUpdateOutput;
            otbTraceToolStripMenuItem.Checked    = showOtbOutput;
            onSelectItem(null);

            Program.plugins.FindPlugins();
        }
Esempio n. 2
0
        private void otitemeditor_Load(object sender, EventArgs e)
        {
            this.Text = versionString;
            typeCombo.DataSource = Enum.GetNames(typeof(ItemType));

            Trace.Listeners.Clear();
            textBoxListener = new TextBoxTraceListener(outputTextBox);
            Trace.Listeners.Add(textBoxListener);

            updateTraceToolStripMenuItem.Checked = showUpdateOutput;
            otbTraceToolStripMenuItem.Checked = showOtbOutput;
            onSelectItem(null);

            Program.plugins.FindPlugins();
        }