Inheritance: System.Windows.Forms.UserControl
Beispiel #1
0
 public void Close()
 {
     if (control != null)
     {
         control.Dispose();
     }
     control = null;
 }
Beispiel #2
0
        public Control CreateControl()
        {
            this.control  = new ViewImportsControl();
            this.comparer = new Comparer();

            this.control.Load += Control_Load;
            this.control.Imports.MouseMove         += Imports_MouseMove;
            this.control.Imports.ColumnClick       += Imports_ColumnClick;
            this.control.Imports.ListViewItemSorter = comparer;
            this.control.Imports.MouseClick        += Imports_MouseClick;
            return(control);
        }