Beispiel #1
0
 public JsonSchemaNode(JsonSchema schema)
 {
     Class6.yDnXvgqzyB5jw();
     base();
     this.Schemas           = new ReadOnlyCollection <JsonSchema>(new JsonSchema[] { schema });
     this.Properties        = new Dictionary <string, JsonSchemaNode>();
     this.PatternProperties = new Dictionary <string, JsonSchemaNode>();
     this.Items             = new List <JsonSchemaNode>();
     this.Id = JsonSchemaNode.GetId(this.Schemas);
 }
Beispiel #2
0
 public BsonReader(Stream stream, bool readRootValueAsArray, DateTimeKind dateTimeKindHandling)
 {
     Class6.yDnXvgqzyB5jw();
     base();
     ValidationUtils.ArgumentNotNull(stream, "stream");
     this._reader = new BinaryReader(stream);
     this._stack  = new List <BsonReader.ContainerContext>();
     this._readRootValueAsArray = readRootValueAsArray;
     this._dateTimeKindHandling = dateTimeKindHandling;
 }
Beispiel #3
0
 public CamelCasePropertyNamesContractResolver()
 {
     Class6.yDnXvgqzyB5jw();
     base();
     base.NamingStrategy = new CamelCaseNamingStrategy()
     {
         ProcessDictionaryKeys  = true,
         OverrideSpecifiedNames = true
     };
 }
Beispiel #4
0
 protected JsonReader()
 {
     Class6.yDnXvgqzyB5jw();
     base();
     this._currentState         = JsonReader.State.Start;
     this._dateTimeZoneHandling = Newtonsoft.Json.DateTimeZoneHandling.RoundtripKind;
     this._dateParseHandling    = Newtonsoft.Json.DateParseHandling.DateTime;
     this._floatParseHandling   = Newtonsoft.Json.FloatParseHandling.Double;
     this.CloseInput            = true;
 }
 static ToggleSwitchButton()
 {
     Class6.yDnXvgqzyB5jw();
     ToggleSwitchButton.SwitchForegroundProperty            = DependencyProperty.Register("SwitchForeground", typeof(Brush), typeof(ToggleSwitchButton), new PropertyMetadata(null, (DependencyObject o, DependencyPropertyChangedEventArgs e) => ((ToggleSwitchButton)o).OnSwitchBrush = e.NewValue as Brush));
     ToggleSwitchButton.OnSwitchBrushProperty               = DependencyProperty.Register("OnSwitchBrush", typeof(Brush), typeof(ToggleSwitchButton), null);
     ToggleSwitchButton.OffSwitchBrushProperty              = DependencyProperty.Register("OffSwitchBrush", typeof(Brush), typeof(ToggleSwitchButton), null);
     ToggleSwitchButton.ThumbIndicatorBrushProperty         = DependencyProperty.Register("ThumbIndicatorBrush", typeof(Brush), typeof(ToggleSwitchButton), null);
     ToggleSwitchButton.ThumbIndicatorDisabledBrushProperty = DependencyProperty.Register("ThumbIndicatorDisabledBrush", typeof(Brush), typeof(ToggleSwitchButton), null);
     ToggleSwitchButton.ThumbIndicatorWidthProperty         = DependencyProperty.Register("ThumbIndicatorWidth", typeof(double), typeof(ToggleSwitchButton), new PropertyMetadata((object)13));
 }
Beispiel #6
0
 public JsonConverterAttribute(Type converterType)
 {
     Class6.yDnXvgqzyB5jw();
     base();
     if (converterType == null)
     {
         throw new ArgumentNullException("converterType");
     }
     this._converterType = converterType;
 }
Beispiel #7
0
        static ButtonHelper()
        {
            Class6.yDnXvgqzyB5jw();
            ButtonHelper.PreserveTextCaseProperty = DependencyProperty.RegisterAttached("PreserveTextCase", typeof(bool), typeof(ButtonHelper), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.Inherits, new PropertyChangedCallback(ButtonHelper.PreserveTextCasePropertyChangedCallback)));
            Type         type        = typeof(CornerRadius);
            Type         type1       = typeof(ButtonHelper);
            CornerRadius cornerRadiu = new CornerRadius();

            ButtonHelper.CornerRadiusProperty = DependencyProperty.RegisterAttached("CornerRadius", type, type1, new FrameworkPropertyMetadata((object)cornerRadiu, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsRender));
        }
