public static void Main() { Sentense s = new Sentense("we are the world"); Console.WriteLine(s[3]); s[3] = "frield"; }
public UserControl1(Sentense s, Lex.Dane d, Form1 f) { sentence = s; dane = d; form = f; InitializeComponent(); MadeView(); }
public SentenceListElement(Lex.Dane d, Sentense s, FlowLayoutPanel sl, Form1 f) { f1 = f; senlist = sl; dane = d; sentece = s; InitializeComponent(); }
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; }
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(); }
public static void Main() { Sentense sen = new Sentense("C# Program Study"); string s1 = sen[1]; string s2 = sen[^ 1]; // 1. this[Index] 검색
private void UserControl1_Load(object sender, EventArgs e) { sentence = new Sentense(dane); updateStatistic(); }
public void AddSentence(Sentense s) { panelZdania.Controls.Add(new SentenceListElement(dane, s, panelZdania, f1)); updateStatistics(); }
public static void Main() { Sentense sen = new Sentense("C# Program Study"); string s1 = sen[1]; // indexer 필요 string s2 = sen[^ 1]; //