コード例 #1
0
        private static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            var MainForm = new FormCodeLibrary();

            Application.Run(MainForm);
        }
コード例 #2
0
 public FormAddReference(FormCodeLibrary formCodeLibrary)
 {
     _mainform = formCodeLibrary;
     InitializeComponent();
     treeViewLibrary.ImageList = _mainform.imageList;
     Load += FormAddReference_Load;
     textBoxFind.KeyUp += TextBoxFind_KeyUp;
     this.GotFocus     += FormAddReference_GotFocus;
 }
コード例 #3
0
ファイル: FileHelper.cs プロジェクト: Guido1234/CodeLibrary
        public FileHelper(FormCodeLibrary mainform, DebugHelper debugHelper, TextBoxHelper textBoxHelper, PasswordHelper passwordHelper, StateIconHelper stateIconHelper)
        {
            _StateIconHelper = stateIconHelper;
            _DebugHelper     = debugHelper;
            _mainform        = mainform;
            _treeViewLibrary = _mainform.treeViewLibrary;
            _textBoxHelper   = textBoxHelper;
            _passwordHelper  = passwordHelper;
            CodeLib.Instance.ChangeStateChanged += Instance_ChangeStateChanged;

            _lastAutoSavedDate      = DateTime.Now;
            _autoSaveTimer.Interval = 1000;
            _autoSaveTimer.Tick    += AutoSaveTimer_Tick;
            _autoSaveTimer.Start();
        }