Apj Neki Ukazov

  • October 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Apj Neki Ukazov as PDF for free.

More details

  • Words: 182
  • Pages: 3
LabelButton2 private: System::Void spremeniButton_Click(System::Object^ sender, System::EventArgs^ e) { label1->Text="Nov napis"; spremeniButton->Enabled=!spremeniButton->Enabled; povrniButton->Enabled=!povrniButton->Enabled; } private: System::Void povrniButton_Click(System::Object^ sender, System::EventArgs^ e) { label1->Text="Originalni napis"; spremeniButton->Enabled=!spremeniButton->Enabled; povrniButton->Enabled=!povrniButton->Enabled; } private: System::Void label1_MouseUp(System::Object^ sender, System::Windows::Forms::MouseEventArgs^ e) { if (e>Button==System::Windows::Forms::MouseButtons::Right) label1->Text="Originalni napis"; else label1->Text="Nov napis"; }

TextBoxLabelButton1 private: System::Void gumbPovrni_Click(System::Object^ sender, System::EventArgs^ e) { textBox1->Text="Lep pozdrav"; gumbPobrisi->Enabled=!gumbPobrisi->Enabled; gumbPovrni->Enabled=!gumbPovrni->Enabled; } private: System::Void gumbPobrisi_Click(System::Object^ sender, System::EventArgs^ e) { textBox1->Text=""; gumbPobrisi->Enabled=!gumbPobrisi->Enabled; gumbPovrni->Enabled=!gumbPovrni->Enabled; } private: System::Void Form1_MouseDown(System::Object^ System::Windows::Forms::MouseEventArgs^ e) { if (e>Button==System::Windows::Forms::MouseButtons::Left) { textBox1->Text="Lep pozdrav"; } else if (e>Button==System::Windows::Forms::MouseButtons::Right) { textBox1->Text=""; } }

sender,

Timer1 private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e) { textBox1->Text=""; stevec=0; //spremenljivka stevec je privatna lastnost forme timer1->Enabled=true; //timer1->Start(); } private: System::Void timer1_Tick(System::Object^ System::EventArgs^ e) {

sender,

//štejemo do 10 Convert::ToString(stevec); if(stevec==10) {timer1->Enabled=false;} //timer1->Stop(); else {textBox1->Text=Convert::ToString(++stevec);} }

ProgressBarTimer2 private: System::Void gumbNalozi_Click(System::Object^ sender, System::EventArgs^ e) { progressBar1->Value=0; textBox1->Text="Nalagam ..."; x=0; timer1->Enabled=true; //timer1->Start(); } private: System::Void timer1_Tick(System::Object^ System::EventArgs^ e) { progressBar1->Value +=1;

sender,

label1->Text="naloženo"; label2->Text=Convert::ToString(++x); label3->Text="%"; if(progressBar1->Value==100) { timer1->Enabled=false; //timer1->Stop(); textBox1->Text="Naloženo!"; } } private: System::Void gumbUstavi_Click(System::Object^ sender, System::EventArgs^ e) { timer1->Enabled=false; textBox1->Text="Ustavljeno"; gumbNadaljuj->Enabled=!gumbNadaljuj->Enabled; gumbUstavi->Enabled=!gumbUstavi->Enabled; }

private: System::Void gumbNadaljuj_Click(System::Object^ sender, System::EventArgs^ e) { if(progressBar1->Value<100) { timer1->Enabled=true; textBox1->Text="Nalagam ..."; } gumbNadaljuj->Enabled=!gumbNadaljuj->Enabled; gumbUstavi->Enabled=!gumbUstavi->Enabled; }

Related Documents

Apj Neki Ukazov
October 2019 6
Apj
April 2020 14
Jobdesc Apj
October 2019 11
Neki To Vole Vruce
June 2020 4