예제 #1
0
        public void InitForm(frmMain mainForm)
        {
            _mainForm = mainForm;

            int period = (int)(Config.CheckUpdatePeriod / 7) - 1;
            if (period < 0 || period > 3) period = 1;
            
            cboCheckUpdatePeriod.SelectedIndex = period;            
            chkCheckUpdateEnabled.Checked = Config.CheckUpdateEnabled;           

            nudRecentPluginList.Value = Config.RecentPluginList;

            chkAutoSaveBookmarkEnabled.Checked = Config.ClassEditorAutoSaveBookmarkEnabled;
            chkAutoOpenDroppedAssembly.Checked = Config.ClassEditorAutoOpenDroppedAssemblyEnabled;
            lblRtbFont.Font = Config.ClassEditorRichTextBoxFont;

            if (ShellExtUtils.IsSAERegistered())
                chkIntegrateWithExplorer.Checked = true;
            else
                chkIntegrateWithExplorer.Checked = false;

            cboBamlTranslator.SelectedIndex = Config.ClassEditorBamlTranslator;

            chkIntegrateWithExplorer.Enabled = ShellExtUtils.IsAdministrator();
        }
        public MainHostHandler(frmMain form)
        {
            _form = form;
            statusInfo = _form.StatusInfo;
            statusProgress = _form.StatusProgressBar;

            SetStatusVersion();
        }
        public MainTreeViewHandler(frmMain form)
        {
            _form = form;
            treeView1 = _form.TreeView;
            dgvData = _form.AssemblyDataGrid;

            CreateFilesTable();
            AddDrives();
        }
        private void InitForm(frmMain mainForm)
        {
            _mainForm = mainForm;

            txtFilter.Text = Config.ProfilerASPNetFilter;
            txtLogPath.Text = Config.ProfilerASPNetLogPath;

            chkTraceEvent.Checked = Config.ProfilerASPNetTraceEvent;
            chkTraceParam.Checked = Config.ProfilerASPNetTraceParameter;
            chkIncludeSystem.Checked = Config.ProfilerASPNetIncludeSystem;


            if (Directory.Exists(txtLogPath.Text))
            {
                _logFile = Path.Combine(txtLogPath.Text, ProfilerUtils.PROFILER_LOG);
            }

            txtLogFile.Text = _logFile;
        }
 public MainToolHandler(frmMain form)
 {
     _form = form;
     mnuTools = _form.ToolMenu;
 }
        public frmProfilerASPNet(frmMain mainForm)
        {
            InitializeComponent();

            InitForm(mainForm);
        }
 public MainPluginHandler(frmMain form)
 {
     _form = form;
     cmAssembly = _form.AssemblyContextMenuStrip;
     cmMore = _form.AssemblyMoreMenu;
 }
 public MainToolHandler(frmMain form)
 {
     _form    = form;
     mnuTools = _form.ToolMenu;
 }
예제 #9
0
 public MainPluginHandler(frmMain form)
 {
     _form      = form;
     cmAssembly = _form.AssemblyContextMenuStrip;
     cmMore     = _form.AssemblyMoreMenu;
 }
예제 #10
0
        public frmOptions(frmMain mainForm)
        {
            InitializeComponent();

            InitForm(mainForm);
        }
예제 #11
0
        public frmOptions(frmMain mainForm)
        {
            InitializeComponent();

            InitForm(mainForm);
        }