我不想tabPage1我想要tabPage2 ......! :| [英] I do not want tabPage1 I want the tabPage2...! :|

查看:81
本文介绍了我不想tabPage1我想要tabPage2 ......! :|的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hii

我怎样才能打开Tabpage2

新表格已经打开

How can I open when Tabpage2
The new form've opened

或者

改变一切的TAB重新开始

TAB that changes everything begins anew

我的意思是,信息标签页与它无关!

I mean, the tab pages of information have nothing to do with it!

private void tabPage1_Leave(object sender, EventArgs e) {


\\How
}

\\How }




推荐答案

朋友,

很高兴再次见到你。

>>我怎样才能在Tabpage2

新表单已打开

>>How can I open when Tabpage2
The new form've opened

我猜你想要的是显示tabPage2而不是tabPage1默认情况下加载表单时,如果是,请参考以下代码:

I guess what you want is that to display the tabPage2 instead of tabPage1 when the form load by default, if so, please refer to the following code:

private void FrmTabControl_Load(object sender, EventArgs e)
{
      this.tabControl1.SelectedTab = this.tabPage2;
}

如果没有,请提供更多信息告诉我。

If not, please provide more information to let me know.

希望有所帮助!

最好的问候,

Stanly


这篇关于我不想tabPage1我想要tabPage2 ......! :|的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