BlockStudio.Project.BlockStudioProjectService.BlockStudioProjectService C# (CSharp) Method

BlockStudioProjectService() public method

public BlockStudioProjectService ( TreeView treeview, System.Windows.Forms.FlowLayoutPanel fpAbi, TextBox txtEstimatedGas, TextBox txtConsoleOut ) : System
treeview System.Windows.Forms.TreeView
fpAbi System.Windows.Forms.FlowLayoutPanel
txtEstimatedGas System.Windows.Forms.TextBox
txtConsoleOut System.Windows.Forms.TextBox
return System
        public BlockStudioProjectService(TreeView treeview, FlowLayoutPanel fpAbi, TextBox txtEstimatedGas,TextBox txtConsoleOut)
        {
            _txtEstimatedGas = txtEstimatedGas;
            _fpAbi = fpAbi;
            _fileTreeView = treeview;
            _txtConsoleOut = txtConsoleOut;

            SolcOutputPath = string.Format(@"{0}contract", BlockStudioProject.SaveFolder);
            if (!Directory.Exists(SolcOutputPath))
            {
                Directory.CreateDirectory(SolcOutputPath);
            }

            var watcher = new FileSystemWatcher(SolcOutputPath);
            watcher.Created += Watcher_Created;
            watcher.EnableRaisingEvents = true;

            BlockStudioSettings = BlockStudioSettings.Load();
        }