示例#1
0
 private void systemLoginLable_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     if(this.systemLoginLable.Text.EndsWith("登录系统"))
     {
         LoginFm = new LoginForm();
         LoginFm.StartPosition = FormStartPosition.CenterScreen;
         LoginFm.Show();
     }
 }
示例#2
0
        private void StartAndDisposeFms()
        {
            LoginFm = new LoginForm();
            LoginFm.Dispose();

            OwnFileFm = new OwnFileForm("",false);
            OwnFileFm.Dispose();

            SuperSearchFm = new SuperSearchForm();
            SuperSearchFm.Dispose();

            FuzzySearchFm = new FuzzySearchForm();
            FuzzySearchFm.Dispose();

            MostSearchFm = new PublicSearchForm();
            MostSearchFm.Dispose();

            HistotySearchFm = new PublicSearchForm();
            HistotySearchFm.Dispose();

            BorrowingSearchFm = new PublicSearchForm();
            BorrowingSearchFm.Dispose();

            MyHistorySearchFm = new PublicSearchForm();
            MyHistorySearchFm.Dispose();
        }