Пример #1
0
        private void cbeTabButtonContainerStyle_SelectedIndexChanged(object sender, GISShare.Controls.WinForm.IntValueChangedEventArgs e)
        {
            switch (this.cbeTabButtonContainerStyle.SelectedIndex)
            {
            case 0:
                this.tabControl1.eTabButtonContainerStyle = GISShare.Controls.WinForm.WFNew.TabButtonContainerStyle.eCloseButton;
                this.tabControl1.Refresh();
                break;

            case 1:
                this.tabControl1.eTabButtonContainerStyle = GISShare.Controls.WinForm.WFNew.TabButtonContainerStyle.eContextButton;
                this.tabControl1.Refresh();
                break;

            case 2:
                this.tabControl1.eTabButtonContainerStyle = GISShare.Controls.WinForm.WFNew.TabButtonContainerStyle.eContextButtonAndCloseButton;
                this.tabControl1.Refresh();
                break;

            case 3:
                this.tabControl1.eTabButtonContainerStyle = GISShare.Controls.WinForm.WFNew.TabButtonContainerStyle.ePreButtonAndNextButton;
                this.tabControl1.Refresh();
                break;

            default:
                break;
            }
        }
Пример #2
0
        private void cbSkin2_SelectedIndexChanged(object sender, GISShare.Controls.WinForm.IntValueChangedEventArgs e)
        {
            switch (cbSkin2.SelectedIndex)
            {
            case 0:
                this.ribbonControlEx1.eRibbonStyle = GISShare.Controls.WinForm.WFNew.RibbonStyle.eOffice2007;
                break;

            case 1:
                this.ribbonControlEx1.eRibbonStyle = GISShare.Controls.WinForm.WFNew.RibbonStyle.eOffice2010;
                break;

            default:
                break;
            }
            this.cbSkin1.SelectedIndex = this.cbSkin2.SelectedIndex;
        }
Пример #3
0
        private void cbePNLayoutStyle_SelectedIndexChanged(object sender, GISShare.Controls.WinForm.IntValueChangedEventArgs e)
        {
            switch (this.cbePNLayoutStyle.SelectedIndex)
            {
            case 0:
                this.tabControl1.ePNLayoutStyle = GISShare.Controls.WinForm.WFNew.PNLayoutStyle.eHead;
                this.tabControl1.Refresh();
                break;

            case 1:
                this.tabControl1.ePNLayoutStyle = GISShare.Controls.WinForm.WFNew.PNLayoutStyle.eTail;
                this.tabControl1.Refresh();
                break;

            case 2:
                this.tabControl1.ePNLayoutStyle = GISShare.Controls.WinForm.WFNew.PNLayoutStyle.eBothEnds;
                this.tabControl1.Refresh();
                break;

            default:
                break;
            }
        }
 void TabButtonList_TabButtonItemSelectedIndexChanged(object sender, GISShare.Controls.WinForm.IntValueChangedEventArgs e)
 {
     this.OnTabPageSelectedIndexChanged(e);
 }