public ExplorerListView(String mode) : this()
 {
     com         = new MasterClass();
     foldOptions = new ConfigHelper(com.toSystemPath(com.Config.GetConfig("Explorer", "ConfigLoc").Setting));
     //pipeServer = new NamedPipeServerStream("ProjectI2padamsNet");
     elvMode = mode;
 }
Example #2
0
 public Scrollbar()
 {
     BackColor = com.convertColour(com.Config.GetConfig("Colors", "ButtonFace").Setting);
     if (themeLocation == "")
     {
         themeLocation = com.toSystemPath(com.Config.GetConfig("Windows", "ThemeLocation").Setting);
     }
     themeConfig         = new ConfigHelper(themeLocation + "Config.ini");
     Orientation         = ScrollOrientation.HorizontalScroll;
     downArr             = com.prepareImage(themeLocation + themeConfig.GetConfig("Scroll", "downArrow").Setting);
     upArr               = com.prepareImage(themeLocation + themeConfig.GetConfig("Scroll", "upArrow").Setting);
     bar.Stuck           = true;
     bar.MouseDown      += Scrollbar_MouseDown;
     bar.MouseUp        += Scrollbar_MouseDown;
     bar.MouseMove      += Scrollbar_MouseMove;
     downArrow.Click    += LargeChanger;
     downArrow.Tag       = 1;
     upArrow.Click      += LargeChanger;
     upArrow.Tag         = -1;
     this.DoubleBuffered = true;
     this.Controls.Add(bar);
     this.Controls.Add(downArrow);
     this.Controls.Add(upArrow);
     Invalidate();
     Debug.WriteLine(Height);
 }
 public ProI2padamsShell()
 {
     // if (System.ComponentModel.LicenseManager.UsageMode == System.ComponentModel.LicenseUsageMode.Designtime)
     InitializeComponent();
     if (themeLocation == "")
     {
         themeLocation = com.toSystemPath(com.Config.GetConfig("Windows", "ThemeLocation").Setting);
     }
     themeConfig = new ConfigHelper(themeLocation + "Config.ini");
     themeRefresh();
 }