Form.cs 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
  1. //
  2. // System.Windows.Forms.Form
  3. //
  4. // Author:
  5. // Miguel de Icaza ([email protected])
  6. // stubbed out by Daniel Carrera ([email protected])
  7. // Joel Basson ([email protected])
  8. // (C) 2002 Ximian, Inc
  9. //
  10. using System;
  11. using System.Drawing;
  12. using Gtk;
  13. using GtkSharp;
  14. namespace System.Windows.Forms {
  15. public class Form : ContainerControl {
  16. internal Window win;
  17. string caption;
  18. Size csize;
  19. // if the application has a menu and/or a statusbar
  20. // then this menu should be added to the vbox before
  21. // the layout and the statusbar after the layout
  22. Gtk.VBox vbox = null;
  23. Control menu = null;
  24. public Form () : base ()
  25. {
  26. }
  27. static Form ()
  28. {
  29. Gtk.Application.Init ();
  30. }
  31. void delete_cb (object o, DeleteEventArgs args)
  32. {
  33. //if (Closing != null)
  34. //Closing (o, args);
  35. if (Closed != null)
  36. Closed (o, args);
  37. }
  38. internal override Widget CreateWidget ()
  39. {
  40. Widget contents = base.CreateWidget ();
  41. win = new Window (WindowType.Toplevel);
  42. win.DeleteEvent += new DeleteEventHandler (delete_cb);
  43. win.Title = Text;
  44. vbox = new Gtk.VBox(false, 0);
  45. win.Add (vbox);
  46. vbox.Show ();
  47. vbox.PackStart(contents, true, true, 0);
  48. return (Widget) win;
  49. }
  50. // --- Public Properties
  51. //
  52. // [MonoTODO]
  53. // public IButtonControl AcceptButton {
  54. // get {
  55. // throw new NotImplementedException ();
  56. // }
  57. // set {
  58. // throw new NotImplementedException ();
  59. // }
  60. //}
  61. // [MonoTODO]
  62. // public static Form ActiveForm {
  63. // get {
  64. // throw new NotImplementedException ();
  65. // }
  66. //}
  67. // [MonoTODO]
  68. // public Form ActiveMdiChild {
  69. // get {
  70. // throw new NotImplementedException ();
  71. // }
  72. //}
  73. // [MonoTODO]
  74. // public bool AutoScale {
  75. // get {
  76. // throw new NotImplementedException ();
  77. // }
  78. // set {
  79. // throw new NotImplementedException ();
  80. // }
  81. //}
  82. // [MonoTODO]
  83. //public virtual Size AutoScaleBaseSize {
  84. // get {
  85. // throw new NotImplementedException ();
  86. // }
  87. // set {
  88. // throw new NotImplementedException ();
  89. // }
  90. //}
  91. // [MonoTODO]
  92. // public override bool AutoScroll {
  93. // get {
  94. // throw new NotImplementedException ();
  95. // }
  96. // set {
  97. // throw new NotImplementedException ();
  98. // }
  99. //}
  100. // [MonoTODO]
  101. // public virtual Color BackColor {
  102. // get {
  103. // throw new NotImplementedException ();
  104. // }
  105. // set {
  106. // throw new NotImplementedException ();
  107. // }
  108. //}
  109. // [MonoTODO]
  110. // public IButtonControl CancelButton {
  111. // get {
  112. // throw new NotImplementedException ();
  113. // }
  114. // set {
  115. // throw new NotImplementedException ();
  116. // }
  117. //}
  118. // [MonoTODO]
  119. public Size ClientSize {
  120. get {
  121. return csize;
  122. }
  123. set {
  124. csize = value;
  125. Widget.SetSizeRequest (value.Width,value.Height);
  126. }
  127. }
  128. // [MonoTODO]
  129. // public bool ControlBox {
  130. // get {
  131. // throw new NotImplementedException ();
  132. // }
  133. // set {
  134. // throw new NotImplementedException ();
  135. // }
  136. //}
  137. // [MonoTODO]
  138. // public Rectangle DesktopBounds {
  139. // get {
  140. // throw new NotImplementedException ();
  141. // }
  142. // set {
  143. // throw new NotImplementedException ();
  144. // }
  145. //}
  146. // [MonoTODO]
  147. // public Point DesktopLocation {
  148. // get {
  149. // throw new NotImplementedException ();
  150. // }
  151. // set {
  152. // throw new NotImplementedException ();
  153. // }
  154. //}
  155. // [MonoTODO]
  156. // public DialogResult DialogResult {
  157. // get {
  158. // throw new NotImplementedException ();
  159. // }
  160. // set {
  161. // throw new NotImplementedException ();
  162. // }
  163. //}
  164. // [MonoTODO]
  165. // public FormBorderStyle FormBorderStyle {
  166. // get {
  167. // throw new NotImplementedException ();
  168. // }
  169. // set {
  170. // throw new NotImplementedException ();
  171. // }
  172. //}
  173. // [MonoTODO]
  174. // public bool HelpButton {
  175. // get {
  176. // throw new NotImplementedException ();
  177. // }
  178. // set {
  179. // throw new NotImplementedException ();
  180. // }
  181. //}
  182. // [MonoTODO]
  183. // public Icon Icon {
  184. // get {
  185. // throw new NotImplementedException ();
  186. // }
  187. // set {
  188. // throw new NotImplementedException ();
  189. // }
  190. //}
  191. // [MonoTODO]
  192. // public bool IsMidiChild {
  193. // get {
  194. // throw new NotImplementedException ();
  195. // }
  196. // set {
  197. // throw new NotImplementedException ();
  198. // }
  199. //}
  200. // [MonoTODO]
  201. // public bool IsMidiContainer {
  202. // get {
  203. // throw new NotImplementedException ();
  204. // }
  205. // set {
  206. // throw new NotImplementedException ();
  207. // }
  208. //}
  209. // [MonoTODO]
  210. // public bool KeyPreview {
  211. // get {
  212. // throw new NotImplementedException ();
  213. // }
  214. // set {
  215. // throw new NotImplementedException ();
  216. // }
  217. //}
  218. // [MonoTODO]
  219. // public bool MaximizeBox {
  220. // get {
  221. // throw new NotImplementedException ();
  222. // }
  223. // set {
  224. // throw new NotImplementedException ();
  225. // }
  226. //}
  227. // [MonoTODO]
  228. // public Size MaximumSize {
  229. // get {
  230. // throw new NotImplementedException ();
  231. // }
  232. // set {
  233. // throw new NotImplementedException ();
  234. // }
  235. //}
  236. // [MonoTODO]
  237. // public Form[] MdiChildren {
  238. // get {
  239. // throw new NotImplementedException ();
  240. // }
  241. // set {
  242. // throw new NotImplementedException ();
  243. // }
  244. //}
  245. // [MonoTODO]
  246. // public Form MdiParent {
  247. // get {
  248. // throw new NotImplementedException ();
  249. // }
  250. // set {
  251. // throw new NotImplementedException ();
  252. // }
  253. //}
  254. // [MonoTODO]
  255. public Control Menu {
  256. get {
  257. return this.menu;
  258. }
  259. set {
  260. this.menu = value;
  261. MainMenu m = (MainMenu)value;
  262. this.vbox.PackStart(m.mb, false, false, 0);
  263. m.mb.Show();
  264. this.vbox.ReorderChild (m.mb, 0);
  265. Control.Controls.Add(this.menu, false);
  266. }
  267. }
  268. // [MonoTODO]
  269. // public MainMenu MergedMenu {
  270. // get {
  271. // throw new NotImplementedException ();
  272. // }
  273. //}
  274. // [MonoTODO]
  275. // public bool MinimizeBox {
  276. // get {
  277. // throw new NotImplementedException ();
  278. // }
  279. // set {
  280. // throw new NotImplementedException ();
  281. // }
  282. //}
  283. // [MonoTODO]
  284. // public Size MinimumSize {
  285. // get {
  286. // throw new NotImplementedException ();
  287. // }
  288. // set {
  289. // throw new NotImplementedException ();
  290. // }
  291. //}
  292. // [MonoTODO]
  293. // public bool Modal {
  294. // get {
  295. // throw new NotImplementedException ();
  296. // }
  297. //}
  298. // [MonoTODO]
  299. // public double Opacity {
  300. // get {
  301. // throw new NotImplementedException ();
  302. // }
  303. // set {
  304. // throw new NotImplementedException ();
  305. // }
  306. //}
  307. // [MonoTODO]
  308. // public Form[] OwnedForms {
  309. // get {
  310. // throw new NotImplementedException ();
  311. // }
  312. //}
  313. // [MonoTODO]
  314. // public Form Owner {
  315. // get {
  316. // throw new NotImplementedException ();
  317. // }
  318. // set {
  319. // throw new NotImplementedException ();
  320. // }
  321. //}
  322. // [MonoTODO]
  323. // public bool ShowInTaskbar {
  324. // get {
  325. // throw new NotImplementedException ();
  326. // }
  327. // set {
  328. // throw new NotImplementedException ();
  329. // }
  330. //}
  331. // [MonoTODO]
  332. // public override ISite Site {
  333. // get {
  334. // throw new NotImplementedException ();
  335. // }
  336. // set {
  337. // throw new NotImplementedException ();
  338. // }
  339. //}
  340. // [MonoTODO]
  341. // public SizeGripStyle SizeGripStyle {
  342. // get {
  343. // throw new NotImplementedException ();
  344. // }
  345. // set {
  346. // throw new NotImplementedException ();
  347. // }
  348. //}
  349. // [MonoTODO]
  350. // public FormStartPosition StartPosition {
  351. // get {
  352. // throw new NotImplementedException ();
  353. // }
  354. // set {
  355. // throw new NotImplementedException ();
  356. // }
  357. //}
  358. // [MonoTODO]
  359. // public bool TopLevel {
  360. // get {
  361. // throw new NotImplementedException ();
  362. // }
  363. // set {
  364. // throw new NotImplementedException ();
  365. // }
  366. //}
  367. // [MonoTODO]
  368. // public bool TopMost {
  369. // get {
  370. // throw new NotImplementedException ();
  371. // }
  372. // set {
  373. // throw new NotImplementedException ();
  374. // }
  375. //}
  376. // [MonoTODO]
  377. // public Color TransparencyKey {
  378. // get {
  379. // throw new NotImplementedException ();
  380. // }
  381. // set {
  382. // throw new NotImplementedException ();
  383. // }
  384. //}
  385. // [MonoTODO]
  386. // public FormWindowState WindowState {
  387. // get {
  388. // throw new NotImplementedException ();
  389. // }
  390. // set {
  391. // throw new NotImplementedException ();
  392. // }
  393. //}
  394. //
  395. // --- Public Methods
  396. //
  397. // [MonoTODO]
  398. // public void Activate()
  399. // {
  400. // throw new NotImplementedException ();
  401. // }
  402. // [MonoTODO]
  403. // public void AddOwnedForm(Form ownedForm)
  404. // {
  405. // throw new NotImplementedException ();
  406. // }
  407. // [MonoTODO]
  408. // public void Close()
  409. // {
  410. // throw new NotImplementedException ();
  411. // }
  412. // [MonoTODO]
  413. // public void Dispose()
  414. // {
  415. // throw new NotImplementedException ();
  416. // }
  417. // [MonoTODO]
  418. // public virtual bool Equals(object o);
  419. // {
  420. // throw new NotImplementedException ();
  421. // }
  422. // [MonoTODO]
  423. // public static bool Equals(object o1, object o2);
  424. // {
  425. // throw new NotImplementedException ();
  426. // }
  427. // [MonoTODO]
  428. // public static SizeF GetAutoScaleSize(Font font)
  429. // {
  430. // throw new NotImplementedException ();
  431. // }
  432. // [MonoTODO]
  433. // public void Invalidate()
  434. // {
  435. // throw new NotImplementedException ();
  436. // }
  437. // [MonoTODO]
  438. // public object Invoke()
  439. // {
  440. // throw new NotImplementedException ();
  441. // }
  442. // [MonoTODO]
  443. // public void LayoutMdi(MdiLayout value)
  444. // {
  445. // throw new NotImplementedException ();
  446. // }
  447. // [MonoTODO]
  448. // public void PerformLayout()
  449. // {
  450. // throw new NotImplementedException ();
  451. // }
  452. // [MonoTODO]
  453. // public void RemoveOwnedForm(Form ownedForm)
  454. // {
  455. // throw new NotImplementedException ();
  456. // }
  457. // [MonoTODO]
  458. public void SuspendLayout()
  459. {
  460. throw new NotImplementedException ();
  461. }
  462. // [MonoTODO]
  463. public void ResumeLayout()
  464. {
  465. throw new NotImplementedException ();
  466. }
  467. // [MonoTODO]
  468. // public void Scale(float f)
  469. // {
  470. // throw new NotImplementedException ();
  471. // }
  472. // [MonoTODO]
  473. // public void Select()
  474. // {
  475. // throw new NotImplementedException ();
  476. // }
  477. // [MonoTODO]
  478. // public void SetBounds(int, int, int, int)
  479. // {
  480. // throw new NotImplementedException ();
  481. // }
  482. // [MonoTODO]
  483. // public void SetDesktopLocation(int x, int y)
  484. // {
  485. // throw new NotImplementedException ();
  486. // }
  487. // [MonoTODO]
  488. // public DialogResult ShowDialog()
  489. // {
  490. // throw new NotImplementedException ();
  491. // }
  492. // [MonoTODO]
  493. // public override string ToString()
  494. // {
  495. // throw new NotImplementedException ();
  496. // }
  497. //
  498. // --- Public Events
  499. //
  500. // [MonoTODO]
  501. // public event EventHandler Activated {
  502. // add {
  503. // throw new NotImplementedException ();
  504. // }
  505. // remove {
  506. // throw new NotImplementedException ();
  507. // }
  508. //}
  509. public event EventHandler Closed;
  510. // public event CancelEventHandler Closing;
  511. // [MonoTODO]
  512. // public event EventHandler Deactivate {
  513. // add {
  514. // throw new NotImplementedException ();
  515. // }
  516. // remove {
  517. // throw new NotImplementedException ();
  518. // }
  519. //}
  520. // [MonoTODO]
  521. // public event InputLanguageChangedEventHandler InputLanguageChanged {
  522. // add {
  523. // throw new NotImplementedException ();
  524. // }
  525. // remove {
  526. // throw new NotImplementedException ();
  527. // }
  528. //}
  529. // [MonoTODO]
  530. // public event InputLanguageChangingEventHandler InputLanguageChanging {
  531. // add {
  532. // throw new NotImplementedException ();
  533. // }
  534. // remove {
  535. // throw new NotImplementedException ();
  536. // }
  537. //}
  538. // [MonoTODO]
  539. // public event EventHandler Load {
  540. // add {
  541. // throw new NotImplementedException ();
  542. // }
  543. // remove {
  544. // throw new NotImplementedException ();
  545. // }
  546. //}
  547. // [MonoTODO]
  548. // public event EventHandler MaximizedBoundsChanged {
  549. // add {
  550. // throw new NotImplementedException ();
  551. // }
  552. // remove {
  553. // throw new NotImplementedException ();
  554. // }
  555. //}
  556. // [MonoTODO]
  557. // public event EventHandler MaximumSizeChanged {
  558. // add {
  559. // throw new NotImplementedException ();
  560. // }
  561. // remove {
  562. // throw new NotImplementedException ();
  563. // }
  564. //}
  565. // [MonoTODO]
  566. // public event EventHandler MdiChildActivate {
  567. // add {
  568. // throw new NotImplementedException ();
  569. // }
  570. // remove {
  571. // throw new NotImplementedException ();
  572. // }
  573. //}
  574. // [MonoTODO]
  575. // public event EventHandler MenuComplete {
  576. // add {
  577. // throw new NotImplementedException ();
  578. // }
  579. // remove {
  580. // throw new NotImplementedException ();
  581. // }
  582. //}
  583. // [MonoTODO]
  584. // public event EventHandler MenuStart {
  585. // add {
  586. // throw new NotImplementedException ();
  587. // }
  588. // remove {
  589. // throw new NotImplementedException ();
  590. // }
  591. //}
  592. // [MonoTODO]
  593. // public event EventHandler MinimumSizedChanged {
  594. // add {
  595. // throw new NotImplementedException ();
  596. // }
  597. // remove {
  598. // throw new NotImplementedException ();
  599. // }
  600. //}
  601. //
  602. // --- Protected Properties
  603. //
  604. // [MonoTODO]
  605. // protected override CreateParams CreateParams {
  606. // get {
  607. // throw new NotImplementedException ();
  608. // }
  609. //}
  610. // [MonoTODO]
  611. // protected override ImeMode DefaultImeMode {
  612. // get {
  613. // throw new NotImplementedException ();
  614. // }
  615. //}
  616. // [MonoTODO]
  617. // protected override Size DefaultSize {
  618. //}
  619. // [MonoTODO]
  620. // protected Rectangle MaximizedBounds {
  621. // get {
  622. // throw new NotImplementedException ();
  623. // }
  624. // set {
  625. // throw new NotImplementedException ();
  626. // }
  627. //}
  628. //
  629. // --- Protected Methods
  630. //
  631. // [MonoTODO]
  632. // protected override void AdjustFormScrollbars(bool displayScrollbars)
  633. // {
  634. // throw new NotImplementedException ();
  635. // }
  636. // [MonoTODO]
  637. // protected override ControlCollection CreateControlsInstnace()
  638. // {
  639. // throw new NotImplementedException ();
  640. // }
  641. // [MonoTODO]
  642. // protected override void CreateHandle()
  643. // {
  644. // throw new NotImplementedException ();
  645. // }
  646. // [MonoTODO]
  647. // protected override void DefWndProc(ref Message m)
  648. // {
  649. // throw new NotImplementedException ();
  650. // }
  651. // [MonoTODO]
  652. // protected override void Dispose(bool b)
  653. // {
  654. // throw new NotImplementedException ();
  655. // }
  656. // [MonoTODO]
  657. // protected virtual void OnClosed(EventArgs e)
  658. // {
  659. // throw new NotImplementedException ();
  660. // }
  661. // [MonoTODO]
  662. // protected virtual void OnClosing(CancelEventArgs e)
  663. // {
  664. // throw new NotImplementedException ();
  665. // }
  666. // [MonoTODO]
  667. // protected override void OnCreateControl()
  668. // {
  669. // throw new NotImplementedException ();
  670. // }
  671. // [MonoTODO]
  672. // protected override void OnFontChanged(EventArgs e)
  673. // {
  674. // throw new NotImplementedException ();
  675. // }
  676. // [MonoTODO]
  677. // protected override void OnHandleCreated(EventArgs e)
  678. // {
  679. // throw new NotImplementedException ();
  680. // }
  681. // [MonoTODO]
  682. // protected override void OnHandleDestroyed(EventArgs e)
  683. // {
  684. // throw new NotImplementedException ();
  685. // }
  686. // [MonoTODO]
  687. // protected virtual void OnInputLanguageChanged( OnInputLanguageChangedEventArgs e)
  688. // {
  689. // throw new NotImplementedException ();
  690. // }
  691. // [MonoTODO]
  692. // protected virtual void OnInputLanguagedChanging( OnInputLanguagedChangingEventArgs e)
  693. // {
  694. // throw new NotImplementedException ();
  695. // }
  696. // [MonoTODO]
  697. // protected virtual void OnLoad(EventArgs e)
  698. // {
  699. // throw new NotImplementedException ();
  700. // }
  701. // [MonoTODO]
  702. // protected virtual void OnMaximizedBoundsChanged(EventArgs e)
  703. // {
  704. // throw new NotImplementedException ();
  705. // }
  706. // [MonoTODO]
  707. // protected virtual void OnMaximumSizedChanged(EventArgs e)
  708. // {
  709. // throw new NotImplementedException ();
  710. // }
  711. // [MonoTODO]
  712. // protected virtual void OnMdiChildActive(EventArgs e)
  713. // {
  714. // throw new NotImplementedException ();
  715. // }
  716. // [MonoTODO]
  717. // protected virtual void OnMenuComplete(EventArgs e)
  718. // {
  719. // throw new NotImplementedException ();
  720. // }
  721. // [MonoTODO]
  722. // protected virtual void OnMenuStart(EventArgs e)
  723. // {
  724. // throw new NotImplementedException ();
  725. // }
  726. // [MonoTODO]
  727. // protected virtual void OnMinimumSizeChanged(EventArgs e)
  728. // {
  729. // throw new NotImplementedException ();
  730. // }
  731. // [MonoTODO]
  732. // protected override void OnPaint(EventArgs e)
  733. // {
  734. // throw new NotImplementedException ();
  735. // }
  736. // [MonoTODO]
  737. // protected override void OnResize(EventArgs e)
  738. // {
  739. // throw new NotImplementedException ();
  740. // }
  741. // [MonoTODO]
  742. // protected override void OnStyleChanged(EventArgs e)
  743. // {
  744. // throw new NotImplementedException ();
  745. // }
  746. protected override void OnTextChanged(EventArgs e)
  747. {
  748. if (win != null)
  749. win.Title = Text;
  750. }
  751. // [MonoTODO]
  752. // protected override void OnVisibleChanged(EventArgs e)
  753. // {
  754. // throw new NotImplementedException ();
  755. // }
  756. // [MonoTODO]
  757. // protected override bool ProcessCmdKey( ref Message msg, Keys keyData)
  758. // {
  759. // throw new NotImplementedException ();
  760. // }
  761. // [MonoTODO]
  762. // protected override bool ProcessDialogKey(Keys keyData)
  763. // {
  764. // throw new NotImplementedException ();
  765. // }
  766. // [MonoTODO]
  767. // protected override bool ProcessKeyPreview(ref Message m)
  768. // {
  769. // throw new NotImplementedException ();
  770. // }
  771. // [MonoTODO]
  772. // protected override bool ProcessTabKey(bool forward)
  773. // {
  774. // throw new NotImplementedException ();
  775. // }
  776. // [MonoTODO]
  777. // protected override void ScaleScore(float x, float y)
  778. // {
  779. // throw new NotImplementedException ();
  780. // }
  781. // [MonoTODO]
  782. // protected override void Select(bool b1, bool b2)
  783. // {
  784. // throw new NotImplementedException ();
  785. // }
  786. // [MonoTODO]
  787. // protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
  788. // {
  789. // throw new NotImplementedException ();
  790. // }
  791. // [MonoTODO]
  792. // protected override void SelectClientSizeCore(int x, int y)
  793. // {
  794. // throw new NotImplementedException ();
  795. // }
  796. // [MonoTODO]
  797. // protected override void SetVisibleCore(bool value)
  798. // {
  799. // throw new NotImplementedException ();
  800. // }
  801. // [MonoTODO]
  802. // protected void UpdateBounds()
  803. // {
  804. // throw new NotImplementedException ();
  805. // }
  806. // [MonoTODO]
  807. // protected override void WndProc(ref Message m)
  808. // {
  809. // throw new NotImplementedException ();
  810. // }
  811. }
  812. }