Example #1
0
        public ReviewBox(LogData monkdata)
        {
            MonkData = monkdata;
            Name = monkdata.Mid + "ReviewBox";
            Text = monkdata.Station + "-" + monkdata.Mid;

            DataDisplay.ReadOnly = true;
            DataDisplay.Text = monkdata.toString();
            DataDisplay.Location = new Point(6, 16);

            Change.Text = "Make Changes";
            Change.Width = 80;
            Change.Location = new Point(25, 25);

            Controls.Add(DataDisplay);
            Controls.Add(Change);
        }
Example #2
0
        public ReviewBox(LogData monkdata)
        {
            Width = 175;
            Height = 225;
            monkData = monkdata;
            labroom = monkdata.Labroom;
            Name = monkdata.Mid + "ReviewBox";
            Text = monkdata.Station + "-" + monkdata.Mid;

            dataDisplay.Width = 150;
            dataDisplay.Height = 180;
            dataDisplay.Text = monkdata.toString();
            dataDisplay.Location = new Point(6, 16);
            dataDisplay.Font = new Font("Microsoft San Serif", 8);

            /*change.Width = 80;
            change.Text = "Change";
            change.Location = new Point(40, 184);
            change.Click += new System.EventHandler(change_Click);
            Controls.Add(change);*/

            Controls.Add(dataDisplay);
        }