Пример #1
0
    public static void Main()
    {
        Sentense s = new Sentense("we are the world");

        Console.WriteLine(s[3]);
        s[3] = "frield";
    }
Пример #2
0
 public UserControl1(Sentense s, Lex.Dane d, Form1 f)
 {
     sentence = s;
     dane     = d;
     form     = f;
     InitializeComponent();
     MadeView();
 }
Пример #3
0
 public SentenceListElement(Lex.Dane d, Sentense s, FlowLayoutPanel sl, Form1 f)
 {
     f1      = f;
     senlist = sl;
     dane    = d;
     sentece = s;
     InitializeComponent();
 }
Пример #4
0
 public Word(Lex.Word w, Lex.Dane d, FlowLayoutPanel flp, Sentense sentence, UserControl1 uc)
 {
     InitializeComponent();
     word          = w;
     dane          = d;
     uc1           = uc;
     panelSentence = flp;
     this.sentence = sentence;
 }
Пример #5
0
 private void ButtonConfirm_Click(object sender, EventArgs e)
 {
     sentence.nr_line = dane.usedSentences.Last().nr_line + 1;
     sentence.Save();
     form.sentenceList.AddSentence(sentence);
     sentence = new Sentense(dane);
     panelZdania.Controls.Clear();
     form.UpdateStatistic();
     updateStatistic();
 }
Пример #6
0
    public static void Main()
    {
        Sentense sen = new Sentense("C# Program Study");

        string s1 = sen[1];
        string s2 = sen[^ 1]; // 1. this[Index] 검색
Пример #7
0
 private void UserControl1_Load(object sender, EventArgs e)
 {
     sentence = new Sentense(dane);
     updateStatistic();
 }
Пример #8
0
 public void AddSentence(Sentense s)
 {
     panelZdania.Controls.Add(new SentenceListElement(dane, s, panelZdania, f1));
     updateStatistics();
 }
Пример #9
0
    public static void Main()
    {
        Sentense sen = new Sentense("C# Program Study");

        string s1 = sen[1];   // indexer 필요
        string s2 = sen[^ 1]; //