Esempio n. 1
1
 public StatisticsForm(MainForm main)
 {
     Location = new Point(600, 100);
     StartPosition = new FormStartPosition();
     InitializeComponent();
     //Location = new Point(600, 100);
     mainForm = main;
 }
Esempio n. 2
0
        public LogForm(MainForm main)
        {
            InitializeComponent();

            mainForm = main;
            if (mainForm.IsPause)
            {
                pauseBtn.Text = "Unpause";
            } else
            {
                pauseBtn.Text = "Pause";
            }

            comboBox.Text = "All";
            comboBox.Items.Add("All");
            comboBox.Items.Add("Buildings");
            comboBox.Items.Add("Citizens");
            comboBox.Items.Add("Things");
            comboBox.Items.Add("Path");
            comboBox.Items.Add("Levels");
            comboBox.Items.Add("Other");

            textBox.AppendText(Log.Print(type));
        }