Esempio n. 1
0
        public Customer_information()
        {
            InitializeComponent();

            //入力チェック初期化
            chk = new checkOperation(this);

            //変更チェック初期化
            mod = new modifyCheck();
            mod.add(co_Membership_type);
            mod.add(co_Rank);
            mod.add(co_Registered_store);
            mod.add(co_Sex);
            mod.add(co_Visit_motive);
            mod.add(t_Address2);
            mod.add(t_Apartment_mansion);
            mod.add(t_Customer_code);
            mod.add(t_surname_kana);
            mod.add(t_surname);
            mod.add(t_Fax);
            mod.add(t_Free_item1);
            mod.add(t_Free_item2);
            mod.add(t_Free_item3);
            mod.add(t_Phone_number1);
            mod.add(t_Phone_number2);
            mod.add(t_Phone_number3);
            mod.add(t_Postal_code);
            mod.add(t_Pref_city_town_village_name);
            mod.add(t_Registration_officer);
            mod.add(t_Remark);
            mod.add(da_Birthday);
            mod.add(da_Customer_wedding_anniversary);
            mod.add(da_Registration_date);
            mod.add(dataGridView1);
        }
        public Facility_reservation()
        {
            InitializeComponent();

            //入力チェック
            chk = new checkOperation(this);

            //変更チェック
            mod = new modifyCheck();

            mod.add(d_tenpomei);
            mod.add(d_shisetumei);
            mod.add(d_satueisya);
            mod.add(d_select_name);
            mod.add(d_tasukukubun);
            mod.add(d_satsueimokuteki);
            mod.add(d_start_date);
            mod.add(d_start_time);
            mod.add(d_end_date);
            mod.add(d_end_time);
            mod.add(d_select_start_date);
            mod.add(d_select_start_time);
            mod.add(d_select_end_date);
            mod.add(d_select_end_time);
            mod.add(d_yoyakusya);
            mod.add(d_tyushi);
            mod.add(d_tekiyou);
        }
Esempio n. 3
0
        public Store_master()
        {
            InitializeComponent();

            //追記:安達 入力チェック案
            //入力チェック初期化
            chk = new checkOperation(this);
        }
Esempio n. 4
0
 public Login()
 {
     InitializeComponent();
     //必須項目チェック
     //入力チェック初期化
     chk = new checkOperation(this);
     //コントロールを追加
     chk.addControl(t_password);
     chk.addControl(t_login);
 }
Esempio n. 5
0
 public Reception()
 {
     InitializeComponent();
     //チェックリストの生成
     chkExist         = new checkOperation(this);
     chkreceptcode    = new checkOperation(this);
     chkrecepttime    = new checkOperation(this);
     chkphotographers = new checkOperation(this);
     chkmemo          = new checkOperation(this);
     chkclaim         = new checkOperation(this);
 }
Esempio n. 6
0
        public Staff_shift()
        {
            InitializeComponent();

            chk = new checkOperation(this);

            mod = new modifyCheck();
            mod.add(t_start_time);
            mod.add(t_end_time);
            mod.add(t_syugyoukubun);
        }
Esempio n. 7
0
        //画面構成用データの取得


        public Costume_reservation()
        {
            InitializeComponent();
            chk = new checkOperation(this);

            mod = new modifyCheck();
            mod.add(d_Shooting_purpose);
            mod.add(d_facility);
            mod.add(t_name);
            mod.add(t_name_kana);
            mod.add(d_sex2);
            mod.add(d_height);
            mod.add(d_foot);
            mod.add(d_sleeve);
        }
Esempio n. 8
0
        public Staff_master()
        {
            InitializeComponent();

            //入力チェック初期化
            chk = new checkOperation(this);
            chk.addControl(d_tenpo);
            chk.addControl(t_staff_code);
            chk.addControl(t_staff);
            chk.addControl(t_staff_kana);
            chk.addControl(t_login_id);
            chk.addControl(t_password);
            chk.addControl(d_kengen);
            chk.addControl(d_employment);
            chk.addControl(d_seibetsu);
            chk.addControl(d_status);
        }
