Membuat Tampilan Fom MDI Parent menjadi Tile Horisontal, Vertikal, Cascade.
berikut codingnya di bawah ini :
Private Sub SatuToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SatuToolStripMenuItem.Click
Form3.Show()
Form3.MdiParent = Me
End Sub
Private Sub DuaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DuaToolStripMenuItem.Click
Form4.Show()
Form4.MdiParent = Me
End Sub
Private Sub TigaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TigaToolStripMenuItem.Click
Form5.Show()
Form5.MdiParent = Me
End Sub
Private Sub EmpatToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles EmpatToolStripMenuItem.Click
Form6.Show()
Form6.MdiParent = Me
End Sub
Private Sub LimaToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles LimaToolStripMenuItem.Click
Form7.Show()
Form7.MdiParent = Me
End Sub
Private Sub HorisontalToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles HorisontalToolStripMenuItem.Click
Me.LayoutMdi(MdiLayout.TileHorizontal)
End Sub
Private Sub VertikalToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles VertikalToolStripMenuItem.Click
Me.LayoutMdi(MdiLayout.TileVertical)
End Sub
Private Sub CascadeToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CascadeToolStripMenuItem.Click
Me.LayoutMdi(MdiLayout.Cascade)
End Sub
Membuat tampilan toolstrip di atas menustrip, caranya adalah dengan mengklik kanan toolstripnya lalu pilih send to back...
Berikut hasilnya di samping!
Tugas 3
Membuat menu ribbon, caranya :
1. download terlebih dahulu library/ pluginnya terlebih dahulu. namanya dotnebar.
2. drag and drop file yang berekstensi .dll ke toolbox pada vb.net 2010.maka menu ribbon muncul di toolbox.
3. buat menu ribbon dengan tampilan seperti di bawah ini !
Tidak ada komentar:
Posting Komentar