예제 #1
0
        public Toolbar()
        {
            #if (!DEBUG)
            Logger.ResetLogFile();
            #endif

            InitUnhandledExceptionHandler();

            Logger.Log("");
            Logger.Log("");
            #if DEBUG
            Logger.Log("=== STARTING IMAGERAKERTOOLBAR DEBUG {0} ===", About.Version);
            #else
            Logger.Log("=== starting ImageRakerToolbar {0}, {1} ===", About.Version, About.GetBuildDate());
            #endif
            Logger.Log("");
            Logger.Log("");

            Application.EnableVisualStyles();

            // init ui
            InitializeComponent();

            minSize = new Size(185, 27); // 최소 크기를 반드시 적어줘야 합니다.

            SetSiteEvent += new SetSiteEventHandler(ImageRakerToolbar_SetSiteEvent);
            ShowDWEvent += new ShowDWEventHandler(ImageRakerToolbar_ShowDWEvent);

            // hide or show instant save button
            UpdateOtherSaveButtonState();

            // hide auto label, del button
            //ShowAutoMessage(false, false);
            HideAllAutoMessage();
        }
예제 #2
0
        public Toolbar()
        {
#if (!DEBUG)
            Logger.ResetLogFile();
#endif

            InitUnhandledExceptionHandler();

            Logger.Log("");
            Logger.Log("");
#if DEBUG
            Logger.Log("=== STARTING IMAGERAKERTOOLBAR DEBUG {0} ===", About.Version);
#else
            Logger.Log("=== starting ImageRakerToolbar {0}, {1} ===", About.Version, About.GetBuildDate());
#endif
            Logger.Log("");
            Logger.Log("");

            Application.EnableVisualStyles();

            // init ui
            InitializeComponent();

            minSize = new Size(185, 27);             // 최소 크기를 반드시 적어줘야 합니다.

            SetSiteEvent += new SetSiteEventHandler(ImageRakerToolbar_SetSiteEvent);
            ShowDWEvent  += new ShowDWEventHandler(ImageRakerToolbar_ShowDWEvent);

            // hide or show instant save button
            UpdateOtherSaveButtonState();

            // hide auto label, del button
            //ShowAutoMessage(false, false);
            HideAllAutoMessage();
        }