Files
PatientMgr-CSharp/SaPatientMgr/App/Forms/SaPatientMgrForm.cs
T
2019-04-09 16:34:59 +01:00

83 lines
2.3 KiB
C#

using Sarand.PatientMgr.Core.App;
using Sarand.Win.Forms;
using Sarand.Win.Forms.Utils;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Sarand.PatientMgr.App.Forms
{
//=======================================================================
public partial class SaPatientMgrForm : SacsForm
{
//-------------------------------------------------------------------
// Configuration.
public new class Config : SacsForm.Config
{
}
//-------------------------------------------------------------------
// Data members.
private Config config = null;
//-------------------------------------------------------------------
// Construction.
private SaPatientMgrForm () : this(new Config()) { }
public SaPatientMgrForm (Config config) : base(config)
{
this.config = config;
InitializeComponent();
// Configuration.
Text = Spm.ApplicationCaption;
ShowIcon = false;
MinimizeBox = false;
MaximizeBox = false;
WindowState = FormWindowState.Maximized;
}
protected override void Dispose (bool disposing)
{
if (disposing)
{
if (components != null)
components.Dispose();
}
base.Dispose(disposing);
}
//-------------------------------------------------------------------
// Properties.
//-------------------------------------------------------------------
// I n i t i a l i s a t i o n
//-------------------------------------------------------------------
protected override void OnCreateControl ()
{
base.OnCreateControl();
if (this.IsDesignerHosted()) return;
}
protected override void OnShown (EventArgs e)
{
base.OnShown(e);
}
//-------------------------------------------------------------------
// C o n t r o l A c t i v i t y
//-------------------------------------------------------------------
//-------------------------------------------------------------------
// F o r m E v e n t s
//-------------------------------------------------------------------
//-------------------------------------------------------------------
}
//=======================================================================
}