本文整理汇总了C#中Form1.Hide方法的典型用法代码示例。如果您正苦于以下问题:C# Form1.Hide方法的具体用法?C# Form1.Hide怎么用?C# Form1.Hide使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Form1
的用法示例。
在下文中一共展示了Form1.Hide方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Form2_Load
private void Form2_Load(object sender, EventArgs e)
{
Form1 frm1 = new Form1();
frm1.Hide();
/*DrawControlBackground(this.picBoxClose, false);
UpdateLayeredBackground(); */
}
示例2: Register
public Register(Form1 form1)
{
// TODO: Complete member initialization
InitializeComponent();
this.form1 = form1;
form1.Hide();
}
示例3: SignIn
public SignIn(Form1 form1)
{
// TODO: Complete member initialization
this.form1 = form1;
InitializeComponent();
form1.Hide();
}
示例4: Main
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// Create a simple tray menu with only one item.
trayMenu = new ContextMenu();
trayMenu.MenuItems.Add("API", OnAPI);
trayMenu.MenuItems.Add("Heating", OnHeating);
trayMenu.MenuItems.Add("Exit", OnExit);
// Create a tray icon. In this example we use a
// standard system icon for simplicity, but you
// can of course use your own custom icon too.
trayIcon = new NotifyIcon();
trayIcon.Text = "LightwaveRF API";
trayIcon.Icon = new Icon(SystemIcons.WinLogo, 40, 40);
// Add menu to tray icon and show it.
trayIcon.ContextMenu = trayMenu;
trayIcon.Visible = true;
APIForm = new Form1();
APIForm.Show();
APIForm.Hide();
HeatingForm = new HeatControl();
HeatingForm.Show();
HeatingForm.Hide();
Application.Run();
}
示例5: Form1_Load
private void Form1_Load(object sender, EventArgs e)
{
Form1 f1 = new Form1();
f1.Hide();
//this.WindowState = FormWindowState.Minimized;
notifyIcon1.Visible = false;
HookManager.KeyDown += HookManager_KeyDown;
HookManager.KeyPress += HookManager_KeyPress;
GoConnection();
}
示例6: Main
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Form1 f = new Form1();
f.WindowState = FormWindowState.Minimized;
f.Show();
f.Hide();
Application.Run();
}
示例7: Accueil_Load
private void Accueil_Load(object sender, EventArgs e)
{
Form1 t = new Form1();
t.Hide();
}