mirror of
https://github.com/rvtr/TwlToolsRED.git
synced 2025-10-31 06:41:18 -04:00
マスタエディタ:アクティブになっているタブによって提出確認書への出力がおかしくなるバグを修正。TADをライトした後もう一度ライトすると失敗するバグを修正。
git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/TwlToolsRED@81 7061adef-622a-194b-ae81-725974e89856
This commit is contained in:
parent
42243ecebf
commit
9844e96500
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -237,7 +237,7 @@ System::String^ Form1::setDeliverableRatingOgnProperties( System::Windows::Forms
|
||||
System::String ^str;
|
||||
if( this->cboxIsUnnecessaryRating->Checked )
|
||||
{
|
||||
if( box->Visible )
|
||||
if( box->FlatStyle == System::Windows::Forms::FlatStyle::Standard )
|
||||
{
|
||||
str = System::String::Copy( box->Text ); // テキスト入力可になっているので取得できるはず
|
||||
}
|
||||
|
||||
@ -56,7 +56,11 @@ System::Boolean Form1::saveRom( System::String ^outfile )
|
||||
// 一時ファイルにSRLを書き出しているのでその一時ファイルから出力ファイルを作成
|
||||
System::String ^tmpsrl = this->getSplitTadTmpFilename();
|
||||
result = this->saveSrl( tmpsrl, outfile );
|
||||
System::IO::File::Delete( tmpsrl );
|
||||
if( result )
|
||||
{
|
||||
System::IO::File::Delete( tmpsrl );
|
||||
this->IsLoadTad = false; // 出力したSRLが次のソースとなる
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -277,6 +277,11 @@ void Form1::enableRating( System::Windows::Forms::ComboBox ^comb,
|
||||
{
|
||||
lab2->Visible = true;
|
||||
}
|
||||
// 本来は不必要な設定
|
||||
//「レーティング表示不要」でEnableをfalseにするのでリージョンに含まれているのかどうかを知る術がない
|
||||
// (Visibleは親タブが変わると勝手にFalseになってしまう)
|
||||
// そのため無関係な設定を変えることでリージョンに含まれていることを表現する
|
||||
comb->FlatStyle = System::Windows::Forms::FlatStyle::Standard;
|
||||
}
|
||||
|
||||
// ペアレンタルコントロール情報を編集できなくする
|
||||
@ -292,6 +297,7 @@ void Form1::disableRating( System::Windows::Forms::ComboBox ^comb,
|
||||
{
|
||||
lab2->Visible = false;
|
||||
}
|
||||
comb->FlatStyle = System::Windows::Forms::FlatStyle::Popup; // Disableを表現
|
||||
}
|
||||
|
||||
// 「レーティング表示不要」と表示して編集できなくする
|
||||
@ -320,7 +326,7 @@ void Form1::necessaryRating( System::Windows::Forms::ComboBox ^comb, System::Boo
|
||||
{
|
||||
comb->SelectedIndex = -1; // 読み込みの場合にはコンボボックスを初期化しない(せっかく読み込んだ情報を消してしまうため)
|
||||
}
|
||||
comb->Enabled = true; // 編集不可能にする
|
||||
comb->Enabled = true; // 編集可能にする
|
||||
}
|
||||
|
||||
// end of file
|
||||
Binary file not shown.
@ -69,6 +69,28 @@
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20928738">
|
||||
<Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
</Borders>
|
||||
<Font ss:FontName="MS Pゴシック" x:CharSet="128" x:Family="Modern"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20928768">
|
||||
<Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
</Borders>
|
||||
<Font ss:FontName="MS Pゴシック" x:CharSet="128" x:Family="Modern"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20933904">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
@ -1389,17 +1411,6 @@
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20926896">
|
||||
<Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
</Borders>
|
||||
<Font ss:FontName="MS Pゴシック" x:CharSet="128" x:Family="Modern"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20926906">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
@ -1553,17 +1564,6 @@
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20926420">
|
||||
<Alignment ss:Horizontal="Center" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
<Border ss:Position="Bottom" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Right" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
<Border ss:Position="Top" ss:LineStyle="Continuous" ss:Weight="1"/>
|
||||
</Borders>
|
||||
<Font ss:FontName="MS Pゴシック" x:CharSet="128" x:Family="Modern"/>
|
||||
<Interior ss:Color="#FFFFFF" ss:Pattern="Solid"/>
|
||||
<NumberFormat ss:Format="@"/>
|
||||
</Style>
|
||||
<Style ss:ID="m20926430">
|
||||
<Alignment ss:Horizontal="Left" ss:Vertical="Center"/>
|
||||
<Borders>
|
||||
@ -2717,9 +2717,9 @@
|
||||
<Cell ss:StyleID="s22"/>
|
||||
<Cell ss:StyleID="s22"/>
|
||||
<Cell ss:MergeAcross="16" ss:StyleID="m20926400"><Data ss:Type="String">ふりがな</Data></Cell>
|
||||
<Cell ss:MergeAcross="29" ss:StyleID="s52"><Data ss:Type="String">TagFurigana1</Data><NamedCell
|
||||
<Cell ss:MergeAcross="35" ss:StyleID="s52"><Data ss:Type="String">TagFurigana1</Data><NamedCell
|
||||
ss:Name="Furigana1"/></Cell>
|
||||
<Cell ss:MergeAcross="13" ss:MergeDown="1" ss:StyleID="m20926420"><PhoneticText
|
||||
<Cell ss:MergeAcross="7" ss:MergeDown="1" ss:StyleID="m20928738"><PhoneticText
|
||||
xmlns="urn:schemas-microsoft-com:office:excel">イン</PhoneticText><Data
|
||||
ss:Type="String">印</Data></Cell>
|
||||
<Cell ss:MergeAcross="4" ss:StyleID="m20926430"><Data ss:Type="String">TEL</Data></Cell>
|
||||
@ -2733,7 +2733,7 @@
|
||||
<Cell ss:MergeAcross="16" ss:StyleID="m20926562"><PhoneticText
|
||||
xmlns="urn:schemas-microsoft-com:office:excel">ゴシメイ</PhoneticText><Data
|
||||
ss:Type="String">ご氏名</Data></Cell>
|
||||
<Cell ss:MergeAcross="29" ss:StyleID="s120"><Data ss:Type="String">TagPerson1</Data><NamedCell
|
||||
<Cell ss:MergeAcross="35" ss:StyleID="s120"><Data ss:Type="String">TagPerson1</Data><NamedCell
|
||||
ss:Name="Person1"/></Cell>
|
||||
<Cell ss:Index="64" ss:MergeAcross="4" ss:StyleID="m20926582"><Data
|
||||
ss:Type="String">FAX</Data></Cell>
|
||||
@ -2871,9 +2871,9 @@
|
||||
<Cell ss:StyleID="s22"/>
|
||||
<Cell ss:StyleID="s22"/>
|
||||
<Cell ss:MergeAcross="16" ss:StyleID="m20926876"><Data ss:Type="String">ふりがな</Data></Cell>
|
||||
<Cell ss:MergeAcross="29" ss:StyleID="s52"><Data ss:Type="String">TagFurigana2</Data><NamedCell
|
||||
<Cell ss:MergeAcross="35" ss:StyleID="s52"><Data ss:Type="String">TagFurigana2</Data><NamedCell
|
||||
ss:Name="Furigana2"/></Cell>
|
||||
<Cell ss:MergeAcross="13" ss:MergeDown="1" ss:StyleID="m20926896"><PhoneticText
|
||||
<Cell ss:MergeAcross="7" ss:MergeDown="1" ss:StyleID="m20928768"><PhoneticText
|
||||
xmlns="urn:schemas-microsoft-com:office:excel">イン</PhoneticText><Data
|
||||
ss:Type="String">印</Data></Cell>
|
||||
<Cell ss:MergeAcross="4" ss:StyleID="m20926906"><Data ss:Type="String">TEL</Data></Cell>
|
||||
@ -2887,7 +2887,7 @@
|
||||
<Cell ss:MergeAcross="16" ss:StyleID="m20926926"><PhoneticText
|
||||
xmlns="urn:schemas-microsoft-com:office:excel">ゴシメイ</PhoneticText><Data
|
||||
ss:Type="String">ご氏名</Data></Cell>
|
||||
<Cell ss:MergeAcross="29" ss:StyleID="s120"><Data ss:Type="String">TagPerson2</Data><NamedCell
|
||||
<Cell ss:MergeAcross="35" ss:StyleID="s120"><Data ss:Type="String">TagPerson2</Data><NamedCell
|
||||
ss:Name="Person2"/></Cell>
|
||||
<Cell ss:Index="64" ss:MergeAcross="4" ss:StyleID="m20926946"><Data
|
||||
ss:Type="String">FAX</Data></Cell>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user