public SessionLoad(Controller controller)
 {
     this.controller = controller;
 }
Beispiel #2
0
        private void Form1_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'dBDataSetAll1.Session' table. You can move, or remove it, as needed.
            this.sessionTableAdapter.Fill(this.dBDataSetAll1.Session);
            controller = new Controller(this);

            charSelNumCols = 12;
            charSelNumRows = 3;

            charImgWidth = pbxCharacterSelect.Image.Width / charSelNumCols;
            charImgHeight = pbxCharacterSelect.Image.Height / charSelNumRows;

            controller.init();

              //  if (controller.sessionLoadFrame != null)
            //    controller.sessionLoadFrame.BringToFront();
        }