コード例 #1
0
 void Browser_GotFocus(object sender, EventArgs e)
 {
     GUI.ShellBrowser tmp = sender as GUI.ShellBrowser;
     if (tmp != null)
     {
         m_PreviousFocus = tmp;
     }
 }
コード例 #2
0
        public Form_TotalCommander()
        {
            InitializeComponent();

            GUI.ShellBrowser.SmallImageList = smallImgList;

            shellBrowserLeft.Init();
            shellBrowserRight.Init();

            shellBrowserLeft.RecvFocus  += Browser_GotFocus;
            shellBrowserRight.RecvFocus += Browser_GotFocus;

            m_PreviousFocus = shellBrowserLeft;
            Init();
        }