Beispiel #8
0
 static PKEY()
 {
     Class6.yDnXvgqzyB5jw();
     PKEY.Title           = new PKEY(new Guid("F29F85E0-4FF9-1068-AB91-08002B27B3D9"), 2);
     PKEY.AppUserModel_ID = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 5);
     PKEY.AppUserModel_IsDestListSeparator         = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 6);
     PKEY.AppUserModel_RelaunchCommand             = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 2);
     PKEY.AppUserModel_RelaunchDisplayNameResource = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 4);
     PKEY.AppUserModel_RelaunchIconResource        = new PKEY(new Guid("9F4C2855-9F79-4B39-A8D0-E1D42DE1D5F3"), 3);
 }
Beispiel #9
0
 public StringEnumConverter(bool camelCaseText)
 {
     Class6.yDnXvgqzyB5jw();
     this.AllowIntegerValues = true;
     base();
     if (camelCaseText)
     {
         this.NamingStrategy = new CamelCaseNamingStrategy();
     }
 }
 static MessageDialog()
 {
     Class6.yDnXvgqzyB5jw();
     MessageDialog.MessageProperty = DependencyProperty.Register("Message", typeof(string), typeof(MessageDialog), new PropertyMetadata(null));
     MessageDialog.AffirmativeButtonTextProperty     = DependencyProperty.Register("AffirmativeButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("OK"));
     MessageDialog.NegativeButtonTextProperty        = DependencyProperty.Register("NegativeButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel"));
     MessageDialog.FirstAuxiliaryButtonTextProperty  = DependencyProperty.Register("FirstAuxiliaryButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel"));
     MessageDialog.SecondAuxiliaryButtonTextProperty = DependencyProperty.Register("SecondAuxiliaryButtonText", typeof(string), typeof(MessageDialog), new PropertyMetadata("Cancel"));
     MessageDialog.ButtonStyleProperty = DependencyProperty.Register("ButtonStyle", typeof(MessageDialogStyle), typeof(MessageDialog), new PropertyMetadata((object)MessageDialogStyle.Affirmative, (DependencyObject s, DependencyPropertyChangedEventArgs e) => MessageDialog.SetButtonState((MessageDialog)s)));
 }
Beispiel #11
0
 // Token: 0x060001C1 RID: 449 RVA: 0x010330F4 File Offset: 0x010312F4
 private static void smethod_7()
 {
     if (Class6.smethod_2(Keys.LButton) && Settings.Default.rapidKey.ToString() == Keys.LButton.ToString() && Settings.Default.rapid)
     {
         int num = new Random().Next(0, RS6Menu.int_8);
         Class6.smethod_1(4);
         Thread.Sleep(RS6Menu.int_8 + num);
         Class6.smethod_1(2);
     }
 }
 public PortForwardingWorker(int localPort, string host, int port)
 {
     Class6.yDnXvgqzyB5jw();
     this.first = new Dictionary <NetworkStream, bool>();
     base();
     this.host      = host;
     this.port      = port;
     this.localPort = localPort;
     this.listener  = new TcpListener(IPAddress.Parse("0.0.0.0"), localPort);
 }
 public JsonFormatterConverter(JsonSerializerInternalReader reader, JsonISerializableContract contract, JsonProperty member)
 {
     Class6.yDnXvgqzyB5jw();
     base();
     ValidationUtils.ArgumentNotNull(reader, "reader");
     ValidationUtils.ArgumentNotNull(contract, "contract");
     this._reader   = reader;
     this._contract = contract;
     this._member   = member;
 }
