本文整理汇总了C#中Form1.BringToFront方法的典型用法代码示例。如果您正苦于以下问题:C# Form1.BringToFront方法的具体用法?C# Form1.BringToFront怎么用?C# Form1.BringToFront使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Form1
的用法示例。
在下文中一共展示了Form1.BringToFront方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: goFriendGoAgain_Click
private void goFriendGoAgain_Click(object sender, EventArgs e)
{
/* With The Bridge, not sure if this is going to be necessary anymore.
*
* Properties.Settings.Default.space_back_path = spPath.Text;
Properties.Settings.Default.lock_path = lpPath.Text;
Properties.Settings.Default.userimgacc_path = apPath.Text;
Properties.Settings.Default.custColor = accColors.BackColor;
Properties.Settings.Default.nickname = nickname.Text;
Properties.Settings.Default.username = userName.Text;
Properties.Settings.Default.woahThereHello = shhhhhhhhh.Text;
*/
Properties.Settings.Default.runTimes = true;
Properties.Settings.Default.Save();
Form1 shouldRenameThatFormSeriously = new Form1();
shouldRenameThatFormSeriously.Show();
shouldRenameThatFormSeriously.BringToFront();
this.Hide();
}
示例2: ShowMeshInfo
public void ShowMeshInfo()
{
// If it's a mesh, display it
var selected = GetFirstSelectedMesh();
if (selected != null)
{
Form1 t = new Form1(selected);
t.BringToFront();
t.Show();
}
}