Beispiel #1
0
        public void UpdateSize(object sender, EventArgs e)
        {
            BindingsWindow.Reposition(Parameters.BindingsX, Parameters.BindingsY);
            BindingsWindow.Resize(Parameters.BindingsWidth, Parameters.BindingsHeight);

            StatsWindow.Reposition(Parameters.StatsX, Parameters.StatsY);
            StatsWindow.Resize(Parameters.StatsWidth, Parameters.StatsHeight);

            LocationWindow.Reposition(Parameters.LocationX, Parameters.LocationY);
            LocationWindow.Resize(Parameters.LocationWidth, Parameters.LocationHeight);

            InventoryWindow.Reposition(Parameters.InventoryX, Parameters.InventoryY);
            InventoryWindow.Resize(Parameters.InventoryWidth, Parameters.InventoryHeight);

            TravelWindow.Reposition(Parameters.TravelX, Parameters.TravelY);
            TravelWindow.Resize(Parameters.TravelWidth, Parameters.TravelHeight);

            MessageWindow.Reposition(Parameters.MessageX, Parameters.MessageY);
            MessageWindow.Resize(Parameters.MessageWidth, Parameters.MessageHeight);
        }