public getGuild(String mode, guildManagement gm, String name) { InitializeComponent(); this.gm = gm; login_name = name; switch (mode) { case "ViewFind": cb_guild.Show(); selectGuildButton.Show(); createGuildPopupButton.Show(); break; case "ModFind": cb_guild.Show(); askAdminButton.Show(); createGuildPopupButton.Show(); break; case "Create": txt_createGuildName.Show(); createGuildButton.Show(); creating = true; this.Text = "Create guild"; break; } }
public overlay(guildManagement gm, int x, int y, double opacity) { InitializeComponent(); this.gm = gm; this.Location = new Point(x, y); this.Opacity = opacity; this.LocationChanged += overlay_LocationChanged; }
public login(guildManagement gm) { InitializeComponent(); this.gm = gm; }