// ---------------- Constructors ---------------- ---------------- // public ChaEdit() { ViewItem = new Cha(); InitializeComponent(); PostInitialization(ViewItem); openFileDialog.FileOk += new CancelEventHandler(OpenFileOK); InitializeCha(); }
public ChaEdit(Cha ViewItem) { this.ViewItem = ViewItem; InitializeComponent(); PostInitialization(ViewItem); openFileDialog.FileOk += new CancelEventHandler(OpenFileOK); InitializeCha(); RegControlUpdateView(); }