Esempio n. 9
0
        public Facility_master()
        {
            InitializeComponent();

            //存在チェック項目の追加
            chkExist = new checkOperation(this);
            chkExist.addControl(d_tenpo);
            chkExist.addControl(t_facility);
            chkExist.addControl(t_facility_code);

            //桁数チェック
            chk8Digit = new checkOperation(this);
            chk8Digit.addControl(t_facility_code);

            chk20Digit = new checkOperation(this);
            chk20Digit.addControl(t_facility);
        }
Esempio n. 10
0
        public Costume_master()
        {
            InitializeComponent();

            //LostFocus設定
            t_image_file1.Leave += new EventHandler(t_image_file1_Leave);
            t_image_file2.Leave += new EventHandler(t_image_file2_Leave);
            t_image_file3.Leave += new EventHandler(t_image_file3_Leave);
            t_image_file4.Leave += new EventHandler(t_image_file4_Leave);

            //チェックリストの生成
            chk = new checkOperation(this);

            mod = new modifyCheck();
            mod.add(t_age);
            mod.add(t_brand);
            mod.add(t_bunrui);
            mod.add(t_color);
            mod.add(t_costume);
            mod.add(t_costume_code);
            mod.add(t_customer_display);
            mod.add(t_gara);
            mod.add(t_image_file1);
            mod.add(t_image_file2);
            mod.add(t_image_file3);
            mod.add(t_image_file4);
            mod.add(t_kashidashi_tenpo);
            mod.add(t_mitame);
            mod.add(t_price1);
            mod.add(t_price2);
            mod.add(t_price3);
            mod.add(t_rank);
            mod.add(t_size);
            mod.add(t_tekiyou);
            mod.add(d_seibetsu);
            mod.add(d_siyoukahi);
            mod.add(d_status);
            mod.add(t_initial_use_count);
        }
Esempio n. 11
0
        public override void PageRefresh()
        {
            //入力チェック初期化
            chk = new checkOperation(this);
            //チェックリセット
            chk.clear();

            if (!SelfViewing)
            {
                              //初期表示時に編集
                {
                    //初期表示時、本日日付をセット
                    l_calenderdata = DateTime.Now.Date;

                    //初期表示時、ログインスタッフ情報をセット
                    l_store = MainForm.session_m_staff.store_code;

                    //初回データベース読み込み
                    //storeマスタ読み込み
                    m_storeList = DB.m_store.getStoreList();

                    //店舗の設定
                    StorecomboboxSet();

                    //就業区分列を作成
                    //まずは、カラムを作成
                    WorkclassSet();
                }
            }
            else
            {
                //シフト表の設定
                //初期化
                //(0, 0)を現在のセルにする
                dataGridView1.Rows[0].Visible = true;
                dataGridView1.CurrentCell     = dataGridView1[0, 0];
                //行の初期化
                for (var i = 0; i < dataGridView1.Rows.Count; i++)
                {
                    dataGridView1.Rows[i].Selected                 = false;
                    dataGridView1.Rows[i].Cells["No"].Value        = "";
                    dataGridView1.Rows[i].Cells["Staff"].Value     = "";
                    dataGridView1.Rows[i].Cells["WorkClass"].Value = "";
                    dataGridView1.Rows[i].Cells["StartTime"].Value = "";
                    dataGridView1.Rows[i].Cells["EndTime"].Value   = "";
                }
            }

            //staffマスタ再読み込み
            m_staffList = DB.m_staff.getStaffList(l_store);

            //基準時間取得
            const_startdate = DB.m_store.getSingle(l_store).start_time.ToString(@"hh\:mm");
            const_enddate   = DB.m_store.getSingle(l_store).end_time.ToString(@"hh\:mm");

            //カレンダーの設定
            monthCalendar1.SetDate(l_calenderdata);

            //年の設定
            t_year.Text = l_calenderdata.Year.ToString("0000") + "年";

            //月日の設定
            t_days.Text = l_calenderdata.Month.ToString("0") + "月" +
                          l_calenderdata.Day.ToString("0") + "日" + "(" +
                          l_calenderdata.Date.ToString("dddd") + ")";

            //スタッフ名列を作成
            //スタッフ名を表示して、データベースの内容か?
            //初期値をsっていするかを決定
            StaffSet();
        }