Commit for development environment setup
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Text;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace TestWndProc
|
||||
{
|
||||
public partial class frmPG : Form
|
||||
{
|
||||
private Object _MyObject = null;
|
||||
public Object MyObject
|
||||
{
|
||||
get { return _MyObject; }
|
||||
set { _MyObject = value; pg.SelectedObject = _MyObject; }
|
||||
}
|
||||
public frmPG(Object myObject)
|
||||
{
|
||||
InitializeComponent();
|
||||
_MyObject=myObject;
|
||||
}
|
||||
|
||||
private void frmPG_Load(object sender, EventArgs e)
|
||||
{
|
||||
MyObject = _MyObject;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user