Пример #1
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            var newform = new searchEnactmentForm();

            newform.ShowDialog(this);
            if (newform.Text.StartsWith("choose"))
            {
                enactmentTextbox.Text = ExtensionFunction.EnglishToPersian(newform.Text.Substring(6));
            }
        }
        private void searchButton_Click(object sender, EventArgs e)
        {
            var newform = new searchEnactmentForm();

            newform.ShowDialog(this);
            if (newform.Text == "choose")
            {
                enactmentTextbox.Text = ExtensionFunction.EnglishToPersian(Clipboard.GetText());
            }
        }
Пример #3
0
        private void searchButton_Click(object sender, EventArgs e)
        {
            var newform = new searchEnactmentForm();

            newform.ShowDialog(this);
            if (newform.Text.StartsWith("choose"))
            {
                enactmentTextbox.Text = ExtensionFunction.EnglishToPersian(newform.Text.Substring(6));
            }
            if (this.Text == "ویرایش تایید معرفی‌نامه تحصیلی")
            {
                setButton.Enabled = true;
            }
        }