Наследование: System.Windows.Forms.Form
Пример #1
0
 private void bRules_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.RulesFileName, "Use common sense!" );
     popup.ShowDialog();
 }
Пример #2
0
        private void bGreeting_Click( object sender, EventArgs e ) {
            TextEditorPopup popup = new TextEditorPopup( Paths.GreetingFileName,
@"Welcome to {SERVER_NAME}
Your rank is {RANK}&S. Type &H/Help&S for help." );
            popup.ShowDialog();
        }
Пример #3
0
 private void bAnnouncements_Click( object sender, EventArgs e ) {
     TextEditorPopup popup = new TextEditorPopup( Paths.AnnouncementsFileName, "" );
     popup.ShowDialog();
 }