private void button2_Click(object sender, EventArgs e) { //This Snippet Hides One Form To Simulate Opening Another this.Hide(); Form Create2WayTransitions = new Create2WayTransitions(); Create2WayTransitions.Show(); }
public Create2WayTransitions() { MaximizeBox = false; MinimizeBox = false; Create2WayTransitions twiz = this; base.Load += new EventHandler(twiz.Twiz_Load); this.ViewTiles = false; this.iMapNode = new TreeNode("Land Tiles"); this.iMapOuterTopLeft = new TreeNode("Outer Top Left"); this.iMapOuterTopRight = new TreeNode("Outer Top Right"); this.iMapOuterBottomLeft = new TreeNode("Outer Bottom Left"); this.iMapOuterBottomRight = new TreeNode("Outer Bottom Right"); this.iMapInnerTopLeft = new TreeNode("Inner Top Left"); this.iMapInnerTop = new TreeNode("Inner Top"); this.iMapInnerTopRight = new TreeNode("Inner Top Right"); this.iMapInnerLeft = new TreeNode("Inner Left"); this.iMapInnerRight = new TreeNode("Inner Right"); this.iMapInnerBottomLeft = new TreeNode("Inner Bottom Left"); this.iMapInnerBottom = new TreeNode("Inner Bottom"); this.iMapInnerBottomRight = new TreeNode("Inner Bottom Right"); this.iStaticNode = new TreeNode("Static Tiles"); this.iStaticOuterTopLeft = new TreeNode("Outer Top Left"); this.iStaticOuterTopRight = new TreeNode("Outer Top Right"); this.iStaticOuterBottomLeft = new TreeNode("Outer Bottom Left"); this.iStaticOuterBottomRight = new TreeNode("Outer Bottom Right"); this.iStaticInnerTopLeft = new TreeNode("Inner Top Left"); this.iStaticInnerTop = new TreeNode("Inner Top"); this.iStaticInnerTopRight = new TreeNode("Inner Top Right"); this.iStaticInnerLeft = new TreeNode("Inner Left"); this.iStaticInnerRight = new TreeNode("Inner Right"); this.iStaticInnerBottomLeft = new TreeNode("Inner Bottom Left"); this.iStaticInnerBottom = new TreeNode("Inner Bottom"); this.iStaticInnerBottomRight = new TreeNode("Inner Bottom Right"); this.iGroupA = new ClsTerrainTable(); this.iGroupB = new ClsTerrainTable(); InitializeComponent(); }