private void AddLogOutButton(int positionX, int positionY) { Button logOut = ButtonCreator.GenerateButton("Log Out"); logOut.Name = "LogOutButton"; logOut.Location = new System.Drawing.Point(positionX, positionY); menuPanel.Controls.Add(logOut); logOut.Click += delegate(object sender, EventArgs e) { LogOut(); }; }
public Button OptionMenuButton() { Button option; string optionTitle; if (IsDesigner()) { optionTitle = "Edit Blueprint"; } else { optionTitle = "View Blueprint"; } option = ButtonCreator.GenerateButton(optionTitle); return(option); }
public Button OptionMenuButton() { return(ButtonCreator.GenerateButton("Manage prices and costs")); }
public Button OptionMenuButton() { return(ButtonCreator.GenerateButton("Create new opening model")); }
public Button OptionMenuButton() { return(ButtonCreator.GenerateButton("My Blueprints")); }
public Button OptionMenuButton() { Button optionButton = ButtonCreator.GenerateButton("Create Blueprint"); return(optionButton); }
public Button OptionMenuButton() { return(ButtonCreator.GenerateButton("Manage Users")); }
public Button OptionMenuButton() { return(ButtonCreator.GenerateButton("New Blueprint Edition ")); }