private void FPreson_Syndicate_Shown(object sender, EventArgs e)
        {
            Work_Data       gl      = new Work_Data();
            InterpolContext context = new InterpolContext();

            gl.ClosePermit(GlobalTab.data_id);
            bandit_id_lbl.Text   = GlobalTab.data_id.ToString();
            bandit_name_lbl.Text = gl.Return_banditName(GlobalTab.data_id);

            foreach (var r in context.Syndicates.ToList())
            {
                comboBox1.Items.Add(r.syn_name);
            }
        }
Beispiel #2
0
        private void FData_View_Shown(object sender, EventArgs e)
        {
            Work_Data gl = new Work_Data();

            gl.ClosePermit(GlobalTab.data_id);
            name_lbl.Text        = gl.Return_banditName(GlobalTab.data_id);
            nickname_lbl.Text    = gl.Return_banditNickname(GlobalTab.data_id);
            rise_lbl.Text        = gl.Return_banditRise(GlobalTab.data_id).ToString();
            weight_lbl.Text      = gl.Return_banditWeight(GlobalTab.data_id).ToString();
            eyecolor_lbl.Text    = gl.Return_banditEyecolor(GlobalTab.data_id);
            haircolor_lbl.Text   = gl.Return_banditHaircolor(GlobalTab.data_id);
            birthday_lbl.Text    = gl.Return_banditBirthday(GlobalTab.data_id);
            citizenship_lbl.Text = gl.Return_banditCitizenship(GlobalTab.data_id);
            nationality_lbl.Text = gl.Return_banditNationality(GlobalTab.data_id);
            profession_lbl.Text  = gl.Return_banditProfession(GlobalTab.data_id);
            role_lbl.Text        = gl.Return_banditProfRole(GlobalTab.data_id);
            religion_lbl.Text    = gl.Return_banditReligion(GlobalTab.data_id);
            language_lbl.Text    = gl.Return_banditLanguage(GlobalTab.data_id);
            status_lbl.Text      = gl.Return_banditStatus(GlobalTab.data_id);
            pictureBox1.Load(gl.Return_banditPhoto(GlobalTab.data_id));
            Id_lbl.Text = GlobalTab.data_id.ToString();
        }