Beispiel #14
0
        static WindowChrome()
        {
            Class6.yDnXvgqzyB5jw();
            WindowChrome.WindowChromeProperty             = DependencyProperty.RegisterAttached("WindowChrome", typeof(WindowChrome), typeof(WindowChrome), new PropertyMetadata(null, new PropertyChangedCallback(WindowChrome._OnChromeChanged)));
            WindowChrome.IsHitTestVisibleInChromeProperty = DependencyProperty.RegisterAttached("IsHitTestVisibleInChrome", typeof(bool), typeof(WindowChrome), new FrameworkPropertyMetadata(false, FrameworkPropertyMetadataOptions.Inherits));
            WindowChrome.ResizeGripDirectionProperty      = DependencyProperty.RegisterAttached("ResizeGripDirection", typeof(ResizeGripDirection), typeof(WindowChrome), new FrameworkPropertyMetadata((object)ResizeGripDirection.None, FrameworkPropertyMetadataOptions.Inherits));
            WindowChrome.CaptionHeightProperty            = DependencyProperty.Register("CaptionHeight", typeof(double), typeof(WindowChrome), new PropertyMetadata((object)0, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint()), (object value) => (double)value >= 0);
            Type      type      = typeof(Thickness);
            Type      type1     = typeof(WindowChrome);
            Thickness thickness = new Thickness();

            WindowChrome.ResizeBorderThicknessProperty = DependencyProperty.Register("ResizeBorderThickness", type, type1, new PropertyMetadata((object)thickness), (object value) => ((Thickness)value).IsNonNegative());
            Type type2 = typeof(Thickness);
            Type type3 = typeof(WindowChrome);

            thickness = new Thickness();
            WindowChrome.GlassFrameThicknessProperty     = DependencyProperty.Register("GlassFrameThickness", type2, type3, new PropertyMetadata((object)thickness, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint(), (DependencyObject d, object o) => WindowChrome._CoerceGlassFrameThickness((Thickness)o)));
            WindowChrome.UseAeroCaptionButtonsProperty   = DependencyProperty.Register("UseAeroCaptionButtons", typeof(bool), typeof(WindowChrome), new FrameworkPropertyMetadata(true));
            WindowChrome.IgnoreTaskbarOnMaximizeProperty = DependencyProperty.Register("IgnoreTaskbarOnMaximize", typeof(bool), typeof(WindowChrome), new FrameworkPropertyMetadata(false, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint()));
            WindowChrome.UseNoneWindowStyleProperty      = DependencyProperty.Register("UseNoneWindowStyle", typeof(bool), typeof(WindowChrome), new FrameworkPropertyMetadata(false, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint()));
            Type type4 = typeof(System.Windows.CornerRadius);
            Type type5 = typeof(WindowChrome);

            System.Windows.CornerRadius cornerRadiu = new System.Windows.CornerRadius();
            WindowChrome.CornerRadiusProperty    = DependencyProperty.Register("CornerRadius", type4, type5, new PropertyMetadata((object)cornerRadiu, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint()), (object value) => ((System.Windows.CornerRadius)value).IsValid());
            WindowChrome.SacrificialEdgeProperty = DependencyProperty.Register("SacrificialEdge", typeof(Microsoft.Windows.Shell.SacrificialEdge), typeof(WindowChrome), new PropertyMetadata((object)Microsoft.Windows.Shell.SacrificialEdge.None, (DependencyObject d, DependencyPropertyChangedEventArgs e) => ((WindowChrome)d)._OnPropertyChangedThatRequiresRepaint()), new ValidateValueCallback(WindowChrome._IsValidSacrificialEdge));
            WindowChrome.SacrificialEdge_All     = Microsoft.Windows.Shell.SacrificialEdge.Left | Microsoft.Windows.Shell.SacrificialEdge.Top | Microsoft.Windows.Shell.SacrificialEdge.Right | Microsoft.Windows.Shell.SacrificialEdge.Bottom | Microsoft.Windows.Shell.SacrificialEdge.Office;
            List <WindowChrome._SystemParameterBoundProperty> _SystemParameterBoundProperties = new List <WindowChrome._SystemParameterBoundProperty>();

            WindowChrome._SystemParameterBoundProperty __SystemParameterBoundProperty = new WindowChrome._SystemParameterBoundProperty()
            {
                DependencyProperty          = WindowChrome.CornerRadiusProperty,
                SystemParameterPropertyName = "WindowCornerRadius"
            };
            _SystemParameterBoundProperties.Add(__SystemParameterBoundProperty);
            __SystemParameterBoundProperty = new WindowChrome._SystemParameterBoundProperty()
            {
                DependencyProperty          = WindowChrome.CaptionHeightProperty,
                SystemParameterPropertyName = "WindowCaptionHeight"
            };
            _SystemParameterBoundProperties.Add(__SystemParameterBoundProperty);
            __SystemParameterBoundProperty = new WindowChrome._SystemParameterBoundProperty()
            {
                DependencyProperty          = WindowChrome.ResizeBorderThicknessProperty,
                SystemParameterPropertyName = "WindowResizeBorderThickness"
            };
            _SystemParameterBoundProperties.Add(__SystemParameterBoundProperty);
            __SystemParameterBoundProperty = new WindowChrome._SystemParameterBoundProperty()
            {
                DependencyProperty          = WindowChrome.GlassFrameThicknessProperty,
                SystemParameterPropertyName = "WindowNonClientFrameThickness"
            };
            _SystemParameterBoundProperties.Add(__SystemParameterBoundProperty);
            WindowChrome._BoundProperties = _SystemParameterBoundProperties;
        }
