Пример #1
0
 // ---------------- Constructors ---------------- ---------------- //
 public ChaEdit() {
     ViewItem = new Cha();
     InitializeComponent();
     PostInitialization(ViewItem);
     openFileDialog.FileOk += new CancelEventHandler(OpenFileOK);
     InitializeCha();
 }
Пример #2
0
 public ChaEdit(Cha ViewItem) {
     this.ViewItem = ViewItem;
     InitializeComponent();
     PostInitialization(ViewItem);
     openFileDialog.FileOk += new CancelEventHandler(OpenFileOK);
     InitializeCha();
     RegControlUpdateView();
 }