mirror of
https://github.com/HistacomUnity/Histacom2-old.git
synced 2025-01-22 09:02:01 -05:00
parent
c69bd70cbf
commit
282cdbca58
1 changed files with 2 additions and 23 deletions
|
@ -32,32 +32,12 @@ public partial class Windows95 : Form
|
|||
|
||||
ListViewItem heldDownItem;
|
||||
Point heldDownPoint;
|
||||
public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection();
|
||||
|
||||
// Init the form
|
||||
public Windows95()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
startmenu.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
|
||||
pfc.AddFontFile(DataDirectory + "\\LeviWindows.ttf");
|
||||
|
||||
ProgramsToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
DocumentsToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
AccessoriesToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
CommunicationsToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
MultimediaToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
GamesToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
StartUpToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
FindToolStripMenuItem.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
ProgramsToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
FindToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
AccessoriesToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
MultimediaToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
GamesToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
StartUpToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
MSDOSPromptToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
DocumentsToolStripMenuItem.DropDown.Font = new Font(pfc.Families[0], 16F, FontStyle.Regular, GraphicsUnit.Point, ((byte)(0)));
|
||||
ProgramsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
|
||||
AccessoriesToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
|
||||
CommunicationsToolStripMenuItem.DropDown.Paint += (sender, args) => Engine.Paintbrush.PaintClassicBorders(sender, args, 2);
|
||||
|
@ -80,7 +60,6 @@ public Windows95()
|
|||
item.MouseEnter += new EventHandler(MenuItem_MouseEnter);
|
||||
item.MouseLeave += new EventHandler(MenuItem_MouseLeave);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
private void MenuItem_MouseEnter(object sender, EventArgs e)
|
||||
|
|
Loading…
Reference in a new issue