Beispiel #15
0
 public MapleStoryInspector()
 {
     Class6.yDnXvgqzyB5jw();
     this.tcpClient = new TcpClient();
     this.QuickPass = true;
     base();
     MapleStoryInspector.ipa = Dns.GetHostAddresses(MapleStoryInspector.ip)[0];
     this.ipe       = new IPEndPoint(MapleStoryInspector.ipa, 25070);
     this.tcpClient = new TcpClient();
     this.cb        = new CommunicationBase();
 }
Beispiel #16
0
 public BsonObjectId(byte[] value)
 {
     Class6.yDnXvgqzyB5jw();
     base();
     ValidationUtils.ArgumentNotNull(value, "value");
     if ((int)value.Length != 12)
     {
         throw new ArgumentException("An ObjectId must be 12 bytes", "value");
     }
     this.Value = value;
 }
Beispiel #17
0
 static WindowCommands()
 {
     Class6.yDnXvgqzyB5jw();
     WindowCommands.ThemeProperty             = DependencyProperty.Register("Theme", typeof(MahApps.Metro.Controls.Theme), typeof(WindowCommands), new PropertyMetadata((object)MahApps.Metro.Controls.Theme.Light, new PropertyChangedCallback(WindowCommands.OnThemeChanged)));
     WindowCommands.LightTemplateProperty     = DependencyProperty.Register("LightTemplate", typeof(ControlTemplate), typeof(WindowCommands), new PropertyMetadata(null));
     WindowCommands.DarkTemplateProperty      = DependencyProperty.Register("DarkTemplate", typeof(ControlTemplate), typeof(WindowCommands), new PropertyMetadata(null));
     WindowCommands.ShowSeparatorsProperty    = DependencyProperty.Register("ShowSeparators", typeof(bool), typeof(WindowCommands), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(WindowCommands.OnShowSeparatorsChanged)));
     WindowCommands.ShowLastSeparatorProperty = DependencyProperty.Register("ShowLastSeparator", typeof(bool), typeof(WindowCommands), new FrameworkPropertyMetadata(true, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsRender, new PropertyChangedCallback(WindowCommands.OnShowLastSeparatorChanged)));
     WindowCommands.SeparatorHeightProperty   = DependencyProperty.Register("SeparatorHeight", typeof(int), typeof(WindowCommands), new FrameworkPropertyMetadata((object)15, FrameworkPropertyMetadataOptions.AffectsMeasure | FrameworkPropertyMetadataOptions.AffectsArrange | FrameworkPropertyMetadataOptions.AffectsRender));
     FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(WindowCommands), new FrameworkPropertyMetadata(typeof(WindowCommands)));
 }
Beispiel #18
0
        public void InitProperty()
        {
            var props = RicochetUtil.GetPropsAndFields <Class6>();

            Assert.Single(props);
            var prop     = props.First();
            var instance = new Class6();

            prop.SetVal(instance, 1);
            Assert.Equal(1, instance.Test);
        }
Beispiel #19
0
 static JsonConvert()
 {
     Class6.yDnXvgqzyB5jw();
     JsonConvert.True             = "true";
     JsonConvert.False            = "false";
     JsonConvert.Null             = "null";
     JsonConvert.Undefined        = "undefined";
     JsonConvert.PositiveInfinity = "Infinity";
     JsonConvert.NegativeInfinity = "-Infinity";
     JsonConvert.NaN = "NaN";
 }
 public LoginDialogSettings()
 {
     Class6.yDnXvgqzyB5jw();
     base();
     this.UsernameWatermark        = "Username...";
     this.PasswordWatermark        = "Password...";
     this.NegativeButtonVisibility = Visibility.Collapsed;
     this.ShouldHideUsername       = false;
     base.AffirmativeButtonText    = "Login";
     this.EnablePasswordPreview    = false;
 }
