using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace KelimeEzber
{
	/// <summary>
	/// Summary description for Form_Sozluk.
	/// </summary>
	public class Form_Sozluk : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.TextBox textBox_Aranacak;
		private System.Windows.Forms.Button button_Ara;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.Label label_Example;
		private System.Windows.Forms.Label label_Definition;
		private System.Windows.Forms.Label label_Okunusu;
		private System.Windows.Forms.Label label_Turkce;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label_Ingilizce;
		private System.Windows.Forms.ListBox listBox1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.ComboBox comboBox1;
		private General.DataManager myDm = null;
		private General.Mp3Play myMp3Play=null;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;
		private General.Sozluk mySozlukRecord=null;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.RadioButton radioButton_Turkce;
		private System.Windows.Forms.RadioButton radioButton_Ingilizce;
		private System.Windows.Forms.RadioButton radioButton_Ikisinden;
		char cAyirici=(char)1;

		public Form_Sozluk()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
		}

		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(Form_Sozluk));
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.button_Ara = new System.Windows.Forms.Button();
			this.textBox_Aranacak = new System.Windows.Forms.TextBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.label_Example = new System.Windows.Forms.Label();
			this.label_Definition = new System.Windows.Forms.Label();
			this.label_Okunusu = new System.Windows.Forms.Label();
			this.label_Turkce = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.label_Ingilizce = new System.Windows.Forms.Label();
			this.listBox1 = new System.Windows.Forms.ListBox();
			this.label2 = new System.Windows.Forms.Label();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.radioButton_Turkce = new System.Windows.Forms.RadioButton();
			this.radioButton_Ingilizce = new System.Windows.Forms.RadioButton();
			this.radioButton_Ikisinden = new System.Windows.Forms.RadioButton();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox1.Controls.Add(this.groupBox3);
			this.groupBox1.Controls.Add(this.comboBox1);
			this.groupBox1.Controls.Add(this.button_Ara);
			this.groupBox1.Controls.Add(this.textBox_Aranacak);
			this.groupBox1.Location = new System.Drawing.Point(0, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(536, 80);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Aranacak Kelime";
			// 
			// comboBox1
			// 
			this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox1.Items.AddRange(new object[] {
														   "İçinde Geçen",
														   "İle Başlıyan",
														   "İle Biten",
														   "Eşit Olan"});
			this.comboBox1.Location = new System.Drawing.Point(419, 49);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(104, 21);
			this.comboBox1.TabIndex = 2;
			// 
			// button_Ara
			// 
			this.button_Ara.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.button_Ara.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.button_Ara.Location = new System.Drawing.Point(340, 49);
			this.button_Ara.Name = "button_Ara";
			this.button_Ara.TabIndex = 1;
			this.button_Ara.Text = "Ara";
			this.button_Ara.Click += new System.EventHandler(this.button_Ara_Click);
			// 
			// textBox_Aranacak
			// 
			this.textBox_Aranacak.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.textBox_Aranacak.Location = new System.Drawing.Point(10, 50);
			this.textBox_Aranacak.Name = "textBox_Aranacak";
			this.textBox_Aranacak.Size = new System.Drawing.Size(329, 20);
			this.textBox_Aranacak.TabIndex = 0;
			this.textBox_Aranacak.Text = "textBox1";
			// 
			// groupBox2
			// 
			this.groupBox2.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.groupBox2.Controls.Add(this.label_Example);
			this.groupBox2.Controls.Add(this.label_Definition);
			this.groupBox2.Controls.Add(this.label_Okunusu);
			this.groupBox2.Controls.Add(this.label_Turkce);
			this.groupBox2.Controls.Add(this.label4);
			this.groupBox2.Controls.Add(this.label3);
			this.groupBox2.Controls.Add(this.label1);
			this.groupBox2.Controls.Add(this.label_Ingilizce);
			this.groupBox2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.groupBox2.Location = new System.Drawing.Point(120, 88);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(408, 352);
			this.groupBox2.TabIndex = 1;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Kelime";
			// 
			// label_Example
			// 
			this.label_Example.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.label_Example.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label_Example.Location = new System.Drawing.Point(135, 151);
			this.label_Example.Name = "label_Example";
			this.label_Example.Size = new System.Drawing.Size(264, 193);
			this.label_Example.TabIndex = 8;
			this.label_Example.Text = "label_Example";
			// 
			// label_Definition
			// 
			this.label_Definition.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.label_Definition.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label_Definition.Location = new System.Drawing.Point(134, 127);
			this.label_Definition.Name = "label_Definition";
			this.label_Definition.Size = new System.Drawing.Size(264, 23);
			this.label_Definition.TabIndex = 7;
			this.label_Definition.Text = "label_Definition";
			this.label_Definition.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label_Okunusu
			// 
			this.label_Okunusu.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.label_Okunusu.BackColor = System.Drawing.Color.Black;
			this.label_Okunusu.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label_Okunusu.ForeColor = System.Drawing.Color.Blue;
			this.label_Okunusu.Location = new System.Drawing.Point(144, 19);
			this.label_Okunusu.Name = "label_Okunusu";
			this.label_Okunusu.Size = new System.Drawing.Size(256, 23);
			this.label_Okunusu.TabIndex = 6;
			this.label_Okunusu.Text = "label_Okunusu";
			this.label_Okunusu.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// label_Turkce
			// 
			this.label_Turkce.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.label_Turkce.BackColor = System.Drawing.Color.Black;
			this.label_Turkce.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label_Turkce.ForeColor = System.Drawing.Color.FromArgb(((System.Byte)(255)), ((System.Byte)(128)), ((System.Byte)(128)));
			this.label_Turkce.Location = new System.Drawing.Point(8, 72);
			this.label_Turkce.Name = "label_Turkce";
			this.label_Turkce.Size = new System.Drawing.Size(392, 48);
			this.label_Turkce.TabIndex = 5;
			this.label_Turkce.Text = "label_Turkce";
			this.label_Turkce.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// label4
			// 
			this.label4.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label4.Location = new System.Drawing.Point(6, 151);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(120, 23);
			this.label4.TabIndex = 4;
			this.label4.Text = "Example :";
			this.label4.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label3
			// 
			this.label3.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label3.Location = new System.Drawing.Point(7, 127);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(120, 23);
			this.label3.TabIndex = 3;
			this.label3.Text = "Definition :";
			this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label1
			// 
			this.label1.ImageAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.label1.Location = new System.Drawing.Point(36, 16);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(102, 23);
			this.label1.TabIndex = 2;
			this.label1.Text = "Türkçe Okunuşu :";
			this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
			// 
			// label_Ingilizce
			// 
			this.label_Ingilizce.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.label_Ingilizce.BackColor = System.Drawing.Color.Black;
			this.label_Ingilizce.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label_Ingilizce.ForeColor = System.Drawing.Color.Lime;
			this.label_Ingilizce.Location = new System.Drawing.Point(8, 42);
			this.label_Ingilizce.Name = "label_Ingilizce";
			this.label_Ingilizce.Size = new System.Drawing.Size(392, 32);
			this.label_Ingilizce.TabIndex = 0;
			this.label_Ingilizce.Text = "label_Ingilizce";
			this.label_Ingilizce.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
			// 
			// listBox1
			// 
			this.listBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.listBox1.Location = new System.Drawing.Point(0, 98);
			this.listBox1.Name = "listBox1";
			this.listBox1.Size = new System.Drawing.Size(120, 342);
			this.listBox1.TabIndex = 2;
			this.listBox1.SelectedIndexChanged += new System.EventHandler(this.listBox1_SelectedIndexChanged);
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(162)));
			this.label2.Location = new System.Drawing.Point(1, 82);
			this.label2.Name = "label2";
			this.label2.TabIndex = 3;
			this.label2.Text = "Sonuçlar :";
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.radioButton_Ikisinden);
			this.groupBox3.Controls.Add(this.radioButton_Ingilizce);
			this.groupBox3.Controls.Add(this.radioButton_Turkce);
			this.groupBox3.Location = new System.Drawing.Point(8, 12);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(328, 33);
			this.groupBox3.TabIndex = 3;
			this.groupBox3.TabStop = false;
			// 
			// radioButton_Turkce
			// 
			this.radioButton_Turkce.Location = new System.Drawing.Point(16, 10);
			this.radioButton_Turkce.Name = "radioButton_Turkce";
			this.radioButton_Turkce.Size = new System.Drawing.Size(64, 16);
			this.radioButton_Turkce.TabIndex = 0;
			this.radioButton_Turkce.Text = "&Türkçe";
			// 
			// radioButton_Ingilizce
			// 
			this.radioButton_Ingilizce.Location = new System.Drawing.Point(112, 10);
			this.radioButton_Ingilizce.Name = "radioButton_Ingilizce";
			this.radioButton_Ingilizce.Size = new System.Drawing.Size(72, 16);
			this.radioButton_Ingilizce.TabIndex = 1;
			this.radioButton_Ingilizce.Text = "&Ingilizce";
			// 
			// radioButton_Ikisinden
			// 
			this.radioButton_Ikisinden.Location = new System.Drawing.Point(223, 10);
			this.radioButton_Ikisinden.Name = "radioButton_Ikisinden";
			this.radioButton_Ikisinden.Size = new System.Drawing.Size(72, 16);
			this.radioButton_Ikisinden.TabIndex = 2;
			this.radioButton_Ikisinden.Text = "İ&kisinden";
			// 
			// Form_Sozluk
			// 
			this.AcceptButton = this.button_Ara;
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
			this.ClientSize = new System.Drawing.Size(536, 453);
			this.Controls.Add(this.listBox1);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.Controls.Add(this.label2);
			this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
			this.KeyPreview = true;
			this.Name = "Form_Sozluk";
			this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Show;
			this.Text = "Sözlük";
			this.KeyPress += new System.Windows.Forms.KeyPressEventHandler(this.Form_Sozluk_KeyPress);
			this.Load += new System.EventHandler(this.Form_Sozluk_Load);
			this.Closed += new System.EventHandler(this.Form_Sozluk_Closed);
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void Form_Sozluk_Load(object sender, System.EventArgs e)
		{
			this.comboBox1.SelectedIndex = 0;
			this.textBox_Aranacak.Text="";
			myDm = new KelimeEzber.General.DataManager();
			myMp3Play = new KelimeEzber.General.Mp3Play();
			temizle();
			this.radioButton_Ikisinden.Checked=true;
		}

		private void Form_Sozluk_Closed(object sender, System.EventArgs e)
		{
			myDm.Dispose();
		}

		private void Form_Sozluk_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
		{
			if (e.KeyChar == 27) 
			{
				this.Close();
			}
		}
		
		private void temizle()
		{
			this.textBox_Aranacak.Text=
			this.label_Definition.Text=
			this.label_Example.Text=
			this.label_Ingilizce.Text=
			this.label_Okunusu.Text=
			this.label_Turkce.Text="";
		}

		private void button_Ara_Click(object sender, System.EventArgs e)
		{
			DataTable myTable=null;
			DataRow   myTableRow=null;
			myDm.sQuery = "Select * From SOZLUK Where ";
			switch(this.comboBox1.SelectedIndex)
			{         
				case 1:  //İle Başlayan
					if (this.radioButton_Turkce.Checked)
						myDm.sQuery += "Turkce like '" + this.textBox_Aranacak.Text + "%' Order By English ";
					else if (this.radioButton_Ingilizce.Checked)
						myDm.sQuery += "English like '" + this.textBox_Aranacak.Text + "%' Order By English ";
					else
						myDm.sQuery += "English like '" + this.textBox_Aranacak.Text + "%' OR " +
							"Turkce like '" + this.textBox_Aranacak.Text + "%' Order By English ";
					break;
				case 2:  //İle Biten
					if (this.radioButton_Turkce.Checked)
						myDm.sQuery += "Turkce like '%" + this.textBox_Aranacak.Text + "' Order By English ";
					else if (this.radioButton_Ingilizce.Checked)
						myDm.sQuery += "English like '%" + this.textBox_Aranacak.Text + "' Order By English ";
					else
						myDm.sQuery += "English like '%" + this.textBox_Aranacak.Text + "' OR " +
							"Turkce like '%" + this.textBox_Aranacak.Text + "' Order By English ";
					break;
				case 3:  //Eşit Olan
					if (this.radioButton_Turkce.Checked)
						myDm.sQuery += "Turkce like '" + this.textBox_Aranacak.Text + "' Order By English ";
					else if (this.radioButton_Ingilizce.Checked)
						myDm.sQuery += "English like '" + this.textBox_Aranacak.Text + "' Order By English ";
					else
						myDm.sQuery += "English like '" + this.textBox_Aranacak.Text + "' OR " +
							"Turkce like '" + this.textBox_Aranacak.Text + "' Order By English ";
					break;
				default: //İçinde Geçen
					if (this.radioButton_Turkce.Checked)
						myDm.sQuery += "Turkce like '%" + this.textBox_Aranacak.Text + "%' Order By English ";
					else if (this.radioButton_Ingilizce.Checked)
						myDm.sQuery += "English like '%" + this.textBox_Aranacak.Text + "%' Order By English ";
					else
						myDm.sQuery += "English like '%" + this.textBox_Aranacak.Text + "%' OR " +
							"Turkce like '%" + this.textBox_Aranacak.Text + "%' Order By English ";
					break;
			}
			myDm.sTableName = "SOZLUK";
			myTable=myDm.ExecuteQuery();
			this.listBox1.Items.Clear();
			if (myTable==null) 
			{
				MessageBox.Show("Aradığınız Kelime Bulunamadı.","Bilgi",MessageBoxButtons.OK,MessageBoxIcon.Information);
				return;
			}
			string str = new string(' ', 300);
			for (int i=0;i<myTable.Rows.Count;i++) 
			{
				myTableRow = myTable.Rows[i];
				if (this.radioButton_Turkce.Checked)
						this.listBox1.Items.Add(myTableRow["Turkce"].ToString().Trim() + str + cAyirici + myTableRow["RecordID"]);
				else if (this.radioButton_Ingilizce.Checked)
						this.listBox1.Items.Add(myTableRow["English"].ToString().Trim() + str + cAyirici + myTableRow["RecordID"]);
				else	this.listBox1.Items.Add(myTableRow["English"].ToString().Trim() + 
												"  =  " + myTableRow["Turkce"].ToString().Trim() +
												str + cAyirici + myTableRow["RecordID"]);
			}
		}

		private bool RecordDisplay()
		{
			if ((mySozlukRecord != null)) 
			{
				this.label_Ingilizce.Text = mySozlukRecord.English;
				this.label_Turkce.Text = mySozlukRecord.Turkce;
				this.label_Okunusu.Text = mySozlukRecord.Okunusu;
				this.label_Definition.Text = mySozlukRecord.Definition;
				this.label_Example.Text = mySozlukRecord.Example;
				myMp3Play.sPlayWord = "";
				myMp3Play.sPlayWord = this.label_Ingilizce.Text;
				return false;
			} 
			else 
			{
				this.label_Ingilizce.Text = 
				this.label_Turkce.Text = 
				this.label_Okunusu.Text =
				this.label_Definition.Text = 
				this.label_Example.Text = "";
				return true;
			}
		}

		private void listBox1_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			if (this.listBox1.Text=="") 
			{
				mySozlukRecord = null;
				RecordDisplay();
				return;
			}
			DataTable myTable=null;
			DataRow   myTableRow=null;
			int iKonum=0;
			string sBilgi = this.listBox1.Text;
			string sRecordID = "";
			iKonum = sBilgi.IndexOfAny(new char[]{cAyirici});
			if (iKonum > 0)
			{
				sRecordID = sBilgi.Substring(iKonum+1);
			}
			else 
			{
				mySozlukRecord = null;
				RecordDisplay();
				return;
			}
			sRecordID = sRecordID.Trim();
			myDm.sQuery = "Select top 1 * From SOZLUK Where RecordID = " + sRecordID;
			myTable=myDm.ExecuteQuery();
			if (myTable==null) 
			{
				mySozlukRecord = null;
				RecordDisplay();
				return;
			}
			myTableRow = myTable.Rows[0];
			mySozlukRecord = new KelimeEzber.General.Sozluk(myTableRow);
			RecordDisplay();
		}
	}
}
