This commit is contained in:
59
PROMS/VEPROMS User Interface/frmPropGrid.cs
Normal file
59
PROMS/VEPROMS User Interface/frmPropGrid.cs
Normal file
@@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
using VEPROMS.CSLA.Library;
|
||||
|
||||
namespace VEPROMS
|
||||
{
|
||||
public partial class frmPropGrid : DevComponents.DotNetBar.Office2007Form
|
||||
{
|
||||
private object _PGobject;
|
||||
|
||||
public frmPropGrid(object pgobject)
|
||||
{
|
||||
InitializeComponent();
|
||||
_PGobject = pgobject;
|
||||
}
|
||||
|
||||
public frmPropGrid(object pgobject, string title)
|
||||
{
|
||||
InitializeComponent();
|
||||
_PGobject = pgobject;
|
||||
this.Text = title;
|
||||
}
|
||||
|
||||
private void btnOK_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void btnCancel_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.Close();
|
||||
}
|
||||
|
||||
private void frmPropGrid_Load(object sender, EventArgs e)
|
||||
{
|
||||
Show();
|
||||
pg.SelectedObject = _PGobject;
|
||||
}
|
||||
}
|
||||
//public partial class SystemConfig
|
||||
//{
|
||||
// FolderConfig _FolderConfig;
|
||||
// public SystemConfig(FolderConfig folderConfig)
|
||||
// {
|
||||
// _FolderConfig = folderConfig;
|
||||
// //_FolderConfig.Default_SPPrefix;
|
||||
// }
|
||||
// public string Default_SPPrefix
|
||||
// {
|
||||
// get { return _FolderConfig.Default_SPPrefix; }
|
||||
// set { _FolderConfig.Default_SPPrefix = value; }
|
||||
// }
|
||||
//}
|
||||
}
|
Reference in New Issue
Block a user