?? quote.ascx
字號:
<%@ Control Language="C#" %>
<script runat="server">
void Page_Load()
{
ArrayList col = new ArrayList();
col.Add("Service is the rent we pay for being. It is the very purpose of life, and not something you do in your spare time. <br> --- Marion Wright Edelman");
col.Add("You must be the change you wish to see in the world. <br> --- Mahatma Ghandi");
col.Add("Make others happy and joyful. Your happiness will multiply a thousand fold. <br> --- Swami Sivananda");
col.Add("The influence of each human being on others in this life is a kind of immortality. <br> --- John Quincy Adams");
col.Add("Love sought is good, but given unsought is better. <br> --- Shakespeare");
col.Add("Here is a test to find out whether your mission in life is complete. If you're alive, it isn't. <br> --- Richard Bach");
col.Add("There is no such thing in anyone's life as an unimportant day. <br> --- Alexander Woollcott");
col.Add("How far you go in life depends on your being tender with the young, compassionate with the aged, sympathetic with the striving and tolerant of the weak and the strong. Because someday in life you will have been all of these. <br> --- George Washington Carver");
col.Add("People rarely succeed unless they have fun in what they are doing. <br> --- Dale Carnegie");
col.Add("Sit on a baby's bib and SPIT HAPPENS <br> --- Anonymous");
col.Add("May the smile on your face Come straight from your heart <br> --- Anonymous");
col.Add("Most good judgment comes from experience. Most experience comes from bad judgment. <br> --- Anonymous");
col.Add("The true \"final frontier\" is in the minds and the will of people. <br> -- Gen. Michael E. Ryan, U.S. Air Force Chief of Staff");
col.Add("I don't pretend to understand the Universe - it's a great deal bigger than I am. <br> -- Thomas Carlyle");
col.Add("When we try to pick out anything else in the Universe, we find it hitched to everything else in the Universe. <br> -- John Muir");
col.Add("Not all who wander are lost. <br> -- Tolkien");
Random objRan = new Random();
lblQuote.Text = (string)col[objRan.Next(col.Count)];
}
</script>
<span class="WebBox_TitleRow"><asp:Label id="lblQuote" Runat="Server" /></span>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -