Beispiel #1
0
        /// <summary>
        /// 选择矿点
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnSelectMine_BuyFuel_Click(object sender, EventArgs e)
        {
            FrmMine_Select frm = new FrmMine_Select("where IsUse='1' order by Name asc");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.txtMineName_BuyFuel.Text = frm.Output.Name;
            }
        }
        private void btnSelectSupplier_BuyFuel_Click(object sender, EventArgs e)
        {
            FrmMine_Select frm = new FrmMine_Select("where IsStop=0 order by Name asc");

            if (frm.ShowDialog() == DialogResult.OK)
            {
                this.SelectedSupplier_BuyFuel = frm.Output;
            }
        }
        private void BtnMine_Click(object sender, EventArgs e)
        {
            FrmMine_Select Frm = new FrmMine_Select(string.Empty);

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                this.CmcsMine = Frm.Output;
            }
        }
Beispiel #4
0
        private void BtnMine_Click(object sender, EventArgs e)
        {
            FrmMine_Select Frm = new FrmMine_Select("where Valid='有效' and parentId is not null order by Name asc");

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                this.SelectedMine_BuyFuel = Frm.Output;
            }
        }
        private void BtnMine_Click(object sender, EventArgs e)
        {
            FrmMine_Select Frm = new FrmMine_Select("where Id!='-1' and IsStop=0");

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                this.CmcsMine = Frm.Output;
            }
        }
        private void BtnMine_Click(object sender, EventArgs e)
        {
            FrmMine_Select Frm = new FrmMine_Select();

            Frm.ShowDialog();
            if (Frm.DialogResult == DialogResult.OK)
            {
                cmcsMine = Frm.Output;
                this.txt_MineName.Text = Frm.Output.Name;
            }
        }