Example #1
0
        public HouseF()
        {
            InitializeComponent();

            initLabels();
            DataTable dt = new DataTable("MajmooeF");

            DataColumn[] dc = new DataColumn[]
            {
                new DataColumn("طبقه"),
                new DataColumn("نوع ملک"),
                new DataColumn("متراژ مفید"),
                new DataColumn("خوابها"),
                new DataColumn("آشپزخانه"),
                new DataColumn("کفپوش")
            };
            dt.Columns.AddRange(dc);
            gridView.DataSource = dt;

            textBox1.Focus();

            price          = new DispatcherTimer();
            price.Tick    += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);
            price.Start();

            WndConfig.setConfiguration(this);
        }
        public ApartmanMaskooniF()
        {
            InitializeComponent();
            textBox1.Focus();

            price          = new DispatcherTimer();
            price.Tick    += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);

            WndConfig.setConfiguration(this);
        }
Example #3
0
        public HouseS(String id)
        {
            InitializeComponent();
            textBox1.Focus();
            setDataGridView(id);

            price          = new DispatcherTimer();
            price.Tick    += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);

            WndConfig.setConfiguration(this);
        }
        public MaghazeF()
        {
            InitializeComponent();

            initLabels();

            textBox1.Focus();

            price          = new DispatcherTimer();
            price.Tick    += new EventHandler(price_Tick);
            price.Interval = TimeSpan.FromSeconds(1);
            price.Start();

            WndConfig.setConfiguration(this);
        }