リビジョン 413
他の画面へボタン:請求入力・請求書印刷追加
請求選択サブフォーム追加
請求入力:入金金額計算間違え修正
メニュー:初期時年度コンボ修正
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsExcute.cs | ||
---|---|---|
164 | 164 |
{ (int)ProcessExecuteNo.MainMenu, "メインメニュー"}, |
165 | 165 |
{ (int)ProcessExecuteNo.ConstructionList, "工事情報一覧-表示"}, |
166 | 166 |
{ (int)ProcessExecuteNo.ConstructionBaseInfo, "工事情報-入力"}, |
167 |
{ (int)ProcessExecuteNo.EstimateInput, "積算見積書-入力"}, |
|
167 |
{ (int)ProcessExecuteNo.EstimateInput, "積算見積書作成-入力"},
|
|
168 | 168 |
{ (int)ProcessExecuteNo.EstimatePrint, "積算見積書-印刷"}, |
169 |
{ (int)ProcessExecuteNo.EstimateBudget, "積算予算書-入力"}, |
|
170 |
{ (int)ProcessExecuteNo.ConstructionBudget, "工事予算書-入力"}, |
|
169 |
{ (int)ProcessExecuteNo.EstimateBudget, "積算予算書作成-入力"},
|
|
170 |
{ (int)ProcessExecuteNo.ConstructionBudget, "工事予算書作成-入力"},
|
|
171 | 171 |
{ (int)ProcessExecuteNo.ApprovalDocumentList, "承認申請一覧-表示"}, |
172 | 172 |
{ (int)ProcessExecuteNo.ConstructionCopyList, "工事案件コピー-機能"}, |
173 |
{ (int)ProcessExecuteNo.PurchaseOrderEntry, "注文書-入力"}, |
|
173 |
{ (int)ProcessExecuteNo.PurchaseOrderEntry, "注文書作成-入力"},
|
|
174 | 174 |
{ (int)ProcessExecuteNo.PurchaseOrderPrint, "注文書-印刷"}, |
175 | 175 |
{ (int)ProcessExecuteNo.DepartmentExpenssList, "部署別台帳-表示"}, |
176 | 176 |
{ (int)ProcessExecuteNo.ConstructionLedgerList, "工事台帳まとめ-表示"}, |
177 | 177 |
{ (int)ProcessExecuteNo.ConstructionLedger, "工事詳細台帳-入力"}, |
178 | 178 |
{ (int)ProcessExecuteNo.TAndPCosts, "交通費及び購入品等-入力"}, |
179 | 179 |
{ (int)ProcessExecuteNo.DRList, "工事日報一覧-表示"}, |
180 |
{ (int)ProcessExecuteNo.DRConstruction, "工事日報-入力"}, |
|
180 |
{ (int)ProcessExecuteNo.DRConstruction, "工事日報作成-入力"},
|
|
181 | 181 |
{ (int)ProcessExecuteNo.Proceedings, "打合せ議事録-入力"}, |
182 |
{ (int)ProcessExecuteNo.DRWork, "出勤日報-入力"}, |
|
182 |
{ (int)ProcessExecuteNo.DRWork, "出勤日報作成-入力"},
|
|
183 | 183 |
{ (int)ProcessExecuteNo.PurchaseOrderStatus, "注文書発給一覧-表示"}, |
184 | 184 |
{ (int)ProcessExecuteNo.OrderJoin, "工事結合-入力"}, |
185 | 185 |
{ (int)ProcessExecuteNo.ConstructionSplit, "見積分割-入力"}, |
... | ... | |
192 | 192 |
{ (int)ProcessExecuteNo.MaterialSelect, "資材選択-入力"}, |
193 | 193 |
{ (int)ProcessExecuteNo.RequestSummaryList, "請求まとめ-入力"}, |
194 | 194 |
{ (int)ProcessExecuteNo.PaymentConfirmation, "入金確認-入力"}, |
195 |
{ (int)ProcessExecuteNo.RequestInput, "請求作成データ-入力"},
|
|
195 |
{ (int)ProcessExecuteNo.RequestInput, "請求データ作成-入力"},
|
|
196 | 196 |
{ (int)ProcessExecuteNo.RequestPrint, "請求書-印刷"}, |
197 | 197 |
{ (int)ProcessExecuteNo.CostomerRegistList, "発注者登録申請一覧-表示"}, |
198 | 198 |
{ (int)ProcessExecuteNo.CostomerRegist, "発注者登録申請-入力"}, |
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsOtherProc.cs | ||
---|---|---|
681 | 681 |
/// <summary> |
682 | 682 |
/// 請求書印刷 |
683 | 683 |
/// </summary> |
684 |
public static void ProcExec_RequestPrint(ref FrmRequestPrint frm |
|
684 |
public static void ProcExec_RequestPrint(ref FrmRequestPrintSel frm
|
|
685 | 685 |
, int ConstrCode |
686 | 686 |
, int CurProcNo |
687 | 687 |
, Form ParentsForm) |
... | ... | |
693 | 693 |
ExecFormEntry(ProcessNo, CurProcNo, (Form)frm); |
694 | 694 |
|
695 | 695 |
// 請求書印刷起動 |
696 |
frm.SubForm = true; |
|
696 |
frm.ConstructionCode = ClsProcessExist.GetParentConstrCode(ConstrCode); |
|
697 |
frm.SelectionMode = true; |
|
697 | 698 |
frm.ShowInTaskbar = true; |
698 | 699 |
|
699 | 700 |
frm.Show(); |
... | ... | |
708 | 709 |
} |
709 | 710 |
#endregion |
710 | 711 |
|
712 |
#region 入金入力 |
|
713 |
/// <summary> |
|
714 |
/// 入金入力 |
|
715 |
/// </summary> |
|
716 |
public static void ProcExec_PaymentConfirmation(ref FrmSelectPayment frm |
|
717 |
, int ConstrCode |
|
718 |
, int CurProcNo |
|
719 |
, Form ParentsForm) |
|
720 |
{ |
|
721 |
try |
|
722 |
{ |
|
723 |
// フォーム登録 |
|
724 |
//int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
725 |
//ExecFormEntry(ProcessNo, CurProcNo, (Form)frm); |
|
726 |
|
|
727 |
//// 請求入力入力起動 |
|
728 |
//frm.ConstructionCode = ClsProcessExist.GetParentConstrCode(ConstrCode); |
|
729 |
//frm.ShowInTaskbar = true; |
|
730 |
|
|
731 |
//frm.Show(); |
|
732 |
|
|
733 |
//// フォームをずらす |
|
734 |
//frm.Location = CommonMotions.SetFormPosion(ParentsForm.Location); |
|
735 |
} |
|
736 |
catch (Exception ex) |
|
737 |
{ |
|
738 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
739 |
} |
|
740 |
} |
|
741 |
#endregion |
|
742 |
|
|
711 | 743 |
#endregion < ---------- 起動処理 ↑↑↑↑↑ |
712 | 744 |
|
713 | 745 |
#region フォームのクローズ・クリア |
trunk/src/ProcessManagement/ProcessManagement/Common/Process/ClsProcessExist.cs | ||
---|---|---|
419 | 419 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
420 | 420 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
421 | 421 |
} |
422 |
// 31:請求入力データ存在確認 |
|
423 |
if (ExistRequestInput()) |
|
424 |
{ |
|
425 |
ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
426 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
|
427 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
|
428 |
} |
|
429 |
// 32:請求書印刷データ存在確認 |
|
430 |
if (ExistRequestPrint()) |
|
431 |
{ |
|
432 |
ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
433 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
|
434 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
|
435 |
} |
|
436 |
// 30:入金入力データ存在確認 |
|
437 |
if (ExistPaymentConf()) |
|
438 |
{ |
|
439 |
ProcNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation; |
|
440 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
|
441 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
|
442 |
} |
|
422 | 443 |
// 14:交通費及び購入品入力 |
423 | 444 |
if (ExistTAndPCosts()) |
424 | 445 |
{ |
... | ... | |
461 | 482 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
462 | 483 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
463 | 484 |
} |
464 |
// 31:請求入力データ存在確認 |
|
465 |
if(ExistRequestInput()) |
|
466 |
{ |
|
467 |
ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
468 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
|
469 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
|
470 |
} |
|
471 |
// 32:請求書印刷データ存在確認 |
|
472 |
if(ExistRequestPrint()) |
|
473 |
{ |
|
474 |
ProcNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
475 |
string ProcName = ClsExcute.ProcessExecuteName[ProcNo].Replace("-", "").Replace("入力", ""); |
|
476 |
ProcList.Add(new KeyValuePair<int, string>(ProcNo, ProcName)); |
|
477 |
} |
|
478 | 485 |
} |
479 | 486 |
catch (Exception ex) |
480 | 487 |
{ |
... | ... | |
1176 | 1183 |
/// <returns></returns> |
1177 | 1184 |
private static bool ExistRequestInput() |
1178 | 1185 |
{ |
1186 |
IOConstructionLedger LedgerDB = new IOConstructionLedger(); |
|
1179 | 1187 |
try |
1180 | 1188 |
{ |
1181 |
return false; |
|
1189 |
// 起動権限チェック |
|
1190 |
int Editflg = 0; |
|
1191 |
if (!ClsSecurityPermission.GetExecutePermission((int)ClsExcute.ProcessExecuteNo.RequestInput, ref Editflg)) return false; |
|
1192 |
|
|
1193 |
int[] Status = new int[] {CommonDefine.ProjectsStatus.First(x => x.Value.Equals("施工開始")).Key, |
|
1194 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("施工完了")).Key, |
|
1195 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("請求準備")).Key, |
|
1196 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("請求確認")).Key, |
|
1197 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("総務入金確認")).Key, |
|
1198 |
CommonDefine.ProjectsStatus.First(x => x.Value.Equals("担当者入金確認完了")).Key, |
|
1199 |
}; |
|
1200 |
|
|
1201 |
// データの存在確認 |
|
1202 |
StringBuilder strSQL = new StringBuilder(); |
|
1203 |
strSQL.Append("SELECT"); |
|
1204 |
strSQL.Append(" A.CONSTRUCTIONCODE"); |
|
1205 |
strSQL.Append(", B.BillingSplitFlg"); |
|
1206 |
strSQL.Append(", B.ConstructionStatusFlg"); |
|
1207 |
strSQL.Append(" FROM CONSTRUCTIONLEDGER As A"); |
|
1208 |
strSQL.Append(" INNER JOIN constructionbaseinfo As B"); |
|
1209 |
strSQL.Append(" ON B.CONSTRUCTIONCODE = A.CONSTRUCTIONCODE"); |
|
1210 |
strSQL.AppendFormat(" WHERE A.CONSTRUCTIONCODE = {0}", m_SearchCode); |
|
1211 |
strSQL.AppendFormat(" And ((B.BillingSplitFlg = {0}", (int)ConstructionBaseInfo.BillingSplitFlgDef.AllOnBilling); |
|
1212 |
strSQL.AppendFormat(" And B.ConstructionStatusFlg in ({0}", Status[1]); |
|
1213 |
for (int i = 2; i < Status.Length; i++) |
|
1214 |
{ |
|
1215 |
strSQL.AppendFormat(",{0}", Status[i]); |
|
1216 |
} |
|
1217 |
strSQL.Append(" ))"); |
|
1218 |
strSQL.AppendFormat(" Or (B.BillingSplitFlg = {0}", (int)ConstructionBaseInfo.BillingSplitFlgDef.SplitBilling); |
|
1219 |
strSQL.AppendFormat(" And B.ConstructionStatusFlg in ({0}", Status[0]); |
|
1220 |
for (int i = 1; i < Status.Length; i++) |
|
1221 |
{ |
|
1222 |
strSQL.AppendFormat(",{0}", Status[i]); |
|
1223 |
} |
|
1224 |
strSQL.Append(" )))"); |
|
1225 |
|
|
1226 |
ArrayList LedgerList = new ArrayList(); |
|
1227 |
if (!LedgerDB.ExecuteReader(strSQL.ToString(), ref LedgerList)) return false; |
|
1228 |
if (LedgerList.Count == 0) return false; |
|
1229 |
|
|
1230 |
return true; |
|
1182 | 1231 |
} |
1183 | 1232 |
catch (Exception ex) |
1184 | 1233 |
{ |
... | ... | |
1187 | 1236 |
} |
1188 | 1237 |
finally |
1189 | 1238 |
{ |
1239 |
LedgerDB.close(); LedgerDB = null; |
|
1190 | 1240 |
} |
1191 | 1241 |
} |
1192 | 1242 |
#endregion |
... | ... | |
1198 | 1248 |
/// <returns></returns> |
1199 | 1249 |
private static bool ExistRequestPrint() |
1200 | 1250 |
{ |
1251 |
IORequestHead ReqHed = new IORequestHead(); |
|
1201 | 1252 |
try |
1202 | 1253 |
{ |
1254 |
StringBuilder strSQL = new StringBuilder(); |
|
1255 |
strSQL.AppendFormat(" Where REQCONSTRUCTIONCODE = {0}", m_SearchCode); |
|
1256 |
|
|
1257 |
List<RequestHead> ReqList = new List<RequestHead>(); |
|
1258 |
if (!ReqHed.SelectAction(strSQL.ToString(), ref ReqList)) return false; |
|
1259 |
if (ReqList.Count < 1) return false; |
|
1260 |
|
|
1261 |
return true; |
|
1262 |
} |
|
1263 |
catch (Exception ex) |
|
1264 |
{ |
|
1265 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1203 | 1266 |
return false; |
1204 | 1267 |
} |
1268 |
finally |
|
1269 |
{ |
|
1270 |
ReqHed.close(); ReqHed = null; |
|
1271 |
} |
|
1272 |
} |
|
1273 |
#endregion |
|
1274 |
|
|
1275 |
#region 30:入金入力データ存在確認 |
|
1276 |
/// <summary> |
|
1277 |
/// 30:入金入力データ存在確認 |
|
1278 |
/// </summary> |
|
1279 |
/// <returns></returns> |
|
1280 |
private static bool ExistPaymentConf() |
|
1281 |
{ |
|
1282 |
IORequestHead ReqHed = new IORequestHead(); |
|
1283 |
try |
|
1284 |
{ |
|
1285 |
return false; |
|
1286 |
//StringBuilder strSQL = new StringBuilder(); |
|
1287 |
//strSQL.Append("Select Count(*) From RequestHead As ReqHead"); |
|
1288 |
//strSQL.Append(" Inner Join InvoiceData As InvData"); |
|
1289 |
//strSQL.Append(" On InvData.InvoiceNo = ReqHead.InvoiceNo"); |
|
1290 |
//strSQL.AppendFormat(" Where ReqHead.REQCONSTRUCTIONCODE = {0}", m_SearchCode); |
|
1291 |
|
|
1292 |
//ArrayList ReqList = new ArrayList(); |
|
1293 |
//if (!ReqHed.ExecuteReader(strSQL.ToString(), ref ReqList)) return false; |
|
1294 |
//if (ReqList.Count < 1) return false; |
|
1295 |
//object[] ObjRec = (object[])ReqList[0]; |
|
1296 |
//if (CommonMotions.cnvInt(ObjRec[0]) < 1) return false; |
|
1297 |
|
|
1298 |
//return true; |
|
1299 |
} |
|
1205 | 1300 |
catch (Exception ex) |
1206 | 1301 |
{ |
1207 | 1302 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
... | ... | |
1209 | 1304 |
} |
1210 | 1305 |
finally |
1211 | 1306 |
{ |
1307 |
ReqHed.close(); ReqHed = null; |
|
1212 | 1308 |
} |
1213 | 1309 |
} |
1214 | 1310 |
#endregion |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBaseInfo/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation: // 30:入金入力 |
|
138 |
handle = ProcessExecute_PaymentConfirmation; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
141 |
handle = ProcessExecute_RequestInput; |
|
140 | 142 |
break; |
143 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
144 |
handle = ProcessExecute_RequestPrint; |
|
145 |
break; |
|
141 | 146 |
} |
142 | 147 |
// 起動関数のセットが無ければ処理しない |
143 | 148 |
if (handle == null) continue; |
... | ... | |
831 | 836 |
} |
832 | 837 |
#endregion |
833 | 838 |
|
839 |
#region 請求入力 |
|
840 |
/// <summary> |
|
841 |
/// 請求入力 |
|
842 |
/// </summary> |
|
843 |
/// <param name="sender"></param> |
|
844 |
/// <param name="e"></param> |
|
845 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
846 |
{ |
|
847 |
try |
|
848 |
{ |
|
849 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
850 |
// フォームがあれば最前面へ |
|
851 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
852 |
if (frm != null) |
|
853 |
{ |
|
854 |
frm.Activate(); |
|
855 |
return; |
|
856 |
} |
|
857 |
|
|
858 |
// 請求入力起動 |
|
859 |
frm = new FrmRequestInput(); |
|
860 |
// クロースドハンドラをこちらで定義する |
|
861 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
862 |
|
|
863 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
864 |
, m_ConstructionCode |
|
865 |
, s_CurrentProcessNo |
|
866 |
, m_EditLock |
|
867 |
, this); |
|
868 |
} |
|
869 |
catch (Exception ex) |
|
870 |
{ |
|
871 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
872 |
} |
|
873 |
} |
|
874 |
#endregion |
|
875 |
|
|
876 |
#region 請求印刷 |
|
877 |
/// <summary> |
|
878 |
/// 請求印刷 |
|
879 |
/// </summary> |
|
880 |
/// <param name="sender"></param> |
|
881 |
/// <param name="e"></param> |
|
882 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
883 |
{ |
|
884 |
try |
|
885 |
{ |
|
886 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
887 |
// フォームがあれば最前面へ |
|
888 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
889 |
if (frm != null) |
|
890 |
{ |
|
891 |
frm.Activate(); |
|
892 |
return; |
|
893 |
} |
|
894 |
|
|
895 |
// 請求入力起動 |
|
896 |
frm = new FrmRequestPrintSel(); |
|
897 |
// クロースドハンドラをこちらで定義する |
|
898 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
899 |
|
|
900 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
901 |
, m_ConstructionCode |
|
902 |
, s_CurrentProcessNo |
|
903 |
, this); |
|
904 |
} |
|
905 |
catch (Exception ex) |
|
906 |
{ |
|
907 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
908 |
} |
|
909 |
} |
|
910 |
#endregion |
|
911 |
|
|
912 |
#region 入金入力 |
|
913 |
/// <summary> |
|
914 |
/// 入金入力 |
|
915 |
/// </summary> |
|
916 |
/// <param name="sender"></param> |
|
917 |
/// <param name="e"></param> |
|
918 |
private void ProcessExecute_PaymentConfirmation(object sender, EventArgs e) |
|
919 |
{ |
|
920 |
try |
|
921 |
{ |
|
922 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.PaymentConfirmation; |
|
923 |
// フォームがあれば最前面へ |
|
924 |
FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
925 |
if (frm != null) |
|
926 |
{ |
|
927 |
frm.Activate(); |
|
928 |
return; |
|
929 |
} |
|
930 |
|
|
931 |
// 請求入力起動 |
|
932 |
frm = new FrmSelectPayment(); |
|
933 |
// クロースドハンドラをこちらで定義する |
|
934 |
frm.FormClosed += new FormClosedEventHandler(FrmPaymentConfirmationClosed); |
|
935 |
|
|
936 |
ClsOtherProc.ProcExec_PaymentConfirmation(ref frm |
|
937 |
, m_ConstructionCode |
|
938 |
, s_CurrentProcessNo |
|
939 |
, this); |
|
940 |
} |
|
941 |
catch (Exception ex) |
|
942 |
{ |
|
943 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
944 |
} |
|
945 |
} |
|
946 |
#endregion |
|
947 |
|
|
834 | 948 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
835 | 949 |
|
836 | 950 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1373 | 1487 |
} |
1374 | 1488 |
#endregion |
1375 | 1489 |
|
1490 |
#region 請求入力のクローズを取得する |
|
1491 |
/// <summary> |
|
1492 |
/// 請求入力のクローズを取得する |
|
1493 |
/// </summary> |
|
1494 |
/// <param name="sender"></param> |
|
1495 |
/// <param name="e"></param> |
|
1496 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1497 |
{ |
|
1498 |
try |
|
1499 |
{ |
|
1500 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1501 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1502 |
bool ThisEnd = frm.ParentEnd; |
|
1503 |
|
|
1504 |
// フォームのクリア |
|
1505 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1506 |
|
|
1507 |
if (ThisEnd) |
|
1508 |
{ |
|
1509 |
// 終了処理OFF |
|
1510 |
m_CloseingProcessOn = false; |
|
1511 |
this.Close(); |
|
1512 |
} |
|
1513 |
else |
|
1514 |
{ |
|
1515 |
UpDateProcessContextMenu(); |
|
1516 |
this.Activate(); |
|
1517 |
} |
|
1518 |
} |
|
1519 |
catch (Exception ex) |
|
1520 |
{ |
|
1521 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1522 |
} |
|
1523 |
} |
|
1524 |
#endregion |
|
1525 |
|
|
1526 |
#region 請求印刷のクローズを取得する |
|
1527 |
/// <summary> |
|
1528 |
/// 請求印刷のクローズを取得する |
|
1529 |
/// </summary> |
|
1530 |
/// <param name="sender"></param> |
|
1531 |
/// <param name="e"></param> |
|
1532 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1533 |
{ |
|
1534 |
try |
|
1535 |
{ |
|
1536 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1537 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1538 |
|
|
1539 |
// フォームのクリア |
|
1540 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1541 |
|
|
1542 |
UpDateProcessContextMenu(); |
|
1543 |
this.Activate(); |
|
1544 |
} |
|
1545 |
catch (Exception ex) |
|
1546 |
{ |
|
1547 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1548 |
} |
|
1549 |
} |
|
1550 |
#endregion |
|
1551 |
|
|
1552 |
#region 請求印刷のクローズを取得する |
|
1553 |
/// <summary> |
|
1554 |
/// 請求印刷のクローズを取得する |
|
1555 |
/// </summary> |
|
1556 |
/// <param name="sender"></param> |
|
1557 |
/// <param name="e"></param> |
|
1558 |
private void FrmPaymentConfirmationClosed(object sender, FormClosedEventArgs e) |
|
1559 |
{ |
|
1560 |
try |
|
1561 |
{ |
|
1562 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1563 |
FrmSelectPayment frm = (FrmSelectPayment)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1564 |
|
|
1565 |
// フォームのクリア |
|
1566 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1567 |
|
|
1568 |
UpDateProcessContextMenu(); |
|
1569 |
this.Activate(); |
|
1570 |
} |
|
1571 |
catch (Exception ex) |
|
1572 |
{ |
|
1573 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1574 |
} |
|
1575 |
} |
|
1576 |
#endregion |
|
1577 |
|
|
1376 | 1578 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1377 | 1579 |
} |
1378 | 1580 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionBudget/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
829 | 831 |
} |
830 | 832 |
#endregion |
831 | 833 |
|
834 |
#region 請求入力 |
|
835 |
/// <summary> |
|
836 |
/// 請求入力 |
|
837 |
/// </summary> |
|
838 |
/// <param name="sender"></param> |
|
839 |
/// <param name="e"></param> |
|
840 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
841 |
{ |
|
842 |
try |
|
843 |
{ |
|
844 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
845 |
// フォームがあれば最前面へ |
|
846 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
847 |
if (frm != null) |
|
848 |
{ |
|
849 |
frm.Activate(); |
|
850 |
return; |
|
851 |
} |
|
852 |
|
|
853 |
// 請求入力起動 |
|
854 |
frm = new FrmRequestInput(); |
|
855 |
// クロースドハンドラをこちらで定義する |
|
856 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
857 |
|
|
858 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
859 |
, m_ConstructionCode |
|
860 |
, s_CurrentProcessNo |
|
861 |
, m_EditLock |
|
862 |
, this); |
|
863 |
} |
|
864 |
catch (Exception ex) |
|
865 |
{ |
|
866 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
867 |
} |
|
868 |
} |
|
869 |
#endregion |
|
870 |
|
|
871 |
#region 請求印刷 |
|
872 |
/// <summary> |
|
873 |
/// 請求印刷 |
|
874 |
/// </summary> |
|
875 |
/// <param name="sender"></param> |
|
876 |
/// <param name="e"></param> |
|
877 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
878 |
{ |
|
879 |
try |
|
880 |
{ |
|
881 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
882 |
// フォームがあれば最前面へ |
|
883 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
884 |
if (frm != null) |
|
885 |
{ |
|
886 |
frm.Activate(); |
|
887 |
return; |
|
888 |
} |
|
889 |
|
|
890 |
// 請求入力起動 |
|
891 |
frm = new FrmRequestPrintSel(); |
|
892 |
// クロースドハンドラをこちらで定義する |
|
893 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
894 |
|
|
895 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
896 |
, m_ConstructionCode |
|
897 |
, s_CurrentProcessNo |
|
898 |
, this); |
|
899 |
} |
|
900 |
catch (Exception ex) |
|
901 |
{ |
|
902 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
903 |
} |
|
904 |
} |
|
905 |
#endregion |
|
906 |
|
|
832 | 907 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
833 | 908 |
|
834 | 909 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1365 | 1440 |
} |
1366 | 1441 |
#endregion |
1367 | 1442 |
|
1443 |
#region 請求入力のクローズを取得する |
|
1444 |
/// <summary> |
|
1445 |
/// 請求入力のクローズを取得する |
|
1446 |
/// </summary> |
|
1447 |
/// <param name="sender"></param> |
|
1448 |
/// <param name="e"></param> |
|
1449 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1450 |
{ |
|
1451 |
try |
|
1452 |
{ |
|
1453 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1454 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1455 |
bool ThisEnd = frm.ParentEnd; |
|
1456 |
|
|
1457 |
// フォームのクリア |
|
1458 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1459 |
|
|
1460 |
if (ThisEnd) |
|
1461 |
{ |
|
1462 |
// 終了処理OFF |
|
1463 |
m_CloseingProcessOn = false; |
|
1464 |
this.Close(); |
|
1465 |
} |
|
1466 |
else |
|
1467 |
{ |
|
1468 |
UpDateProcessContextMenu(); |
|
1469 |
this.Activate(); |
|
1470 |
} |
|
1471 |
} |
|
1472 |
catch (Exception ex) |
|
1473 |
{ |
|
1474 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1475 |
} |
|
1476 |
} |
|
1477 |
#endregion |
|
1478 |
|
|
1479 |
#region 請求印刷のクローズを取得する |
|
1480 |
/// <summary> |
|
1481 |
/// 請求印刷のクローズを取得する |
|
1482 |
/// </summary> |
|
1483 |
/// <param name="sender"></param> |
|
1484 |
/// <param name="e"></param> |
|
1485 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1486 |
{ |
|
1487 |
try |
|
1488 |
{ |
|
1489 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1490 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1491 |
|
|
1492 |
// フォームのクリア |
|
1493 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1494 |
|
|
1495 |
UpDateProcessContextMenu(); |
|
1496 |
this.Activate(); |
|
1497 |
} |
|
1498 |
catch (Exception ex) |
|
1499 |
{ |
|
1500 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1501 |
} |
|
1502 |
} |
|
1503 |
#endregion |
|
1504 |
|
|
1368 | 1505 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1369 | 1506 |
} |
1370 | 1507 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedger/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
829 | 831 |
} |
830 | 832 |
#endregion |
831 | 833 |
|
834 |
#region 請求入力 |
|
835 |
/// <summary> |
|
836 |
/// 請求入力 |
|
837 |
/// </summary> |
|
838 |
/// <param name="sender"></param> |
|
839 |
/// <param name="e"></param> |
|
840 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
841 |
{ |
|
842 |
try |
|
843 |
{ |
|
844 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
845 |
// フォームがあれば最前面へ |
|
846 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
847 |
if (frm != null) |
|
848 |
{ |
|
849 |
frm.Activate(); |
|
850 |
return; |
|
851 |
} |
|
852 |
|
|
853 |
// 請求入力起動 |
|
854 |
frm = new FrmRequestInput(); |
|
855 |
// クロースドハンドラをこちらで定義する |
|
856 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
857 |
|
|
858 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
859 |
, m_ConstructionCode |
|
860 |
, s_CurrentProcessNo |
|
861 |
, m_EditLock |
|
862 |
, this); |
|
863 |
} |
|
864 |
catch (Exception ex) |
|
865 |
{ |
|
866 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
867 |
} |
|
868 |
} |
|
869 |
#endregion |
|
870 |
|
|
871 |
#region 請求印刷 |
|
872 |
/// <summary> |
|
873 |
/// 請求印刷 |
|
874 |
/// </summary> |
|
875 |
/// <param name="sender"></param> |
|
876 |
/// <param name="e"></param> |
|
877 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
878 |
{ |
|
879 |
try |
|
880 |
{ |
|
881 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
882 |
// フォームがあれば最前面へ |
|
883 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
884 |
if (frm != null) |
|
885 |
{ |
|
886 |
frm.Activate(); |
|
887 |
return; |
|
888 |
} |
|
889 |
|
|
890 |
// 請求入力起動 |
|
891 |
frm = new FrmRequestPrintSel(); |
|
892 |
// クロースドハンドラをこちらで定義する |
|
893 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
894 |
|
|
895 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
896 |
, m_ConstructionCode |
|
897 |
, s_CurrentProcessNo |
|
898 |
, this); |
|
899 |
} |
|
900 |
catch (Exception ex) |
|
901 |
{ |
|
902 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
903 |
} |
|
904 |
} |
|
905 |
#endregion |
|
906 |
|
|
832 | 907 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
833 | 908 |
|
834 | 909 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1365 | 1440 |
} |
1366 | 1441 |
#endregion |
1367 | 1442 |
|
1443 |
#region 請求入力のクローズを取得する |
|
1444 |
/// <summary> |
|
1445 |
/// 請求入力のクローズを取得する |
|
1446 |
/// </summary> |
|
1447 |
/// <param name="sender"></param> |
|
1448 |
/// <param name="e"></param> |
|
1449 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1450 |
{ |
|
1451 |
try |
|
1452 |
{ |
|
1453 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1454 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1455 |
bool ThisEnd = frm.ParentEnd; |
|
1456 |
|
|
1457 |
// フォームのクリア |
|
1458 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1459 |
|
|
1460 |
if (ThisEnd) |
|
1461 |
{ |
|
1462 |
// 終了処理OFF |
|
1463 |
m_CloseingProcessOn = false; |
|
1464 |
this.Close(); |
|
1465 |
} |
|
1466 |
else |
|
1467 |
{ |
|
1468 |
UpDateProcessContextMenu(); |
|
1469 |
this.Activate(); |
|
1470 |
} |
|
1471 |
} |
|
1472 |
catch (Exception ex) |
|
1473 |
{ |
|
1474 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1475 |
} |
|
1476 |
} |
|
1477 |
#endregion |
|
1478 |
|
|
1479 |
#region 請求印刷のクローズを取得する |
|
1480 |
/// <summary> |
|
1481 |
/// 請求印刷のクローズを取得する |
|
1482 |
/// </summary> |
|
1483 |
/// <param name="sender"></param> |
|
1484 |
/// <param name="e"></param> |
|
1485 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1486 |
{ |
|
1487 |
try |
|
1488 |
{ |
|
1489 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1490 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1491 |
|
|
1492 |
// フォームのクリア |
|
1493 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1494 |
|
|
1495 |
UpDateProcessContextMenu(); |
|
1496 |
this.Activate(); |
|
1497 |
} |
|
1498 |
catch (Exception ex) |
|
1499 |
{ |
|
1500 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1501 |
} |
|
1502 |
} |
|
1503 |
#endregion |
|
1504 |
|
|
1368 | 1505 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1369 | 1506 |
} |
1370 | 1507 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/ConstructionLedgerList/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
782 | 784 |
} |
783 | 785 |
#endregion |
784 | 786 |
|
787 |
#region 請求入力 |
|
788 |
/// <summary> |
|
789 |
/// 請求入力 |
|
790 |
/// </summary> |
|
791 |
/// <param name="sender"></param> |
|
792 |
/// <param name="e"></param> |
|
793 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
794 |
{ |
|
795 |
try |
|
796 |
{ |
|
797 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
798 |
// フォームがあれば最前面へ |
|
799 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
800 |
if (frm != null) |
|
801 |
{ |
|
802 |
frm.Activate(); |
|
803 |
return; |
|
804 |
} |
|
805 |
|
|
806 |
// 請求入力起動 |
|
807 |
frm = new FrmRequestInput(); |
|
808 |
// クロースドハンドラをこちらで定義する |
|
809 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
810 |
|
|
811 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
812 |
, m_ConstructionCode |
|
813 |
, s_CurrentProcessNo |
|
814 |
, m_EditLock |
|
815 |
, this); |
|
816 |
} |
|
817 |
catch (Exception ex) |
|
818 |
{ |
|
819 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
820 |
} |
|
821 |
} |
|
822 |
#endregion |
|
823 |
|
|
824 |
#region 請求印刷 |
|
825 |
/// <summary> |
|
826 |
/// 請求印刷 |
|
827 |
/// </summary> |
|
828 |
/// <param name="sender"></param> |
|
829 |
/// <param name="e"></param> |
|
830 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
831 |
{ |
|
832 |
try |
|
833 |
{ |
|
834 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
835 |
// フォームがあれば最前面へ |
|
836 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
837 |
if (frm != null) |
|
838 |
{ |
|
839 |
frm.Activate(); |
|
840 |
return; |
|
841 |
} |
|
842 |
|
|
843 |
// 請求入力起動 |
|
844 |
frm = new FrmRequestPrintSel(); |
|
845 |
// クロースドハンドラをこちらで定義する |
|
846 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
847 |
|
|
848 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
849 |
, m_ConstructionCode |
|
850 |
, s_CurrentProcessNo |
|
851 |
, this); |
|
852 |
} |
|
853 |
catch (Exception ex) |
|
854 |
{ |
|
855 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
856 |
} |
|
857 |
} |
|
858 |
#endregion |
|
859 |
|
|
785 | 860 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
786 | 861 |
|
787 | 862 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1311 | 1386 |
} |
1312 | 1387 |
#endregion |
1313 | 1388 |
|
1389 |
#region 請求入力のクローズを取得する |
|
1390 |
/// <summary> |
|
1391 |
/// 請求入力のクローズを取得する |
|
1392 |
/// </summary> |
|
1393 |
/// <param name="sender"></param> |
|
1394 |
/// <param name="e"></param> |
|
1395 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1396 |
{ |
|
1397 |
try |
|
1398 |
{ |
|
1399 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1400 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1401 |
bool ThisEnd = frm.ParentEnd; |
|
1402 |
|
|
1403 |
// フォームのクリア |
|
1404 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1405 |
|
|
1406 |
if (ThisEnd) |
|
1407 |
{ |
|
1408 |
// 終了処理OFF |
|
1409 |
m_CloseingProcessOn = false; |
|
1410 |
this.Close(); |
|
1411 |
} |
|
1412 |
else |
|
1413 |
{ |
|
1414 |
UpDateProcessContextMenu(); |
|
1415 |
this.Activate(); |
|
1416 |
} |
|
1417 |
} |
|
1418 |
catch (Exception ex) |
|
1419 |
{ |
|
1420 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1421 |
} |
|
1422 |
} |
|
1423 |
#endregion |
|
1424 |
|
|
1425 |
#region 請求印刷のクローズを取得する |
|
1426 |
/// <summary> |
|
1427 |
/// 請求印刷のクローズを取得する |
|
1428 |
/// </summary> |
|
1429 |
/// <param name="sender"></param> |
|
1430 |
/// <param name="e"></param> |
|
1431 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1432 |
{ |
|
1433 |
try |
|
1434 |
{ |
|
1435 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1436 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1437 |
|
|
1438 |
// フォームのクリア |
|
1439 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1440 |
|
|
1441 |
UpDateProcessContextMenu(); |
|
1442 |
this.Activate(); |
|
1443 |
} |
|
1444 |
catch (Exception ex) |
|
1445 |
{ |
|
1446 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1447 |
} |
|
1448 |
} |
|
1449 |
#endregion |
|
1450 |
|
|
1314 | 1451 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1315 | 1452 |
} |
1316 | 1453 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/DRConstruction/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
829 | 831 |
} |
830 | 832 |
#endregion |
831 | 833 |
|
834 |
#region 請求入力 |
|
835 |
/// <summary> |
|
836 |
/// 請求入力 |
|
837 |
/// </summary> |
|
838 |
/// <param name="sender"></param> |
|
839 |
/// <param name="e"></param> |
|
840 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
841 |
{ |
|
842 |
try |
|
843 |
{ |
|
844 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
845 |
// フォームがあれば最前面へ |
|
846 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
847 |
if (frm != null) |
|
848 |
{ |
|
849 |
frm.Activate(); |
|
850 |
return; |
|
851 |
} |
|
852 |
|
|
853 |
// 請求入力起動 |
|
854 |
frm = new FrmRequestInput(); |
|
855 |
// クロースドハンドラをこちらで定義する |
|
856 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
857 |
|
|
858 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
859 |
, m_ConstructionCode |
|
860 |
, s_CurrentProcessNo |
|
861 |
, m_EditLock |
|
862 |
, this); |
|
863 |
} |
|
864 |
catch (Exception ex) |
|
865 |
{ |
|
866 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
867 |
} |
|
868 |
} |
|
869 |
#endregion |
|
870 |
|
|
871 |
#region 請求印刷 |
|
872 |
/// <summary> |
|
873 |
/// 請求印刷 |
|
874 |
/// </summary> |
|
875 |
/// <param name="sender"></param> |
|
876 |
/// <param name="e"></param> |
|
877 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
878 |
{ |
|
879 |
try |
|
880 |
{ |
|
881 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
882 |
// フォームがあれば最前面へ |
|
883 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
884 |
if (frm != null) |
|
885 |
{ |
|
886 |
frm.Activate(); |
|
887 |
return; |
|
888 |
} |
|
889 |
|
|
890 |
// 請求入力起動 |
|
891 |
frm = new FrmRequestPrintSel(); |
|
892 |
// クロースドハンドラをこちらで定義する |
|
893 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
894 |
|
|
895 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
896 |
, m_ConstructionCode |
|
897 |
, s_CurrentProcessNo |
|
898 |
, this); |
|
899 |
} |
|
900 |
catch (Exception ex) |
|
901 |
{ |
|
902 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
903 |
} |
|
904 |
} |
|
905 |
#endregion |
|
906 |
|
|
832 | 907 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
833 | 908 |
|
834 | 909 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1364 | 1439 |
} |
1365 | 1440 |
#endregion |
1366 | 1441 |
|
1442 |
#region 請求入力のクローズを取得する |
|
1443 |
/// <summary> |
|
1444 |
/// 請求入力のクローズを取得する |
|
1445 |
/// </summary> |
|
1446 |
/// <param name="sender"></param> |
|
1447 |
/// <param name="e"></param> |
|
1448 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1449 |
{ |
|
1450 |
try |
|
1451 |
{ |
|
1452 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1453 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1454 |
bool ThisEnd = frm.ParentEnd; |
|
1455 |
|
|
1456 |
// フォームのクリア |
|
1457 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1458 |
|
|
1459 |
if (ThisEnd) |
|
1460 |
{ |
|
1461 |
// 終了処理OFF |
|
1462 |
m_CloseingProcessOn = false; |
|
1463 |
this.Close(); |
|
1464 |
} |
|
1465 |
else |
|
1466 |
{ |
|
1467 |
UpDateProcessContextMenu(); |
|
1468 |
this.Activate(); |
|
1469 |
} |
|
1470 |
} |
|
1471 |
catch (Exception ex) |
|
1472 |
{ |
|
1473 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1474 |
} |
|
1475 |
} |
|
1476 |
#endregion |
|
1477 |
|
|
1478 |
#region 請求印刷のクローズを取得する |
|
1479 |
/// <summary> |
|
1480 |
/// 請求印刷のクローズを取得する |
|
1481 |
/// </summary> |
|
1482 |
/// <param name="sender"></param> |
|
1483 |
/// <param name="e"></param> |
|
1484 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1485 |
{ |
|
1486 |
try |
|
1487 |
{ |
|
1488 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1489 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1490 |
|
|
1491 |
// フォームのクリア |
|
1492 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1493 |
|
|
1494 |
UpDateProcessContextMenu(); |
|
1495 |
this.Activate(); |
|
1496 |
} |
|
1497 |
catch (Exception ex) |
|
1498 |
{ |
|
1499 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1500 |
} |
|
1501 |
} |
|
1502 |
#endregion |
|
1503 |
|
|
1367 | 1504 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1368 | 1505 |
} |
1369 | 1506 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateBudget/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
829 | 831 |
} |
830 | 832 |
#endregion |
831 | 833 |
|
834 |
#region 請求入力 |
|
835 |
/// <summary> |
|
836 |
/// 請求入力 |
|
837 |
/// </summary> |
|
838 |
/// <param name="sender"></param> |
|
839 |
/// <param name="e"></param> |
|
840 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
841 |
{ |
|
842 |
try |
|
843 |
{ |
|
844 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
845 |
// フォームがあれば最前面へ |
|
846 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
847 |
if (frm != null) |
|
848 |
{ |
|
849 |
frm.Activate(); |
|
850 |
return; |
|
851 |
} |
|
852 |
|
|
853 |
// 請求入力起動 |
|
854 |
frm = new FrmRequestInput(); |
|
855 |
// クロースドハンドラをこちらで定義する |
|
856 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
857 |
|
|
858 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
859 |
, m_ConstructionCode |
|
860 |
, s_CurrentProcessNo |
|
861 |
, m_EditLock |
|
862 |
, this); |
|
863 |
} |
|
864 |
catch (Exception ex) |
|
865 |
{ |
|
866 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
867 |
} |
|
868 |
} |
|
869 |
#endregion |
|
870 |
|
|
871 |
#region 請求印刷 |
|
872 |
/// <summary> |
|
873 |
/// 請求印刷 |
|
874 |
/// </summary> |
|
875 |
/// <param name="sender"></param> |
|
876 |
/// <param name="e"></param> |
|
877 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
878 |
{ |
|
879 |
try |
|
880 |
{ |
|
881 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
882 |
// フォームがあれば最前面へ |
|
883 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
884 |
if (frm != null) |
|
885 |
{ |
|
886 |
frm.Activate(); |
|
887 |
return; |
|
888 |
} |
|
889 |
|
|
890 |
// 請求入力起動 |
|
891 |
frm = new FrmRequestPrintSel(); |
|
892 |
// クロースドハンドラをこちらで定義する |
|
893 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
894 |
|
|
895 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
896 |
, m_ConstructionCode |
|
897 |
, s_CurrentProcessNo |
|
898 |
, this); |
|
899 |
} |
|
900 |
catch (Exception ex) |
|
901 |
{ |
|
902 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
903 |
} |
|
904 |
} |
|
905 |
#endregion |
|
906 |
|
|
832 | 907 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
833 | 908 |
|
834 | 909 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1364 | 1439 |
} |
1365 | 1440 |
#endregion |
1366 | 1441 |
|
1442 |
#region 請求入力のクローズを取得する |
|
1443 |
/// <summary> |
|
1444 |
/// 請求入力のクローズを取得する |
|
1445 |
/// </summary> |
|
1446 |
/// <param name="sender"></param> |
|
1447 |
/// <param name="e"></param> |
|
1448 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1449 |
{ |
|
1450 |
try |
|
1451 |
{ |
|
1452 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1453 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1454 |
bool ThisEnd = frm.ParentEnd; |
|
1455 |
|
|
1456 |
// フォームのクリア |
|
1457 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1458 |
|
|
1459 |
if (ThisEnd) |
|
1460 |
{ |
|
1461 |
// 終了処理OFF |
|
1462 |
m_CloseingProcessOn = false; |
|
1463 |
this.Close(); |
|
1464 |
} |
|
1465 |
else |
|
1466 |
{ |
|
1467 |
UpDateProcessContextMenu(); |
|
1468 |
this.Activate(); |
|
1469 |
} |
|
1470 |
} |
|
1471 |
catch (Exception ex) |
|
1472 |
{ |
|
1473 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1474 |
} |
|
1475 |
} |
|
1476 |
#endregion |
|
1477 |
|
|
1478 |
#region 請求印刷のクローズを取得する |
|
1479 |
/// <summary> |
|
1480 |
/// 請求印刷のクローズを取得する |
|
1481 |
/// </summary> |
|
1482 |
/// <param name="sender"></param> |
|
1483 |
/// <param name="e"></param> |
|
1484 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1485 |
{ |
|
1486 |
try |
|
1487 |
{ |
|
1488 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1489 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1490 |
|
|
1491 |
// フォームのクリア |
|
1492 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1493 |
|
|
1494 |
UpDateProcessContextMenu(); |
|
1495 |
this.Activate(); |
|
1496 |
} |
|
1497 |
catch (Exception ex) |
|
1498 |
{ |
|
1499 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1500 |
} |
|
1501 |
} |
|
1502 |
#endregion |
|
1503 |
|
|
1367 | 1504 |
#endregion // ---------- 他プロセス終了ハンドラ群 END |
1368 | 1505 |
} |
1369 | 1506 |
} |
trunk/src/ProcessManagement/ProcessManagement/Forms/DataEntry/EstimateInput/ProcessControl.cs | ||
---|---|---|
134 | 134 |
case (int)ClsExcute.ProcessExecuteNo.MaterialReturnEntry: // 27:資材返却 |
135 | 135 |
handle = ProcessExecute_MaterialReturn; |
136 | 136 |
break; |
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 ----- 未実装 |
|
137 |
case (int)ClsExcute.ProcessExecuteNo.RequestInput: // 31:請求入力 |
|
138 |
handle = ProcessExecute_RequestInput; |
|
138 | 139 |
break; |
139 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 ----- 未実装 |
|
140 |
case (int)ClsExcute.ProcessExecuteNo.RequestPrint: // 32:請求書印刷 |
|
141 |
handle = ProcessExecute_RequestPrint; |
|
140 | 142 |
break; |
141 | 143 |
} |
142 | 144 |
// 起動関数のセットが無ければ処理しない |
... | ... | |
829 | 831 |
} |
830 | 832 |
#endregion |
831 | 833 |
|
834 |
#region 請求入力 |
|
835 |
/// <summary> |
|
836 |
/// 請求入力 |
|
837 |
/// </summary> |
|
838 |
/// <param name="sender"></param> |
|
839 |
/// <param name="e"></param> |
|
840 |
private void ProcessExecute_RequestInput(object sender, EventArgs e) |
|
841 |
{ |
|
842 |
try |
|
843 |
{ |
|
844 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
845 |
// フォームがあれば最前面へ |
|
846 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
847 |
if (frm != null) |
|
848 |
{ |
|
849 |
frm.Activate(); |
|
850 |
return; |
|
851 |
} |
|
852 |
|
|
853 |
// 請求入力起動 |
|
854 |
frm = new FrmRequestInput(); |
|
855 |
// クロースドハンドラをこちらで定義する |
|
856 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestInputClosed); |
|
857 |
|
|
858 |
ClsOtherProc.ProcExec_RequestInput(ref frm |
|
859 |
, m_ConstructionCode |
|
860 |
, s_CurrentProcessNo |
|
861 |
, m_EditLock |
|
862 |
, this); |
|
863 |
} |
|
864 |
catch (Exception ex) |
|
865 |
{ |
|
866 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
867 |
} |
|
868 |
} |
|
869 |
#endregion |
|
870 |
|
|
871 |
#region 請求印刷 |
|
872 |
/// <summary> |
|
873 |
/// 請求印刷 |
|
874 |
/// </summary> |
|
875 |
/// <param name="sender"></param> |
|
876 |
/// <param name="e"></param> |
|
877 |
private void ProcessExecute_RequestPrint(object sender, EventArgs e) |
|
878 |
{ |
|
879 |
try |
|
880 |
{ |
|
881 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
882 |
// フォームがあれば最前面へ |
|
883 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
884 |
if (frm != null) |
|
885 |
{ |
|
886 |
frm.Activate(); |
|
887 |
return; |
|
888 |
} |
|
889 |
|
|
890 |
// 請求入力起動 |
|
891 |
frm = new FrmRequestPrintSel(); |
|
892 |
// クロースドハンドラをこちらで定義する |
|
893 |
frm.FormClosed += new FormClosedEventHandler(FrmRequestPrintClosed); |
|
894 |
|
|
895 |
ClsOtherProc.ProcExec_RequestPrint(ref frm |
|
896 |
, m_ConstructionCode |
|
897 |
, s_CurrentProcessNo |
|
898 |
, this); |
|
899 |
} |
|
900 |
catch (Exception ex) |
|
901 |
{ |
|
902 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
903 |
} |
|
904 |
} |
|
905 |
#endregion |
|
906 |
|
|
832 | 907 |
#endregion // ---------- 他プロセス起動ハンドラ群 END |
833 | 908 |
|
834 | 909 |
#region // ---------- 他プロセス終了ハンドラ群 START |
... | ... | |
1364 | 1439 |
} |
1365 | 1440 |
#endregion |
1366 | 1441 |
|
1442 |
#region 請求入力のクローズを取得する |
|
1443 |
/// <summary> |
|
1444 |
/// 請求入力のクローズを取得する |
|
1445 |
/// </summary> |
|
1446 |
/// <param name="sender"></param> |
|
1447 |
/// <param name="e"></param> |
|
1448 |
private void FrmRequestInputClosed(object sender, FormClosedEventArgs e) |
|
1449 |
{ |
|
1450 |
try |
|
1451 |
{ |
|
1452 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestInput; |
|
1453 |
FrmRequestInput frm = (FrmRequestInput)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1454 |
bool ThisEnd = frm.ParentEnd; |
|
1455 |
|
|
1456 |
// フォームのクリア |
|
1457 |
ClsOtherProc.ProcFormClose(ProcessNo); |
|
1458 |
|
|
1459 |
if (ThisEnd) |
|
1460 |
{ |
|
1461 |
// 終了処理OFF |
|
1462 |
m_CloseingProcessOn = false; |
|
1463 |
this.Close(); |
|
1464 |
} |
|
1465 |
else |
|
1466 |
{ |
|
1467 |
UpDateProcessContextMenu(); |
|
1468 |
this.Activate(); |
|
1469 |
} |
|
1470 |
} |
|
1471 |
catch (Exception ex) |
|
1472 |
{ |
|
1473 |
logger.ErrorFormat("システムエラー:{0}:{1}", CommonMotions.GetMethodName(), ex.Message); |
|
1474 |
} |
|
1475 |
} |
|
1476 |
#endregion |
|
1477 |
|
|
1478 |
#region 請求印刷のクローズを取得する |
|
1479 |
/// <summary> |
|
1480 |
/// 請求印刷のクローズを取得する |
|
1481 |
/// </summary> |
|
1482 |
/// <param name="sender"></param> |
|
1483 |
/// <param name="e"></param> |
|
1484 |
private void FrmRequestPrintClosed(object sender, FormClosedEventArgs e) |
|
1485 |
{ |
|
1486 |
try |
|
1487 |
{ |
|
1488 |
int ProcessNo = (int)ClsExcute.ProcessExecuteNo.RequestPrint; |
|
1489 |
FrmRequestPrintSel frm = (FrmRequestPrintSel)ClsExcute.SubFormHandleList[ProcessNo].SubFormHandle; |
|
1490 |
|
他の形式にエクスポート: Unified diff