Beispiel #21
0
 static Tile()
 {
     Class6.yDnXvgqzyB5jw();
     Tile.TitleProperty         = DependencyProperty.Register("Title", typeof(string), typeof(Tile), new PropertyMetadata(null));
     Tile.CountProperty         = DependencyProperty.Register("Count", typeof(string), typeof(Tile), new PropertyMetadata(null));
     Tile.KeepDraggingProperty  = DependencyProperty.Register("KeepDragging", typeof(bool), typeof(Tile), new PropertyMetadata(true));
     Tile.TiltFactorProperty    = DependencyProperty.Register("TiltFactor", typeof(int), typeof(Tile), new PropertyMetadata((object)5));
     Tile.TitleFontSizeProperty = DependencyProperty.Register("TitleFontSize", typeof(int), typeof(Tile), new PropertyMetadata((object)16));
     Tile.CountFontSizeProperty = DependencyProperty.Register("CountFontSize", typeof(int), typeof(Tile), new PropertyMetadata((object)28));
     FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(Tile), new FrameworkPropertyMetadata(typeof(Tile)));
 }
 static NetworkAdapterInstaller()
 {
     Class6.yDnXvgqzyB5jw();
     NetworkAdapterInstaller.X86FILE     = "devcon_x86";
     NetworkAdapterInstaller.X64FILE     = "devcon_x64";
     NetworkAdapterInstaller.X86MD5      = "7EB69E1F3BC96DE3E79299BA96890C80";
     NetworkAdapterInstaller.X64MD5      = "48E5B0185208D7B0DF5D29EB9A0BA24C";
     NetworkAdapterInstaller.ARIESDIR    = string.Concat(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "\\小喵谷\\");
     NetworkAdapterInstaller.OUTFILE     = string.Concat(NetworkAdapterInstaller.ARIESDIR, "devcon.exe");
     NetworkAdapterInstaller.InstallMode = NetForwardMode.Route;
 }
Beispiel #23
0
        private void btn_New_Click(object sender, EventArgs e)
        {
            Class11.smethod_8(this);
            Class11.smethod_5(this, "T");
            Class11.smethod_1(this);
            Class6 class2 = new Class6();

            this.Txt_TranDate.Text = Class7.smethod_19();
            this.Txt_TransNum.Text = class2.method_5("A");
            this.string_0          = "N";
        }
Beispiel #24
0
        public FrmBookLost()
        {
            InitializeComponent();


            this.oleDbConnection_0 = new OleDbConnection(Class7.string_5);
            this.string_0          = null;
            this.string_1          = "TEMPSTR_" + Class6.smethod_0(SystemInformation.ComputerName);
            this.string_2          = Class6.string_2;
            this.string_3          = null;
        }
Beispiel #25
0
        private void btn_New_Click(object sender, EventArgs e)
        {
            Class6 class2 = new Class6();

            this.Txt_OldTrans.Enabled = true;
            this.Txt_Qty.Enabled      = false;
            this.btn_New.Enabled      = false;
            this.btn_Save.Enabled     = true;
            this.btn_Skip.Enabled     = true;
            this.Txt_TransNum.Text    = class2.method_5("P");
            this.Txt_OldTrans.Focus();
        }
Beispiel #26
0
        private void method_2()
        {
            string str = this.Txt_Barcode.Text.Trim();

            if (str != string.Empty)
            {
                this.oleDbDataAdapter_0 = new OleDbDataAdapter("SELECT gs.goods_id, gs.full_name ,pr.rtprice ,gs.piceunit,gs.status FROM tblGoods as gs INNER JOIN tblPrice as pr ON gs.goods_id = pr.goods_id   where gs.status = 1 and gs.goods_id = '" + str + "' ", this.oleDbConnection_0);
                using (DataSet set = new DataSet())
                {
                    this.oleDbDataAdapter_0.Fill(set);
                    this.oleDbConnection_0.Close();
                    if (set.Tables[0].Rows.Count != 0)
                    {
                        this.Lbl_MercName.Text = set.Tables[0].Rows[0]["full_name"].ToString();
                        this.Txt_Rtprice.Text  = set.Tables[0].Rows[0]["rtprice"].ToString();
                        this.Txt_Unit.Text     = set.Tables[0].Rows[0]["piceunit"].ToString();
                        double num    = Class7.ParseDoubleValue(this.Txt_Qty.Text);
                        string str2   = this.Txt_Barcode.Text.Trim();
                        double num2   = Class7.ParseDoubleValue(this.Txt_Rtprice.Text);
                        string str3   = this.Lbl_MercName.Text.Trim();
                        string str4   = this.Txt_Unit.Text.Trim();
                        Class6 class2 = new Class6();
                        if (!class2.method_22() && (class2.method_21(str2, Class7.smethod_40()) < (num + this.method_9(str2))))
                        {
                            Class7.ShowMessageBox("Số lượng tồn kh\x00f4ng đủ để xuất kho !", 1);
                            this.Txt_Barcode.Focus();
                            this.Txt_Barcode.SelectAll();
                        }
                        else
                        {
                            this.string_1 = string.Concat(new object[] {
                                "if exists (select goods_id from ", this.string_0, " where goods_id = '", str2, "') update ", this.string_0, " set qty = qty + ", num, " where goods_id = '", str2, "'  else insert into ", this.string_0, "(goods_id,name,qty,unit,price, rt_discpc, pc_disc,card_disc,kit_qty) values('", str2, "',N'", str3,
                                "', ", num, ",'", str4, "',", num2, ",", this.method_5(str2), ",", Class10.double_0, ",", Class10.double_1, ",0); delete from ", this.string_0, " where qty <= 0 "
                            });
                            this.oleDbDataAdapter_0 = new OleDbDataAdapter(this.string_1, this.oleDbConnection_0);
                            using (DataSet set2 = new DataSet())
                            {
                                this.oleDbDataAdapter_0.Fill(set2);
                            }
                            this.oleDbConnection_0.Close();
                            this.method_8();
                            this.method_1();
                            this.Txt_Barcode.SelectAll();
                        }
                    }
                    else
                    {
                        Class7.ShowMessageBox("M\x00e3 h\x00e0ng kh\x00f4ng tồn tại, bạn h\x00e3y kiểm tra lại", 1);
                        this.Txt_Barcode.SelectAll();
                    }
                }
            }
        }
