Example #1
0
        public FrmSien(FrmMain parent, Setting setting)
        {
            InitializeComponent();
            ss           = new SienSearch(System.IO.Path.Combine(Common.GetApplicationFolder(), "mmlSien.json"));
            this.setting = setting;
            this.parent  = parent;
            if (setting.sien.CacheInstrumentName != null)
            {
                instCache = ConvertCacheList(setting.sien);
            }

            this.BackColor      = Color.FromArgb(setting.ColorScheme.Azuki_BackColor);
            treeView1.BackColor = Color.FromArgb(setting.ColorScheme.Azuki_BackColor);
            this.Opacity        = setting.other.Opacity / 100.0;
        }
Example #2
0
 public FrmSien(Setting setting)
 {
     InitializeComponent();
     ss = new SienSearch(System.IO.Path.Combine(Common.GetApplicationFolder(), "mmlSien.json"));
     this.setting = setting;
 }