Exemple #1
0
        public Form1()
        {
            InitializeComponent();
            //this.Icon = Properties.Resources.yoda1;
            columnHeader1.Width = 183 - System.Windows.Forms.SystemInformation.VerticalScrollBarWidth;

            iconListManager = new Etier.IconHelper.IconListManager(smallIconList, Etier.IconHelper.IconReader.IconSize.Small);
            currentDirectory = "/polling/data/pos";

            // Create an instance of a ListView column sorter and assign it
            // to the ListView control.
            lvSorter = new ListViewSorter();
            listView1.ListViewItemSorter = lvSorter;
        }
 public AddInSettingsForm()
 {
     this.InitializeComponent();
     Logger.WriteEvent += new EventHandler<Logger.WriteEventArgs>(this.Logger_WriteEvent);
     this._iconListManager = new IconListManager(this.imageList, IconSize.Small);
     this._globalSettings = new GlobalIncrementSettings();
     this.propertyGrid.PropertySort = PropertySort.Categorized;
     this.propertyGridGlobalSettings.PropertySort = PropertySort.Categorized;
     try
     {
         string version = ReflectionHelper.GetAssemblyAttribute<AssemblyFileVersionAttribute>(Assembly.GetExecutingAssembly()).Version;
         string configuration = ReflectionHelper.GetAssemblyAttribute<AssemblyConfigurationAttribute>(Assembly.GetExecutingAssembly()).Configuration;
         this.Text = string.Format("{0} v{1} [{2}]", this.Text, version, configuration);
     }
     catch
     {
     }
 }
 public SolutionExplorer()
 {
     InitializeComponent();
     _iconManager = new IconListManager(imageListFiles, IconReader.IconSize.Large);
 }