Rabu, 30 September 2015

Topic : residence I have hotel special


Residence I have hotel special

Swiss-Belhotel Lagoi Bay is a 4 star hotel, ideally located in the prime tropical beach resort and commercial development area of Lagoi Bay, along the picturesque beachfront. Only 15 minutes from Bandar Bentan Telani ferry terminal, and 45 minutes from Singapore by ferry. The hotel is next to Plaza Lagoi Mall, a centre of modern lifestyle stores, various culinary outlets and entertainment venues. Swiss-Belhotel Lagoi Bay is a wondrous place to explore, experience and enjoy Bintan Island.

Swiss-Belhotel Lagoi Bay features 195 guestrooms including Deluxe, Grand Deluxe, Junior Suites and Executive Suite in a modern contemporary design. The hotel provides a comprehensive array of accommodation and meeting facilities to ensure a truly welcoming feeling for both business and leisure travellers.

The hotel's array of guest services and facilities include roof top swimming pool, kid’s club, 24 hour in-room dining, laundry and dry cleaning, spacious parking area and valet service. Swiss-Belhotel Lagoi Bay Bintan also provides a complimentary shuttle service from Bandar Bentan Telani Ferry Terminal to the hotel.

My experience of a luxurious international buffet featuring the cuisine of Asia and Indonesia in the Switzerland Cafe.

Eight meeting rooms with the capacity for up to 400 guests are provided to accommodate any business or private functions in Lagoi Bay, Bintan. Each room is fully equipped with modern meeting facilities; it’s an ideal place to host meetings or private parties.

Minggu, 14 Juni 2015

KOMUNIKASI INTERNET

Assalammualaikum.wr.wb

Jumpa lagi dengan saya agus waluyo, terima kasih telah berkunjung di blog saya semoga bermanfaat bagi anda yang membacanya, kali ini saya akan menjelaskan tentang komunikasi internet.

Baiklah langsung saja ,
1. pertama kali buka microsoft visual studio atau aplikasi sharpdevelop atau visual studio c#
2. buat solution baru
3. pilih windows application, beri nama file dan tempat penyimpanan. kemudian klik create.
4. setelah muncul, pilih design
5. setelah muncul lembar kerja, kita bisa mengedit tampilan sesuai selera kita sendiri, caranya adalah pilih windows forms disebelah kiri kemudian pilih control type yang digunakan sesuai kebutuhan dengan cara diseret ke layoutnya, propertesnya bisa diganti sesuai yg kita inginkan propertienya di sebelah kanan.
contoh type yang saya gunakan:  

1 button  
1 TextBox 
1 RichTextBox 

6. setelah kita membuat design, mari kita buat programnya:












design yang saya buat

saat diraningkan





Minggu, 17 Mei 2015

Menghidupkan 3 buah lampu LED

Assalammualaikum.wr.wb

Jumpa lagi dengan saya agus waluyo, terima kasih telah berkunjung di blog saya semoga bermanfaat bagi anda yang membacanya, kali ini saya akan menjelaskan tentang menghidupkan 3 buah lampu LED.



Baiklah langsung saja ,
1. pertama kali buka microsoft visual studio atau aplikasi sharpdevelop atau visual studio c#
2. buat solution baru
3. pilih windows application, beri nama file dan tempat penyimpanan. kemudian klik create.
4. setelah muncul, pilih design
5. setelah muncul lembar kerja, kita bisa mengedit tampilan sesuai selera kita sendiri, caranya adalah pilih windows forms disebelah kiri kemudian pilih control type yang digunakan sesuai kebutuhan dengan cara diseret ke layoutnya, propertesnya bisa diganti sesuai yg kita inginkan propertienya di sebelah kanan.
contoh type yang saya gunakan:  

10 button  
3 pictureBox
7 label 
4 commboBox
2 serialpoart

 

6. setelah kita membuat design, mari kita buat programnya:
 program pada from1:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace tugas_IX
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
           
        }

        private void button7_Click(object sender, EventArgs e)
        {
            serialPort1.PortName = comboBox1.Text;
            serialPort1.BaudRate = Convert.ToInt16(comboBox2.Text);
            serialPort1.Open();
            button8.Enabled = true;
            button7.Enabled = false;
        }

        private void button8_Click(object sender, EventArgs e)
        {
            if (serialPort1.IsOpen)
            {
                serialPort1.Close();
                button7.Enabled = true;
                button8.Enabled = false;
            }
            else
            {
                MessageBox.Show("maaf blum konnect");
            }
        }

        private void button1_Click(object sender, EventArgs e)
        {
            serialPort1.Write("0");
            button1.Enabled = false;
            button2.Enabled = true;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            serialPort1.Write("1");
            button1.Enabled = true;
            button2.Enabled = false;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            serialPort1.Write("2");
            button3.Enabled = false;
            button4.Enabled = true;
        }

        private void button4_Click(object sender, EventArgs e)
        {
            serialPort1.Write("3");
            button3.Enabled = true;
            button4.Enabled = false;
        }

        private void button5_Click(object sender, EventArgs e)
        {
            serialPort1.Write("4");
            button5.Enabled = false;
            button6.Enabled = true;
        }

        private void button6_Click(object sender, EventArgs e)
        {
            serialPort1.Write("5");
            button5.Enabled = true;
            button6.Enabled = false;
        }
    }
}
 

Program pada from2:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        string a;
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            serialPort1.PortName = comboBox1.Text;
            serialPort1.BaudRate = Convert.ToInt16(comboBox2.Text);
            serialPort1.Open();
            button2.Enabled = true;
            button1.Enabled = false;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            if (serialPort1.IsOpen)
            {
                serialPort1.Close();
                button1.Enabled = true;
                button2.Enabled = false;
            }
            else
            {
                MessageBox.Show("maaf blum konnect");
            }
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            if (textBox1.Text == "0")
            {
                pictureBox1.Image = WindowsFormsApplication1.Resource1.kuning;
                textBox1.Clear();
            }
            else if (textBox1.Text == "1")
            {
                pictureBox1.Image = WindowsFormsApplication1.Resource1._15;
                textBox1.Clear();
            }
            else if (textBox1.Text == "2")
            {
                pictureBox2.Image = WindowsFormsApplication1.Resource1.kuning;
                textBox1.Clear();
            }
            else if (textBox1.Text == "3")
            {
                pictureBox2.Image = WindowsFormsApplication1.Resource1._15;
                textBox1.Clear();
            }
            else if (textBox1.Text == "4")
            {
                pictureBox3.Image = WindowsFormsApplication1.Resource1.kuning;
                textBox1.Clear();
            }
            else if (textBox1.Text == "5")
            {
                pictureBox3.Image = WindowsFormsApplication1.Resource1._15;
                textBox1.Clear();
            }
        }

        private void serialPort1_DataReceived(object sender, System.IO.Ports.SerialDataReceivedEventArgs e)
        {
            a = serialPort1.ReadExisting();
            this.Invoke(new EventHandler(dp));
        }
        public void dp(object sender, EventArgs e)
        {
            textBox1.AppendText(a);
        }
    }
}



Design:


Pada saat off lampu berwarna hujau:

Saat di on kan lampu berwarna kuning:

bisa juga liat di:
https://www.youtube.com/watch?v=4ckRhsE0dJc&feature=youtu.be