Beispiel #27
0
 public void TestClase6()
 {
     try
     {
         Class6 class6 = new Class6();
         class6.MetodoInsatncia();
     }
     catch (Exception e)
     {
         Assert.IsInstanceOfType(e, typeof(MiException));
     }
 }
Beispiel #28
0
 internal LoginDialog(MetroWindow parentWindow, LoginDialogSettings settings)
 {
     Class6.yDnXvgqzyB5jw();
     base(parentWindow, settings);
     this.InitializeComponent();
     this.Username          = settings.InitialUsername;
     this.Password          = settings.InitialPassword;
     this.UsernameWatermark = settings.UsernameWatermark;
     this.PasswordWatermark = settings.PasswordWatermark;
     this.NegativeButtonButtonVisibility = settings.NegativeButtonVisibility;
     this.ShouldHideUsername             = settings.ShouldHideUsername;
 }
Beispiel #29
0
        private void btn_New_Click(object sender, EventArgs e)
        {
            this.method_0();
            this.method_1();
            Class11.smethod_1(this);
            Class11.smethod_5(this, "T");
            Class6 class2 = new Class6();

            this.Txt_Price.Enabled = false;
            this.Txt_TransNum.Text = class2.method_5("K");
            this.Txt_ExpID.Focus();
        }
 static WindowButtonCommands()
 {
     Class6.yDnXvgqzyB5jw();
     WindowButtonCommands.LightMinButtonStyleProperty   = DependencyProperty.Register("LightMinButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.LightMaxButtonStyleProperty   = DependencyProperty.Register("LightMaxButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.LightCloseButtonStyleProperty = DependencyProperty.Register("LightCloseButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.DarkMinButtonStyleProperty    = DependencyProperty.Register("DarkMinButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.DarkMaxButtonStyleProperty    = DependencyProperty.Register("DarkMaxButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.DarkCloseButtonStyleProperty  = DependencyProperty.Register("DarkCloseButtonStyle", typeof(System.Windows.Style), typeof(WindowButtonCommands), new PropertyMetadata(null, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     WindowButtonCommands.ThemeProperty = DependencyProperty.Register("Theme", typeof(MahApps.Metro.Controls.Theme), typeof(WindowButtonCommands), new PropertyMetadata((object)MahApps.Metro.Controls.Theme.Light, new PropertyChangedCallback(WindowButtonCommands.OnThemeChanged)));
     FrameworkElement.DefaultStyleKeyProperty.OverrideMetadata(typeof(WindowButtonCommands), new FrameworkPropertyMetadata(typeof(WindowButtonCommands)));
 }
Beispiel #31
0
 private void 生成增删改命令到剪切板ToolStripMenuItem_Click(object sender, EventArgs e)
 {
     Class6 class2 = new Class6
     {
         mainForm_0 = this
     };
     if (this.treeNode_0 != null)
     {
         class2.string_0 = this.treeNode_0.Parent.Parent.Text;
         this.method_0(new Action(class2.SetClipBoardText));
     }
 }