Archive Browser
Download ScannerTest.zip, last updated 06/11/2020 (1.38 MB)
Download- md5: e7275805cdf93e2f8240e6e0ee5ca17a
- sha1: 2153ecf3bd4cd364692127f90c2be83d7b7fe25d
- sha256: c8ce412bbf8f88594e975d27e25bb0b767e6a1c4bcb9471a4eb749a3a9ed556e
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
// Reading DOOM WAD files
// https://www.cyotek.com/blog/reading-doom-wad-files
// Writing DOOM WAD files
// https://www.cyotek.com/blog/writing-doom-wad-files
// Copyright © 2020 Cyotek Ltd. All Rights Reserved.
// This work is licensed under the MIT License.
// See LICENSE.TXT for the full text
// Found this example useful?
// https://www.paypal.me/cyotek
namespace Cyotek.Demo.Windows.Forms
{
internal class BaseForm : System.Windows.Forms.Form
{
#region Protected Constructors
protected BaseForm()
{
base.MaximizeBox = false;
base.MinimizeBox = false;
base.ShowIcon = false;
base.ShowInTaskbar = false;
base.StartPosition = FormStartPosition.CenterParent;
base.FormBorderStyle = FormBorderStyle.FixedDialog;
}
#endregion Protected Constructors
#region Public Properties
[DefaultValue(typeof(FormBorderStyle), "FixedDialog")]
public new FormBorderStyle FormBorderStyle
{
get { return base.FormBorderStyle; }
set { base.FormBorderStyle = value; }
}
[DefaultValue(false)]
public new bool MaximizeBox
{
get { return base.MaximizeBox; }
set { base.MaximizeBox = value; }
}
[DefaultValue(false)]
public new bool MinimizeBox
{
get { return base.MinimizeBox; }
set { base.MinimizeBox = value; }
}
[DefaultValue(false)]
public new bool ShowIcon
{
get { return base.ShowIcon; }
set { base.ShowIcon = value; }
}
[DefaultValue(false)]
public new bool ShowInTaskbar
{
get { return base.ShowInTaskbar; }
set { base.ShowInTaskbar = value; }
}
[DefaultValue(typeof(FormStartPosition), "CenterParent")]
public new FormStartPosition StartPosition
{
get { return base.StartPosition; }
set { base.StartPosition = value; }
}
#endregion Public Properties
#region Protected Methods
protected override void OnLoad(EventArgs e)
{
if (!this.DesignMode)
{
this.Font = SystemFonts.MessageBoxFont;
}
base.OnLoad(e);
}
protected override void OnShown(EventArgs e)
{
base.OnShown(e);
Cursor.Current = Cursors.Default;
}
#endregion Protected Methods
}
}
Donate
This software may be used free of charge, but as with all free software there are costs involved to develop and maintain.
If this site or its services have saved you time, please consider a donation to help with running costs and timely updates.
Donate