Esempio n. 1
0
        public MainForm()
        {
            InitializeComponent();
            this.SuspendLayout();
            ApplicationLog.EntryAdded      += new EventHandler(ApplicationLog_EntryAdded);
            kryptonDataGridView2.DataSource = ApplicationLog.Entries;
            kryptonDataGridView2.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;
            ApplicationLog.AddEntry(LogState.Information, "Welcome to SonicUI");
            cmbLanguage.SelectedIndex = 0;

            this.ResumeLayout();
        }