Click here to Skip to main content
15,925,062 members
Home / Discussions / C#
   

C#

 
QuestionAdd CSS to XML with XMLWriter Pin
error140823-Jul-07 4:56
error140823-Jul-07 4:56 
AnswerRe: Add CSS to XML with XMLWriter Pin
Pete O'Hanlon23-Jul-07 5:06
mvePete O'Hanlon23-Jul-07 5:06 
GeneralRe: Add CSS to XML with XMLWriter Pin
error140823-Jul-07 5:16
error140823-Jul-07 5:16 
GeneralRe: Add CSS to XML with XMLWriter Pin
BoneSoft23-Jul-07 5:23
BoneSoft23-Jul-07 5:23 
GeneralRe: Add CSS to XML with XMLWriter Pin
error140823-Jul-07 5:25
error140823-Jul-07 5:25 
QuestionWriting to screen form Pin
AndrusM23-Jul-07 4:54
AndrusM23-Jul-07 4:54 
AnswerRe: Writing to screen form Pin
Bert delaVega23-Jul-07 5:22
Bert delaVega23-Jul-07 5:22 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 5:35
AndrusM23-Jul-07 5:35 
Thank you.

I create the following login class. However, login form does not show messages.
What i'm doing wrong ?
How to force login form to scroll when all lines are filled in form ?


using System;<br />
using System.Windows.Forms;<br />
using System.IO;<br />
<br />
class main {<br />
  [STAThreadAttribute()]<br />
  public static void Main() {<br />
<br />
    LoginForm f = new LoginForm();<br />
    f.Show();<br />
<br />
    f.Writeln("Login message 1");<br />
    f.Writeln("Login message 2");<br />
    MessageBox.Show("");<br />
<br />
  }<br />
<br />
  class LoginForm : Form {<br />
<br />
    int vpos = 0;<br />
<br />
    public void Writeln(string s) {<br />
<br />
      Label l = new Label();<br />
      l.Visible = true;<br />
      l.Text = s;<br />
      vpos += 20;<br />
    }<br />
  }<br />
}


Andrus

GeneralRe: Writing to screen form Pin
Bert delaVega23-Jul-07 6:14
Bert delaVega23-Jul-07 6:14 
AnswerRe: Writing to screen form Pin
Luc Pattyn23-Jul-07 5:29
sitebuilderLuc Pattyn23-Jul-07 5:29 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 5:55
AndrusM23-Jul-07 5:55 
GeneralRe: Writing to screen form Pin
Luc Pattyn23-Jul-07 6:21
sitebuilderLuc Pattyn23-Jul-07 6:21 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 6:27
AndrusM23-Jul-07 6:27 
GeneralRe: Writing to screen form Pin
Luc Pattyn23-Jul-07 6:35
sitebuilderLuc Pattyn23-Jul-07 6:35 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 6:53
AndrusM23-Jul-07 6:53 
GeneralRe: Writing to screen form Pin
Luc Pattyn23-Jul-07 7:08
sitebuilderLuc Pattyn23-Jul-07 7:08 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 23:45
AndrusM23-Jul-07 23:45 
GeneralRe: Writing to screen form Pin
PaulPrice23-Jul-07 7:26
PaulPrice23-Jul-07 7:26 
GeneralRe: Writing to screen form Pin
AndrusM23-Jul-07 23:48
AndrusM23-Jul-07 23:48 
GeneralRe: Writing to screen form Pin
PaulPrice23-Jul-07 23:51
PaulPrice23-Jul-07 23:51 
GeneralRe: Writing to screen form Pin
AndrusM24-Jul-07 5:28
AndrusM24-Jul-07 5:28 
GeneralRe: Writing to screen form Pin
Luc Pattyn24-Jul-07 5:49
sitebuilderLuc Pattyn24-Jul-07 5:49 
GeneralRe: Writing to screen form Pin
AndrusM24-Jul-07 6:49
AndrusM24-Jul-07 6:49 
QuestionInvoke and Form.ShowDialog ? Pin
Eike Mueller23-Jul-07 4:53
Eike Mueller23-Jul-07 4:53 
AnswerRe: Invoke and Form.ShowDialog ? Pin
Luc Pattyn23-Jul-07 5:15
sitebuilderLuc Pattyn23-Jul-07 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.