Cäptin Pommes
Erfahrenes Mitglied
ich C++CLI kann schon stimmen, ... ist so ne WinForms anwendung
Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
Wie auch immer, ohne den relevanten Code wird dir niemand helfen können.
#pragma once
namespace VocabelTrainer {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Zusammenfassung für NeueListe
/// </summary>
public ref class NeueListe : public System::Windows::Forms::Form
{
public:
NeueListe(void)
{
InitializeComponent();
//
//TODO: Konstruktorcode hier hinzufügen.
//
liste = new list<string>();
}
protected:
/// <summary>
/// Verwendete Ressourcen bereinigen.
/// </summary>
~NeueListe()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::TextBox^ textBox1;
protected:
private: System::Windows::Forms::TextBox^ textBox2;
private: System::Windows::Forms::TextBox^ textBox3;
private: System::Windows::Forms::TextBox^ textBox4;
private: System::Windows::Forms::TextBox^ textBox5;
private: System::Windows::Forms::TextBox^ textBox6;
private: System::Windows::Forms::TextBox^ textBox1_1;
private: System::Windows::Forms::TextBox^ textBox2_2;
private: System::Windows::Forms::TextBox^ textBox3_3;
private: System::Windows::Forms::TextBox^ textBox4_4;
private: System::Windows::Forms::TextBox^ textBox5_5;
private: System::Windows::Forms::TextBox^ textBox6_6;
private: System::Windows::Forms::Label^ label1;
private: System::Windows::Forms::Label^ label2;
private: System::Windows::Forms::Button^ more_adden;
private: System::Windows::Forms::Button^ save;
private: System::Windows::Forms::Label^ label3;
private:
/// <summary>
/// Erforderliche Designervariable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Erforderliche Methode für die Designerunterstützung.
/// Der Inhalt der Methode darf nicht mit dem Code-Editor geändert werden.
/// </summary>
void InitializeComponent(void)
{
this->textBox1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2 = (gcnew System::Windows::Forms::TextBox());
this->textBox3 = (gcnew System::Windows::Forms::TextBox());
this->textBox4 = (gcnew System::Windows::Forms::TextBox());
this->textBox5 = (gcnew System::Windows::Forms::TextBox());
this->textBox6 = (gcnew System::Windows::Forms::TextBox());
this->textBox1_1 = (gcnew System::Windows::Forms::TextBox());
this->textBox2_2 = (gcnew System::Windows::Forms::TextBox());
this->textBox3_3 = (gcnew System::Windows::Forms::TextBox());
this->textBox4_4 = (gcnew System::Windows::Forms::TextBox());
this->textBox5_5 = (gcnew System::Windows::Forms::TextBox());
this->textBox6_6 = (gcnew System::Windows::Forms::TextBox());
this->label1 = (gcnew System::Windows::Forms::Label());
this->label2 = (gcnew System::Windows::Forms::Label());
this->more_adden = (gcnew System::Windows::Forms::Button());
this->save = (gcnew System::Windows::Forms::Button());
this->label3 = (gcnew System::Windows::Forms::Label());
this->SuspendLayout();
//
// textBox1
//
this->textBox1->Location = System::Drawing::Point(12, 57);
this->textBox1->Name = L"textBox1";
this->textBox1->Size = System::Drawing::Size(100, 20);
this->textBox1->TabIndex = 0;
//
// textBox2
//
this->textBox2->Location = System::Drawing::Point(12, 83);
this->textBox2->Name = L"textBox2";
this->textBox2->Size = System::Drawing::Size(100, 20);
this->textBox2->TabIndex = 1;
//
// textBox3
//
this->textBox3->Location = System::Drawing::Point(12, 109);
this->textBox3->Name = L"textBox3";
this->textBox3->Size = System::Drawing::Size(100, 20);
this->textBox3->TabIndex = 2;
//
// textBox4
//
this->textBox4->Location = System::Drawing::Point(12, 135);
this->textBox4->Name = L"textBox4";
this->textBox4->Size = System::Drawing::Size(100, 20);
this->textBox4->TabIndex = 3;
//
// textBox5
//
this->textBox5->Location = System::Drawing::Point(12, 161);
this->textBox5->Name = L"textBox5";
this->textBox5->Size = System::Drawing::Size(100, 20);
this->textBox5->TabIndex = 4;
//
// textBox6
//
this->textBox6->Location = System::Drawing::Point(12, 187);
this->textBox6->Name = L"textBox6";
this->textBox6->Size = System::Drawing::Size(100, 20);
this->textBox6->TabIndex = 5;
//
// textBox1_1
//
this->textBox1_1->Location = System::Drawing::Point(172, 57);
this->textBox1_1->Name = L"textBox1_1";
this->textBox1_1->Size = System::Drawing::Size(100, 20);
this->textBox1_1->TabIndex = 6;
//
// textBox2_2
//
this->textBox2_2->Location = System::Drawing::Point(172, 83);
this->textBox2_2->Name = L"textBox2_2";
this->textBox2_2->Size = System::Drawing::Size(100, 20);
this->textBox2_2->TabIndex = 7;
//
// textBox3_3
//
this->textBox3_3->Location = System::Drawing::Point(172, 109);
this->textBox3_3->Name = L"textBox3_3";
this->textBox3_3->Size = System::Drawing::Size(100, 20);
this->textBox3_3->TabIndex = 8;
//
// textBox4_4
//
this->textBox4_4->Location = System::Drawing::Point(172, 135);
this->textBox4_4->Name = L"textBox4_4";
this->textBox4_4->Size = System::Drawing::Size(100, 20);
this->textBox4_4->TabIndex = 9;
//
// textBox5_5
//
this->textBox5_5->Location = System::Drawing::Point(172, 161);
this->textBox5_5->Name = L"textBox5_5";
this->textBox5_5->Size = System::Drawing::Size(100, 20);
this->textBox5_5->TabIndex = 10;
//
// textBox6_6
//
this->textBox6_6->Location = System::Drawing::Point(172, 187);
this->textBox6_6->Name = L"textBox6_6";
this->textBox6_6->Size = System::Drawing::Size(100, 20);
this->textBox6_6->TabIndex = 11;
//
// label1
//
this->label1->AutoSize = true;
this->label1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label1->Location = System::Drawing::Point(7, 29);
this->label1->Name = L"label1";
this->label1->Size = System::Drawing::Size(91, 25);
this->label1->TabIndex = 12;
this->label1->Text = L"Deutsch";
//
// label2
//
this->label2->AutoSize = true;
this->label2->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 15.75F, System::Drawing::FontStyle::Regular, System::Drawing::GraphicsUnit::Point,
static_cast<System::Byte>(0)));
this->label2->Location = System::Drawing::Point(167, 29);
this->label2->Name = L"label2";
this->label2->Size = System::Drawing::Size(94, 25);
this->label2->TabIndex = 13;
this->label2->Text = L"Englisch";
//
// more_adden
//
this->more_adden->Location = System::Drawing::Point(12, 227);
this->more_adden->Name = L"more_adden";
this->more_adden->Size = System::Drawing::Size(100, 23);
this->more_adden->TabIndex = 14;
this->more_adden->Text = L"mehr Hinzufügen";
this->more_adden->UseVisualStyleBackColor = true;
this->more_adden->Click += gcnew System::EventHandler(this, &NeueListe::more_adden_Click);
//
// save
//
this->save->Location = System::Drawing::Point(172, 227);
this->save->Name = L"save";
this->save->Size = System::Drawing::Size(100, 23);
this->save->TabIndex = 15;
this->save->Text = L"Speichern";
this->save->UseVisualStyleBackColor = true;
//
// label3
//
this->label3->Location = System::Drawing::Point(92, 9);
this->label3->Name = L"label3";
this->label3->Size = System::Drawing::Size(100, 23);
this->label3->TabIndex = 16;
this->label3->Text = L"test";
this->label3->TextAlign = System::Drawing::ContentAlignment::MiddleCenter;
//
// NeueListe
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(284, 262);
this->Controls->Add(this->label3);
this->Controls->Add(this->save);
this->Controls->Add(this->more_adden);
this->Controls->Add(this->label2);
this->Controls->Add(this->label1);
this->Controls->Add(this->textBox6_6);
this->Controls->Add(this->textBox5_5);
this->Controls->Add(this->textBox4_4);
this->Controls->Add(this->textBox3_3);
this->Controls->Add(this->textBox2_2);
this->Controls->Add(this->textBox1_1);
this->Controls->Add(this->textBox6);
this->Controls->Add(this->textBox5);
this->Controls->Add(this->textBox4);
this->Controls->Add(this->textBox3);
this->Controls->Add(this->textBox2);
this->Controls->Add(this->textBox1);
this->Name = L"NeueListe";
this->Text = L"Neue Liste";
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: System::Void more_adden_Click(System::Object^ sender, System::EventArgs^ e)
{
}
};
}
Sorry :--(, habe schon lange nicht mehr mit list programmiert, deshalb hatte ich es wohl vergessen.@ComFreek: Gibt es aber, siehe Link. Obgleich es sicher fraglich ist, ob der Threadersteller bewusst diesen Container gewählt hat.