Beispiel #1
0
 private void btnUser_Click(object sender, EventArgs e)
 {
     using (PersonalSetting f = new PersonalSetting())
     {
         f.ShowDialog();
     }
 }
Beispiel #2
0
        public void Execute(object parameter)
        {
            var values  = (object[])parameter;
            var content = values[0] as string;
            var window  = values[1] as Window;

            if (content.Equals("특성 고르기!"))
            {
                PersonalSetting personal = new PersonalSetting();
                window.Close();
                personal.ShowDialog();
            }
            else if (content.Equals("옷 고르기!"))
            {
                ClothesSetting clothes = new ClothesSetting();
                window.Close();
                clothes.ShowDialog();
            }
            else if (content.Equals("위치 선택!"))
            {
                LocationSetting location = new LocationSetting();
                window.Close();
                location.ShowDialog();
            }
        }