Bunifu pages is a unique winforms multi-container control which enables easy development of a user interface with multiple views within same form/container.

It provides an easy design-time experience for the developer by displaying the tab names at the bottom of the control (Which is only visible at design time).  During runtime, the tabs and borders are removed to provide a seamless blend with the parent UI. 

Design Time

Switching by name

       private void GoToPage2_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage("Page2");
        }

        private void GoToPage1_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage("Page1");
        }

Switching by Index


        private void GoToPage2_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage(1); //page 2
        }

        private void GoToPage1_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage(0); //page 1
        }

Switching by TabPage

   private void GoToPage2_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage(TabPage2); //page 2
        }

        private void GoToPage1_Click(object sender, EventArgs e)
        {
            bunifuPages1.SetPage(TabPage1); //page 1
        }

Runtime

This is a very simple and powerful control to develop modern apps. It provides designer the freedom to organise, update and switch pages at design-time without having to run the code.

This control can be used to develop one-paged applications, Steps, wizards, Custom Tabs, navigations and many more..  Your creativity is the limit here :-) .   

Example use-cases

Properties and Events

Bunifu control behaves exactly like TabCotrol  and it inherits all of its properties and events. bellow are the new unique methods added to bunifu Pages.

   //switch pages by name
            bunifuPages1.SetPage(string pageName, bool byObjectName = [false]);
  //switch pages by index
            bunifuPages1.SetPage(int pageIndex);
 //switch pages by object
            bunifuPages1.SetPage(TabPage page);

Happy Coding :)

Did this answer your question?