private void 재산등록ToolStripMenuItem_Click(object sender, EventArgs e) { Class_Property_Add c1 = new Class_Property_Add(this, proper_cnt); pnl_property_add.Visible = true; Proper_Count(); Property_ListSetting(); }
private void btn_picture_Click(object sender, EventArgs e) { Class_Property_Add c1 = new Class_Property_Add(this, proper_cnt); c1.Open_Image(); image_storepath = c1.Path_Get; ofd_path = c1.str_arr; file_extend = c1.File_extend; }
private void btn_proregister_Click(object sender, EventArgs e) { Class_Property_Add c1 = new Class_Property_Add(this, proper_cnt); Button btn = (Button)sender; if (btn == btn_proregister) { pnl_property_add.Visible = true; Proper_Count(); Property_ListSetting(); } else if (btn == btn_store) { image_storepath = c1.Path_Get; } }
private void btn_store_MouseClick(object sender, MouseEventArgs e) { Class_Property_Add c1 = new Class_Property_Add(this, proper_cnt); Button btn = (Button)sender; if (btn == btn_proregister) // 재산 등록버튼일 때 { txt_properName.Select(); pnl_property_add.Visible = true; } else if (btn == btn_store) // 등록 버튼일 때 { c1.btn_store_Click(); Proper_Count(); Property_ListSetting(); pnl_property_add.Visible = false; } }