示例#1
0
        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();
            };
        }
示例#2
0
        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"));
 }
示例#4
0
 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"));
 }
示例#8
0
 public Button OptionMenuButton()
 {
     return(ButtonCreator.GenerateButton("New Blueprint Edition "));
 }