2007-12-06 15:47:49 +00:00

59 lines
1.2 KiB
C#

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; }
// }
//}
}