Witam, chciałbym prosić o pomoc z moją aplikacją. Tworze aplikacje, która ma sumować ilość kilogramów mięsa np. kurczaka i sumować wartość netto. Np. filet z kurczaka 20kg wartość netto 300 zł. Na zdjęciu widać o co chodzi. Tak wygląda kod. Jest przycisk oblicz. Jeśli się da to nie musi go być, ale jak trzeba będzie to niech już zostanie. bardzo proszę o pomoc.!! Jeżeli dałem wątek do złego działu to proszę o przeniesienie.
#pragma endregion
private: System::Void MyForm_Load(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void textBox1_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void textBox73_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void btn2_Click(System::Object^ sender, System::EventArgs^ e) {
this->Close();
}
private: System::Void textBox80_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void okienkoToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
MyForm::FormBorderStyle = System::Windows::Forms::FormBorderStyle::FixedDialog;
}
private: System::Void przypnijToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
MyForm::FormBorderStyle = System::Windows::Forms::FormBorderStyle::None;
TopMost = true;
}
private: System::Void zakończToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
if (MessageBox::Show("Czy wyłączyć kalkulator?", "Kalkulator", MessageBoxButtons::YesNo, MessageBoxIcon::Question) == System::Windows::Forms::DialogResult::Yes) {
Application::Exit();
}
}
private: System::Void pomocToolStripMenuItem_Click(System::Object^ sender, System::EventArgs^ e) {
Pomoc^ Onas = gcnew Pomoc();
Onas->Show();
}
private: System::Void txt5_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void txt6_TextChanged(System::Object^ sender, System::EventArgs^ e) {
}
private: System::Void KGoblicz_Click(System::Object^ sender, System::EventArgs^ e) {
}
};
}