Esempio n. 1
0
        private void PrivateInit()
        {
            noScribbleMode        = false;
            loading               = false;
            gettingCheckoutStatus = false;

            // This call is required by the Windows.Forms Form Designer.
            editorControl = new LinkEditor();

            editorControl.AllowDrop = true;
            //editorControl.HideSelection = false;
            editorControl.TabIndex = 0;
            editorControl.Text     = string.Empty;
            editorControl.Name     = "EditorPane";

            editorControl.TextChanged += new EventHandler(OnTextChange);
        }
Esempio n. 2
0
 /// <summary>
 /// Clean up any resources being used.
 /// </summary>
 protected override void Dispose(bool disposing)
 {
     try
     {
         if (disposing)
         {
             if (editorControl != null)
             {
                 editorControl.Dispose();
                 editorControl = null;
             }
             GC.SuppressFinalize(this);
         }
     }
     finally
     {
         base.Dispose(disposing);
     }
 }