private void tools_Btn_MouseClick(object sender, MouseEventArgs e) { if (ToolsMouseClick != null) { ToolsMouseClick(sender, e); } else { BasicForm bf = new BasicForm(); bf.BackgroundImage = this.BackgroundImage; bf.Text = "设置"; bf.Size = new Size(600, 400); bf.Show(); //Process.Start("http://www.seezt.com"); } }
private void find_Btn_MouseClick(object sender, MouseEventArgs e) { if (FindMouseClick != null) { FindMouseClick(sender, e); } else { BasicForm bf = new BasicForm(); bf.BackgroundImage = this.BackgroundImage; bf.Text = "查找好友"; bf.AllowMove = false; bf.AllowResize = false; bf.Size = new Size(400, 500); bf.Show(); //Process.Start("http://www.seezt.com"); } }
private void message_Btn_MouseClick(object sender, MouseEventArgs e) { if (MessageMouseClick != null) { MessageMouseClick(sender, e); } else { BasicForm bf = new BasicForm(); bf.BackgroundImage = this.BackgroundImage; bf.Text = "消息管理器"; bf.ShowIcon = false; bf.AllowMove = false; bf.Size = new Size(500, 300); bf.Show(); //Process.Start("http://www.seezt.com"); } }
private void InitializeActions() { var preview = new PreviewForm(Matrix is GuiPanel) { MdiParent = this }; preview.Show(); preview.Location = new Point(0, 0); var basic = new BasicForm { MdiParent = this }; basic.Show(); basic.Location = new Point(preview.Right, 0); actionsToolStripMenuItem.Visible = true; }